ClientSslConfiguration Constructor (String, X509CertificateCollection, SslProtocols, Boolean)
Initializes a new instance of the ClientSslConfiguration class with
the specified targetHost, clientCertificates,
enabledSslProtocols, and checkCertificateRevocation.
Namespace:
WebSocketSharp.NetAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public ClientSslConfiguration( string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, bool checkCertificateRevocation )
Parameters
- targetHost
- Type: String
A String that represents the name of the server that shares a secure connection.
- clientCertificates
- Type: X509CertificateCollection
A [X509CertificateCollection] that contains client certificates.
- enabledSslProtocols
- Type: SslProtocols
The [SslProtocols] enum value that represents the protocols used for authentication.
- checkCertificateRevocation
- Type: Boolean
true if the certificate revocation list is checked during authentication; otherwise, false.