SkyWay Unity SDK
公式APIリファレンス
|
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.
|
inline |
Initializes a new instance of the ClientSslConfiguration class with the specified target host name.
targetHost | A string that specifies the name of the server that will share a secure connection with the client. |
ArgumentException | targetHost is an empty string. |
ArgumentNullException | targetHost is null . |
|
inline |
Initializes a new instance of the ClientSslConfiguration class copying from the specified configuration.
configuration | A ClientSslConfiguration from which to copy. |
ArgumentNullException | configuration is null . |
|
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
.
|
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
.
|
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
.
|
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.
|
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
.
|
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.
ArgumentException | The value specified for a set operation is an empty string. |
ArgumentNullException | The value specified for a set operation is null . |