C-DEngine 5.105

ServerSslConfiguration Constructor (X509Certificate2, Boolean, SslProtocols, Boolean)

Initializes a new instance of the ServerSslConfiguration class with the specified serverCertificate, clientCertificateRequired, enabledSslProtocols, and checkCertificateRevocation.

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

Syntax


public ServerSslConfiguration(
	X509Certificate2 serverCertificate,
	bool clientCertificateRequired,
	SslProtocols enabledSslProtocols,
	bool checkCertificateRevocation
)
Public Sub New ( _
	serverCertificate As X509Certificate2, _
	clientCertificateRequired As Boolean, _
	enabledSslProtocols As SslProtocols, _
	checkCertificateRevocation As Boolean _
)
public:
ServerSslConfiguration(
	X509Certificate2^ serverCertificate, 
	bool^ clientCertificateRequired, 
	SslProtocols^ enabledSslProtocols, 
	bool^ checkCertificateRevocation
)

Parameters

serverCertificate
Type: X509Certificate2
A [X509Certificate2] that represents the certificate used to authenticate the server.
clientCertificateRequired
Type: Boolean
true if the client must supply a certificate for authentication; otherwise, false.
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.