18 references to CreateSslException
System.Net.Security (18)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (13)
208
throw
CreateSslException
(SR.net_allocate_ssl_context_failed);
280
throw
CreateSslException
(SR.net_ssl_use_cert_failed);
319
throw
CreateSslException
(SR.net_ssl_use_cert_failed);
325
throw
CreateSslException
(SR.net_ssl_use_private_key_failed);
332
throw
CreateSslException
(SR.net_ssl_use_cert_failed);
388
throw
CreateSslException
(SR.net_allocate_ssl_context_failed);
404
throw
CreateSslException
(SR.net_alpn_config_failed);
694
throw
CreateSslException
(SR.net_ssl_get_channel_binding_token_failed);
842
throw
CreateSslException
(SR.net_ssl_read_bio_failed_error);
852
throw
CreateSslException
(SR.net_ssl_write_bio_failed_error);
894
throw
CreateSslException
(SR.net_ssl_use_cert_failed);
901
throw
CreateSslException
(SR.net_ssl_use_private_key_failed);
909
throw
CreateSslException
(SR.net_ssl_check_private_key_failed);
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (2)
34
throw OpenSsl.
CreateSslException
(SR.net_allocate_ssl_context_failed);
41
throw OpenSsl.
CreateSslException
(SR.net_allocate_ssl_context_failed);
System\Net\Security\SslConnectionInfo.Linux.cs (1)
42
throw Interop.OpenSsl.
CreateSslException
(SR.net_ssl_get_connection_info_failed);
System\Net\Security\SslStreamPal.Unix.cs (2)
126
throw Interop.OpenSsl.
CreateSslException
(SR.net_ssl_invalid_certificate);
226
token.Status = new SecurityStatusPal(SecurityStatusPalErrorCode.InternalError, Interop.OpenSsl.
CreateSslException
(SR.net_alpn_failed));