IMonoSslStream.AuthenticateAsServerAsync Method

Definition

Overloads

AuthenticateAsServerAsync(X509Certificate)
AuthenticateAsServerAsync(X509Certificate, Boolean, SslProtocols, Boolean)

AuthenticateAsServerAsync(X509Certificate)

public:
 System::Threading::Tasks::Task ^ AuthenticateAsServerAsync(System::Security::Cryptography::X509Certificates::X509Certificate ^ serverCertificate);
public System.Threading.Tasks.Task AuthenticateAsServerAsync (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate);
abstract member AuthenticateAsServerAsync : System.Security.Cryptography.X509Certificates.X509Certificate -> System.Threading.Tasks.Task
Public Function AuthenticateAsServerAsync (serverCertificate As X509Certificate) As Task

Parameters

serverCertificate
X509Certificate

Returns

Task

AuthenticateAsServerAsync(X509Certificate, Boolean, SslProtocols, Boolean)

public:
 System::Threading::Tasks::Task ^ AuthenticateAsServerAsync(System::Security::Cryptography::X509Certificates::X509Certificate ^ serverCertificate, bool clientCertificateRequired, System::Security::Authentication::SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
public System.Threading.Tasks.Task AuthenticateAsServerAsync (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
abstract member AuthenticateAsServerAsync : System.Security.Cryptography.X509Certificates.X509Certificate * bool * System.Security.Authentication.SslProtocols * bool -> System.Threading.Tasks.Task
Public Function AuthenticateAsServerAsync (serverCertificate As X509Certificate, clientCertificateRequired As Boolean, enabledSslProtocols As SslProtocols, checkCertificateRevocation As Boolean) As Task

Parameters

serverCertificate
X509Certificate
clientCertificateRequired
Boolean
enabledSslProtocols
SslProtocols
checkCertificateRevocation
Boolean

Returns

Task

Applies to