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