18 references to SecurityStatusPal
System.Net.Security (18)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
673return new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, GetSslError(ret, errorCode)); 675return new SecurityStatusPal(SecurityStatusPalErrorCode.OK);
System\Net\Security\SslStream.Protocol.cs (1)
984waitToken.Status = new SecurityStatusPal(SecurityStatusPalErrorCode.TryAgain);
System\Net\Security\SslStreamPal.Unix.cs (15)
76token.Status = new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, ex); 110return new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, ex); 117Interop.Ssl.SslErrorCode.SSL_ERROR_RENEGOTIATE => new SecurityStatusPal(SecurityStatusPalErrorCode.Renegotiate), 118Interop.Ssl.SslErrorCode.SSL_ERROR_ZERO_RETURN => new SecurityStatusPal(SecurityStatusPalErrorCode.ContextExpired), 119Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_X509_LOOKUP => new SecurityStatusPal(SecurityStatusPalErrorCode.CredentialsNeeded), 121Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_READ => new SecurityStatusPal(SecurityStatusPalErrorCode.OK), 122_ => new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)errorCode)) 209token.Status = new SecurityStatusPal(SecurityStatusPalErrorCode.CredentialsNeeded); 227token.Status = new SecurityStatusPal(errorCode); 231token.Status = new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, exc); 246return new SecurityStatusPal(SecurityStatusPalErrorCode.OK); 263return new SecurityStatusPal(SecurityStatusPalErrorCode.OK); 269return new SecurityStatusPal(SecurityStatusPalErrorCode.OK); 274return new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, Interop.Crypto.CreateOpenSslCryptographicException()); 278return new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)code));