[Modify] Remove it
This commit is contained in:
parent
a748e1bd16
commit
e4d60a2c43
@ -76,8 +76,9 @@ namespace WebSocketSharp.Net
|
|||||||
/// will share a secure connection.
|
/// will share a secure connection.
|
||||||
/// </param>
|
/// </param>
|
||||||
public ClientSslConfiguration (string targetHost)
|
public ClientSslConfiguration (string targetHost)
|
||||||
: this (targetHost, null, SslProtocols.Default, false)
|
|
||||||
{
|
{
|
||||||
|
_targetHost = targetHost;
|
||||||
|
_enabledSslProtocols = SslProtocols.Default;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -103,41 +104,6 @@ namespace WebSocketSharp.Net
|
|||||||
_targetHost = configuration._targetHost;
|
_targetHost = configuration._targetHost;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <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"/>.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="targetHost">
|
|
||||||
/// 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 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>.
|
|
||||||
/// </param>
|
|
||||||
public ClientSslConfiguration (
|
|
||||||
string targetHost,
|
|
||||||
X509CertificateCollection clientCertificates,
|
|
||||||
SslProtocols enabledSslProtocols,
|
|
||||||
bool checkCertificateRevocation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
_targetHost = targetHost;
|
|
||||||
_clientCerts = clientCertificates;
|
|
||||||
_enabledSslProtocols = enabledSslProtocols;
|
|
||||||
_checkCertRevocation = checkCertificateRevocation;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
Loading…
Reference in New Issue
Block a user