TlsStream.AuthenticateAsServer Method
Namespace: Rebex.Net
Assembly: Rebex.Tls.dll (version 7.0.9119)
AuthenticateAsServer(CertificateChain)
Performs TLS negotiation. This TlsStream will behave as a TLS server. To configure security parameters use the Parameters property.
Declaration
public void AuthenticateAsServer(CertificateChain serverCertificate)
Parameters
Type | Name | Description |
---|---|---|
CertificateChain | serverCertificate | Server certificates used for authenticating the server to the client. |
AuthenticateAsServer(TlsServerSettings)
Performs TLS negotiation. This TlsStream will behave as a TLS server. To configure security parameters use the Parameters property.
Declaration
public virtual void AuthenticateAsServer(TlsServerSettings settings)
Parameters
Type | Name | Description |
---|---|---|
TlsServerSettings | settings | TLS/SSL security settings. |