SkyWay Unity SDK
公式APIリファレンス
読み取り中…
検索中…
一致する文字列を見つけられません
WebSocketSharp.Net.ServerSslConfiguration クラス

Stores the parameters for SslStream instances used by a server. [詳解]

公開メンバ関数

 ServerSslConfiguration ()
 Initializes a new instance of the ServerSslConfiguration class.
 
 ServerSslConfiguration (ServerSslConfiguration configuration)
 Initializes a new instance of the ServerSslConfiguration class copying from the specified configuration.
 

プロパティ

bool CheckCertificateRevocation [get, set]
 Gets or sets a value indicating whether the certificate revocation list is checked during authentication.
 
bool ClientCertificateRequired [get, set]
 Gets or sets a value indicating whether each client is asked for a certificate for authentication.
 
RemoteCertificateValidationCallback ClientCertificateValidationCallback [get, set]
 Gets or sets the callback used to validate the certificate supplied by each client.
 
SslProtocols EnabledSslProtocols [get, set]
 Gets or sets the enabled versions of the SSL/TLS protocols.
 
X509Certificate2 ServerCertificate [get, set]
 Gets or sets the certificate used to authenticate the server.
 

詳解

Stores the parameters for SslStream instances used by a server.

構築子と解体子

◆ ServerSslConfiguration()

WebSocketSharp.Net.ServerSslConfiguration.ServerSslConfiguration ( ServerSslConfiguration configuration)
inline

Initializes a new instance of the ServerSslConfiguration class copying from the specified configuration.

引数
configurationA ServerSslConfiguration from which to copy.
例外
ArgumentNullExceptionconfiguration is null.

プロパティ詳解

◆ CheckCertificateRevocation

bool WebSocketSharp.Net.ServerSslConfiguration.CheckCertificateRevocation
getset

Gets or sets a value indicating whether the certificate revocation list is checked during authentication.

true if the certificate revocation list is checked during authentication; otherwise, false.

The default value is false.

◆ ClientCertificateRequired

bool WebSocketSharp.Net.ServerSslConfiguration.ClientCertificateRequired
getset

Gets or sets a value indicating whether each client is asked for a certificate for authentication.

true if each client is asked for a certificate for authentication; otherwise, false.

The default value is false.

◆ ClientCertificateValidationCallback

RemoteCertificateValidationCallback WebSocketSharp.Net.ServerSslConfiguration.ClientCertificateValidationCallback
getset

Gets or sets the callback used to validate the certificate supplied by each client.

The certificate is valid if the callback returns true.

A RemoteCertificateValidationCallback delegate.

It represents the delegate called when the server validates the certificate.

The default value invokes a method that only returns true.

◆ EnabledSslProtocols

SslProtocols WebSocketSharp.Net.ServerSslConfiguration.EnabledSslProtocols
getset

Gets or sets the enabled versions of the SSL/TLS protocols.

Any of the SslProtocols enum values.

It represents the enabled versions of the SSL/TLS protocols.

The default value is SslProtocols.None.

◆ ServerCertificate

X509Certificate2 WebSocketSharp.Net.ServerSslConfiguration.ServerCertificate
getset

Gets or sets the certificate used to authenticate the server.

A X509Certificate2 that represents an X.509 certificate.

null if not present.

The default value is null.


このクラス詳解は次のファイルから抽出されました: