18 instantiations of SecurityStatusPal
System.Net.Security (18)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
682return new SecurityStatusPal(palErrorCode, ex); 684return new SecurityStatusPal(SecurityStatusPalErrorCode.OK);
System\Net\Security\SslStream.Protocol.cs (1)
1013waitToken.Status = new SecurityStatusPal(SecurityStatusPalErrorCode.TryAgain);
System\Net\Security\SslStreamPal.Unix.cs (15)
81token.Status = new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, ex); 115return new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, ex); 122Interop.Ssl.SslErrorCode.SSL_ERROR_RENEGOTIATE => new SecurityStatusPal(SecurityStatusPalErrorCode.Renegotiate), 123Interop.Ssl.SslErrorCode.SSL_ERROR_ZERO_RETURN => new SecurityStatusPal(SecurityStatusPalErrorCode.ContextExpired), 124Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_X509_LOOKUP => new SecurityStatusPal(SecurityStatusPalErrorCode.CredentialsNeeded), 126Interop.Ssl.SslErrorCode.SSL_ERROR_WANT_READ => new SecurityStatusPal(SecurityStatusPalErrorCode.OK), 127_ => new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)errorCode)) 214token.Status = new SecurityStatusPal(SecurityStatusPalErrorCode.CredentialsNeeded); 232token.Status = new SecurityStatusPal(errorCode); 236token.Status = new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, exc); 251return new SecurityStatusPal(SecurityStatusPalErrorCode.OK); 268return new SecurityStatusPal(SecurityStatusPalErrorCode.OK); 274return new SecurityStatusPal(SecurityStatusPalErrorCode.OK); 279return new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, Interop.Crypto.CreateOpenSslCryptographicException()); 283return new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.SslException((int)code));
15 references to SecurityStatusPal
System.Net.Security (15)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
666internal static SecurityStatusPal SslRenegotiate(SafeSslHandle sslContext, out byte[]? outputBuffer)
System\Net\Security\SslStream.IO.cs (1)
915SecurityStatusPal status = DecryptData(payloadBytes, destination, out int directWritten);
System\Net\Security\SslStream.Protocol.cs (5)
1042private SecurityStatusPal DecryptData(int frameSize, Span<byte> destination, out int bytesWritten) 1044SecurityStatusPal status; 1316SecurityStatusPal status; 1346SecurityStatusPal status; 1473internal SecurityStatusPal Status;
System\Net\Security\SslStreamPal.Unix.cs (8)
15public static Exception GetException(SecurityStatusPal status) 34public static SecurityStatusPal SelectApplicationProtocol( 87public static SecurityStatusPal DecryptMessage( 109SecurityStatusPal retVal = MapNativeErrorCode(errorCode); 119private static SecurityStatusPal MapNativeErrorCode(Interop.Ssl.SslErrorCode errorCode) => 158SecurityStatusPal status = Interop.OpenSsl.SslRenegotiate((SafeSslHandle)context, out _); 242public static SecurityStatusPal ApplyAlertToken( 255public static SecurityStatusPal ApplyShutdownToken(SafeDeleteSslContext context)