IMonoSslStream.AuthenticateAsServer Method

Definition

Overloads

AuthenticateAsServer(X509Certificate)
AuthenticateAsServer(X509Certificate, Boolean, SslProtocols, Boolean)

AuthenticateAsServer(X509Certificate)

public:
 void AuthenticateAsServer(System::Security::Cryptography::X509Certificates::X509Certificate ^ serverCertificate);
public void AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate);
abstract member AuthenticateAsServer : System.Security.Cryptography.X509Certificates.X509Certificate -> unit
Public Sub AuthenticateAsServer (serverCertificate As X509Certificate)

Parameters

serverCertificate
X509Certificate

AuthenticateAsServer(X509Certificate, Boolean, SslProtocols, Boolean)

public:
 void AuthenticateAsServer(System::Security::Cryptography::X509Certificates::X509Certificate ^ serverCertificate, bool clientCertificateRequired, System::Security::Authentication::SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
public void AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
abstract member AuthenticateAsServer : System.Security.Cryptography.X509Certificates.X509Certificate * bool * System.Security.Authentication.SslProtocols * bool -> unit
Public Sub AuthenticateAsServer (serverCertificate As X509Certificate, clientCertificateRequired As Boolean, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean)

Parameters

serverCertificate
X509Certificate
clientCertificateRequired
Boolean
enabledSslProtocols
SslProtocols
checkCertificateRevocation
Boolean

Applies to