32 references to SslPolicyErrors
System (27)
net\System\Net\_SecureChannel.cs (16)
1232
SslPolicyErrors
sslPolicyErrors =
SslPolicyErrors
.None;
1246
sslPolicyErrors |=
SslPolicyErrors
.RemoteCertificateNotAvailable;
1288
sslPolicyErrors |=
SslPolicyErrors
.RemoteCertificateNameMismatch;
1295
sslPolicyErrors |=
SslPolicyErrors
.RemoteCertificateChainErrors;
1302
if (sslPolicyErrors ==
SslPolicyErrors
.RemoteCertificateNotAvailable && !m_RemoteCertRequired)
1305
success = (sslPolicyErrors ==
SslPolicyErrors
.None);
1337
public ProtocolToken CreateFatalHandshakeAlertToken(
SslPolicyErrors
sslPolicyErrors, X509Chain chain)
1344
case
SslPolicyErrors
.RemoteCertificateChainErrors:
1347
case
SslPolicyErrors
.RemoteCertificateNameMismatch:
1350
case
SslPolicyErrors
.RemoteCertificateNotAvailable:
1444
private void LogCertificateValidation(RemoteCertValidationCallback remoteCertValidationCallback,
SslPolicyErrors
sslPolicyErrors, bool success, X509Chain chain)
1446
if (sslPolicyErrors !=
SslPolicyErrors
.None)
1449
if ((sslPolicyErrors &
SslPolicyErrors
.RemoteCertificateNotAvailable) != 0)
1451
if ((sslPolicyErrors &
SslPolicyErrors
.RemoteCertificateNameMismatch) != 0)
1453
if ((sslPolicyErrors &
SslPolicyErrors
.RemoteCertificateChainErrors) != 0)
net\System\Net\Internal.cs (4)
2117
internal bool CheckErrors(string hostName, X509Certificate certificate, X509Chain chain,
SslPolicyErrors
sslPolicyErrors)
2122
if ((sslPolicyErrors &
SslPolicyErrors
.RemoteCertificateNotAvailable) != 0)
2125
if ((sslPolicyErrors &
SslPolicyErrors
.RemoteCertificateChainErrors) != 0 ||
2126
(sslPolicyErrors &
SslPolicyErrors
.RemoteCertificateNameMismatch) != 0)
net\System\Net\SecureProtocols\SslStream.cs (5)
52
public delegate bool RemoteCertificateValidationCallback(object sender, X509Certificate certificate, X509Chain chain,
SslPolicyErrors
sslPolicyErrors);
58
internal delegate bool RemoteCertValidationCallback(string host, X509Certificate certificate, X509Chain chain,
SslPolicyErrors
sslPolicyErrors);
102
private bool userCertValidationCallbackWrapper(string hostName, X509Certificate certificate, X509Chain chain,
SslPolicyErrors
sslPolicyErrors)
108
sslPolicyErrors &= ~
SslPolicyErrors
.RemoteCertificateNotAvailable;
110
return (sslPolicyErrors ==
SslPolicyErrors
.None);
net\System\Net\ServicePoint.cs (2)
1056
private bool CertValidationCallback(string hostName, X509Certificate certificate, X509Chain chain,
SslPolicyErrors
sslPolicyErrors) {
1103
return sslPolicyErrors ==
SslPolicyErrors
.None;
System.ServiceModel (5)
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
255
bool RemoteCertificateValidationCallback(object sender, X509Certificate certificate, X509Chain chain,
SslPolicyErrors
sslPolicyErrors)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
644
SslPolicyErrors
sslPolicyErrors)
964
SslPolicyErrors
sslPolicyErrors)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (2)
165
SslPolicyErrors
sslPolicyErrors)
191
return (sslPolicyErrors ==
SslPolicyErrors
.None);