Click or drag to resize

VaserSSLServer Constructor (X509Certificate2, Boolean, SslProtocols, Boolean)

Used by servers to authenticate the server and optionally the client in a client-server connection using the specified certificates, requirements and security protocol.

Namespace:  Vaser.ConnectionSettings
Assembly:  Vaser (in Vaser.dll) Version: 1.1.23.0 (1.1.23.0)
Syntax
C#
public VaserSSLServer( 	X509Certificate2 serverCertificate, 	bool clientCertificateRequired, 	SslProtocols enabledSslProtocols, 	bool checkCertificateRevocation )

Parameters

serverCertificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
The X509Certificate used to authenticate the server.
clientCertificateRequired
Type: SystemBoolean
A Boolean value that specifies whether the client is asked for a certificate for authentication. Note that this is only a request -- if no certificate is provided, the server still accepts the connection request.
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