VaserSSLClient Constructor (String, X509Certificate2Collection, SslProtocols, Boolean) |
Called by clients to authenticate the server and optionally the client in a client-server connection. The authentication process uses the specified certificate collection and SSL protocol.
Namespace: Vaser.ConnectionSettings Assembly: Vaser (in Vaser.dll) Version: 1.1.23.0 (1.1.23.0)
Syntax public VaserSSLClient( string targetHost, X509Certificate2Collection clientCertificates, SslProtocols enabledSslProtocols, bool checkCertificateRevocation )
Parameters
- targetHost
- Type: SystemString
The name of the server that will share this SslStream. - clientCertificates
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2Collection
The X509CertificateCollection that contains client certificates. - enabledSslProtocols
- Type: System.Security.AuthenticationSslProtocols
The SslProtocols value that represents the protocol used for authentication. - checkCertificateRevocation
- Type: SystemBoolean
A Boolean value that specifies whether the certificate revocation list is checked during authentication.
See Also