Method
AuthenticateAsServer
func AuthenticateAsServer(options: SslServerAuthenticationOptions, cancellationToken: CancellationToken = default) -> Task<Result<void, SslError>>
Declaring type: SslStream
Module: System.Networking.Security
Assembly: System.Networking.dll
Source file: SslStream.rvn
Authenticates as a server using an owned certificate chain and private key. Cancellation after starting aborts the session; no client certificate is requested.
Parameters
| Name | Type | Description |
|---|---|---|
options |
SslServerAuthenticationOptions | |
cancellationToken |
CancellationToken |