10 instantiations of SslException
System.Net.Security (10)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (7)
161
throw new
SslException
(
171
throw new
SslException
(
226
throw new
SslException
(SR.Format(SR.net_ssl_encryptionpolicy_notsupported, sslAuthenticationOptions.EncryptionPolicy));
702
handshakeException = new
SslException
(SR.Format(SR.net_ssl_handshake_failed_error, errorCode), innerError);
770
throw new
SslException
(SR.Format(SR.net_ssl_encrypt_failed, errorCode), GetSslError(retVal, errorCode));
825
throw new
SslException
(SR.Format(SR.net_ssl_decrypt_failed, errorCode), GetSslError(retVal, errorCode));
1081
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)
1075
internal static
SslException
CreateSslException(string message)