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