|
|
|
|
@ -68,24 +68,26 @@ namespace WebSocketSharp.Net
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initializes a new instance of the <see cref="ClientSslConfiguration"/> class with
|
|
|
|
|
/// the specified <paramref name="targetHost"/>, <paramref name="clientCertificates"/>,
|
|
|
|
|
/// <paramref name="enabledSslProtocols"/>, and <paramref name="checkCertificateRevocation"/>.
|
|
|
|
|
/// Initializes a new instance of the <see cref="ClientSslConfiguration"/> class
|
|
|
|
|
/// with the specified <paramref name="targetHost"/>,
|
|
|
|
|
/// <paramref name="clientCertificates"/>,
|
|
|
|
|
/// <paramref name="enabledSslProtocols"/>,
|
|
|
|
|
/// and <paramref name="checkCertificateRevocation"/>.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="targetHost">
|
|
|
|
|
/// A <see cref="string"/> that represents the name of the server that shares
|
|
|
|
|
/// a secure connection.
|
|
|
|
|
/// A <see cref="string"/> that represents the name of the server that
|
|
|
|
|
/// will share a secure connection.
|
|
|
|
|
/// </param>
|
|
|
|
|
/// <param name="clientCertificates">
|
|
|
|
|
/// A <see cref="X509CertificateCollection"/> that contains client certificates.
|
|
|
|
|
/// </param>
|
|
|
|
|
/// <param name="enabledSslProtocols">
|
|
|
|
|
/// The <see cref="SslProtocols"/> enum value that represents the protocols used for
|
|
|
|
|
/// authentication.
|
|
|
|
|
/// The <see cref="SslProtocols"/> enum values that represent the protocols
|
|
|
|
|
/// used for authentication.
|
|
|
|
|
/// </param>
|
|
|
|
|
/// <param name="checkCertificateRevocation">
|
|
|
|
|
/// <c>true</c> if the certificate revocation list is checked during authentication;
|
|
|
|
|
/// otherwise, <c>false</c>.
|
|
|
|
|
/// <c>true</c> if the certificate revocation list is checked during
|
|
|
|
|
/// authentication; otherwise, <c>false</c>.
|
|
|
|
|
/// </param>
|
|
|
|
|
public ClientSslConfiguration (
|
|
|
|
|
string targetHost,
|
|
|
|
|
|