19 references to SecurityStatusPal
System.Net.Security (19)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
509
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, GetSslError(ret, errorCode));
511
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
System\Net\Security\SslStream.IO.cs (1)
97
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.TryAgain);
System\Net\Security\SslStreamPal.Unix.cs (16)
74
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, ex);
101
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, ex);
108
Interop.Ssl.SslErrorCode.SSL_ERROR_RENEGOTIATE => new
SecurityStatusPal
(SecurityStatusPalErrorCode.Renegotiate),
109
Interop.Ssl.SslErrorCode.SSL_ERROR_ZERO_RETURN => new
SecurityStatusPal
(SecurityStatusPalErrorCode.ContextExpired),
110
Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_X509_LOOKUP => new
SecurityStatusPal
(SecurityStatusPalErrorCode.CredentialsNeeded),
112
Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_READ => new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK),
113
_ => new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)errorCode))
201
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.CredentialsNeeded);
226
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, Interop.OpenSsl.CreateSslException(SR.net_alpn_failed));
230
token.Status = new
SecurityStatusPal
(errorCode);
234
token.Status = new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, exc);
245
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
262
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
268
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.OK);
273
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, Interop.Crypto.CreateOpenSslCryptographicException());
277
return new
SecurityStatusPal
(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)code));