19 references to SecurityStatusPal
System.Net.Security (19)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
670
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, GetSslError(ret, errorCode));
672
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
System\Net\Security\SslStream.IO.cs (1)
98
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.TryAgain);
System\Net\Security\SslStreamPal.Unix.cs (16)
75
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, ex);
102
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, ex);
109
Interop.Ssl.SslErrorCode.SSL_ERROR_RENEGOTIATE => new
SecurityStatusPal
(SecurityStatusPalErrorCode.Renegotiate),
110
Interop.Ssl.SslErrorCode.SSL_ERROR_ZERO_RETURN => new
SecurityStatusPal
(SecurityStatusPalErrorCode.ContextExpired),
111
Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_X509_LOOKUP => new
SecurityStatusPal
(SecurityStatusPalErrorCode.CredentialsNeeded),
113
Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_READ => new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK),
114
_ => new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)errorCode))
202
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.CredentialsNeeded);
227
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, Interop.OpenSsl.CreateSslException(SR.net_alpn_failed));
231
token.Status = new
SecurityStatusPal
(errorCode);
235
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, exc);
247
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
264
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
270
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
275
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, Interop.Crypto.CreateOpenSslCryptographicException());
279
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)code));