ServerSslConfiguration Constructor (X509Certificate2, Boolean, SslProtocols, Boolean)
Initializes a new instance of the ServerSslConfiguration class with
the specified serverCertificate,
clientCertificateRequired, enabledSslProtocols,
and checkCertificateRevocation.
Namespace:
WebSocketSharp.NetAssembly: C-DEngine (in C-DEngine.dll)
Syntax
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.