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