18 references to SecurityStatusPal
System.Net.Security (18)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
664
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, GetSslError(ret, errorCode));
666
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 (15)
76
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, ex);
103
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, ex);
110
Interop.Ssl.SslErrorCode.SSL_ERROR_RENEGOTIATE => new
SecurityStatusPal
(SecurityStatusPalErrorCode.Renegotiate),
111
Interop.Ssl.SslErrorCode.SSL_ERROR_ZERO_RETURN => new
SecurityStatusPal
(SecurityStatusPalErrorCode.ContextExpired),
112
Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_X509_LOOKUP => new
SecurityStatusPal
(SecurityStatusPalErrorCode.CredentialsNeeded),
114
Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_READ => new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK),
115
_ => new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)errorCode))
203
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.CredentialsNeeded);
219
token.Status = new
SecurityStatusPal
(errorCode);
223
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, exc);
238
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
255
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
261
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
266
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, Interop.Crypto.CreateOpenSslCryptographicException());
270
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)code));