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

Stores the parameters for an SslStream instance used by a client. [詳解]

公開メンバ関数

 ClientSslConfiguration (string targetHost)
 Initializes a new instance of the ClientSslConfiguration class with the specified target host name.
 
 ClientSslConfiguration (ClientSslConfiguration configuration)
 Initializes a new instance of the ClientSslConfiguration 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.
 
X509CertificateCollection ClientCertificates [get, set]
 Gets or sets the collection of the certificates from which to select one to supply to the server.
 
LocalCertificateSelectionCallback ClientCertificateSelectionCallback [get, set]
 Gets or sets the callback used to select the certificate to supply to the server.
 
SslProtocols EnabledSslProtocols [get, set]
 Gets or sets the enabled versions of the SSL/TLS protocols.
 
RemoteCertificateValidationCallback ServerCertificateValidationCallback [get, set]
 Gets or sets the callback used to validate the certificate supplied by the server.
 
string TargetHost [get, set]
 Gets or sets the target host name.
 

詳解

Stores the parameters for an SslStream instance used by a client.

構築子と解体子

◆ ClientSslConfiguration() [1/2]

WebSocketSharp.Net.ClientSslConfiguration.ClientSslConfiguration ( string targetHost)
inline

Initializes a new instance of the ClientSslConfiguration class with the specified target host name.

引数
targetHostA string that specifies the name of the server that will share a secure connection with the client.
例外
ArgumentExceptiontargetHost is an empty string.
ArgumentNullExceptiontargetHost is null.

◆ ClientSslConfiguration() [2/2]

WebSocketSharp.Net.ClientSslConfiguration.ClientSslConfiguration ( ClientSslConfiguration configuration)
inline

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

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

プロパティ詳解

◆ CheckCertificateRevocation

bool WebSocketSharp.Net.ClientSslConfiguration.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.

◆ ClientCertificates

X509CertificateCollection WebSocketSharp.Net.ClientSslConfiguration.ClientCertificates
getset

Gets or sets the collection of the certificates from which to select one to supply to the server.

A X509CertificateCollection that contains the certificates from which to select.

null if not present.

The default value is null.

◆ ClientCertificateSelectionCallback

LocalCertificateSelectionCallback WebSocketSharp.Net.ClientSslConfiguration.ClientCertificateSelectionCallback
getset

Gets or sets the callback used to select the certificate to supply to the server.

No certificate is supplied if the callback returns null.

A LocalCertificateSelectionCallback delegate.

It represents the delegate called when the client selects the certificate.

The default value invokes a method that only returns null.

◆ EnabledSslProtocols

SslProtocols WebSocketSharp.Net.ClientSslConfiguration.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.

◆ ServerCertificateValidationCallback

RemoteCertificateValidationCallback WebSocketSharp.Net.ClientSslConfiguration.ServerCertificateValidationCallback
getset

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

The certificate is valid if the callback returns true.

A RemoteCertificateValidationCallback delegate.

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

The default value invokes a method that only returns true.

◆ TargetHost

string WebSocketSharp.Net.ClientSslConfiguration.TargetHost
getset

Gets or sets the target host name.

A string that represents the name of the server that will share a secure connection with the client.

例外
ArgumentExceptionThe value specified for a set operation is an empty string.
ArgumentNullExceptionThe value specified for a set operation is null.

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