C-DEngine 5.105

ClientSslConfiguration Constructor (String, X509CertificateCollection, SslProtocols, Boolean)

Initializes a new instance of the ClientSslConfiguration class with the specified targetHost, clientCertificates, enabledSslProtocols, and checkCertificateRevocation.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public ClientSslConfiguration(
	string targetHost,
	X509CertificateCollection clientCertificates,
	SslProtocols enabledSslProtocols,
	bool checkCertificateRevocation
)
Public Sub New ( _
	targetHost As String, _
	clientCertificates As X509CertificateCollection, _
	enabledSslProtocols As SslProtocols, _
	checkCertificateRevocation As Boolean _
)
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.