[Modify] Remove it
This commit is contained in:
parent
e856a2f194
commit
abf836dfcd
@ -76,8 +76,9 @@ namespace WebSocketSharp.Net
|
|||||||
/// used to authenticate the server.
|
/// used to authenticate the server.
|
||||||
/// </param>
|
/// </param>
|
||||||
public ServerSslConfiguration (X509Certificate2 serverCertificate)
|
public ServerSslConfiguration (X509Certificate2 serverCertificate)
|
||||||
: this (serverCertificate, false, SslProtocols.Default, false)
|
|
||||||
{
|
{
|
||||||
|
_serverCert = serverCertificate;
|
||||||
|
_enabledSslProtocols = SslProtocols.Default;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -102,42 +103,6 @@ namespace WebSocketSharp.Net
|
|||||||
_serverCert = configuration._serverCert;
|
_serverCert = configuration._serverCert;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Initializes a new instance of the <see cref="ServerSslConfiguration"/> class
|
|
||||||
/// with the specified <paramref name="serverCertificate"/>,
|
|
||||||
/// <paramref name="clientCertificateRequired"/>,
|
|
||||||
/// <paramref name="enabledSslProtocols"/>,
|
|
||||||
/// and <paramref name="checkCertificateRevocation"/>.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="serverCertificate">
|
|
||||||
/// A <see cref="X509Certificate2"/> that represents an X.509 certificate
|
|
||||||
/// used to authenticate the server.
|
|
||||||
/// </param>
|
|
||||||
/// <param name="clientCertificateRequired">
|
|
||||||
/// <c>true</c> if the client is asked for a certificate for authentication;
|
|
||||||
/// otherwise, <c>false</c>.
|
|
||||||
/// </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 ServerSslConfiguration (
|
|
||||||
X509Certificate2 serverCertificate,
|
|
||||||
bool clientCertificateRequired,
|
|
||||||
SslProtocols enabledSslProtocols,
|
|
||||||
bool checkCertificateRevocation
|
|
||||||
)
|
|
||||||
{
|
|
||||||
_serverCert = serverCertificate;
|
|
||||||
_clientCertRequired = clientCertificateRequired;
|
|
||||||
_enabledSslProtocols = enabledSslProtocols;
|
|
||||||
_checkCertRevocation = checkCertificateRevocation;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
Loading…
Reference in New Issue
Block a user