TlsStream.AuthenticateAsServerAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Tls.dll (version 7.0.9147)
AuthenticateAsServerAsync(CertificateChain)
Performs TLS negotiation. This Tls
Declaration
public Task AuthenticateAsServerAsync(CertificateChain serverCertificate)
Parameters
Type | Name | Description |
---|---|---|
Certificate |
serverCertificate | Server certificates used for authenticating the server to the client. |
Returns
AuthenticateAsServerAsync(TlsServerSettings)
Performs TLS negotiation. This Tls
Declaration
public Task AuthenticateAsServerAsync(TlsServerSettings settings)
Parameters
Type | Name | Description |
---|---|---|
Tls |
settings | TLS/SSL security settings. |
Returns
AuthenticateAsServerAsync(TlsServerSettings, CancellationToken)
Performs TLS negotiation. This Tls
Declaration
public virtual Task AuthenticateAsServerAsync(TlsServerSettings settings, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Tls |
settings | TLS/SSL security settings. |
Cancellation |
cancellationToken | Cancellation token. |