10 instantiations of SslException
System.Net.Security (10)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (7)
131
throw new
SslException
(
141
throw new
SslException
(
218
throw new
SslException
(SR.Format(SR.net_ssl_encryptionpolicy_notsupported, sslAuthenticationOptions.EncryptionPolicy));
542
handshakeException = new
SslException
(SR.Format(SR.net_ssl_handshake_failed_error, errorCode), innerError);
610
throw new
SslException
(SR.Format(SR.net_ssl_encrypt_failed, errorCode), GetSslError(retVal, errorCode));
665
throw new
SslException
(SR.Format(SR.net_ssl_decrypt_failed, errorCode), GetSslError(retVal, errorCode));
919
return new
SslException
(msg, (int)errorVal);
System\Net\Security\SslStreamPal.Unix.cs (3)
17
return status.Exception ?? new Interop.OpenSsl.
SslException
((int)status.ErrorCode);
113
_ => new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.
SslException
((int)errorCode))
277
return new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, new Interop.OpenSsl.
SslException
((int)code));
1 reference to SslException
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
913
internal static
SslException
CreateSslException(string message)