23 references to CreateSslException
System.Net.Security (23)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (15)
227
throw
CreateSslException
(SR.net_allocate_ssl_context_failed);
303
throw
CreateSslException
(SR.net_ssl_use_cert_failed);
342
throw
CreateSslException
(SR.net_ssl_use_cert_failed);
348
throw
CreateSslException
(SR.net_ssl_use_private_key_failed);
355
throw
CreateSslException
(SR.net_ssl_use_cert_failed);
421
throw
CreateSslException
(SR.net_allocate_ssl_context_failed);
454
throw
CreateSslException
(SR.net_alpn_config_failed);
657
throw
CreateSslException
(SR.Format(SR.net_ssl_set_sigalgs_failed, "server"));
663
throw
CreateSslException
(SR.Format(SR.net_ssl_set_sigalgs_failed, "client"));
1020
throw
CreateSslException
(SR.net_ssl_get_channel_binding_token_failed);
1353
throw
CreateSslException
(SR.net_ssl_read_bio_failed_error);
1363
throw
CreateSslException
(SR.net_ssl_write_bio_failed_error);
1402
throw
CreateSslException
(SR.net_ssl_use_cert_failed);
1409
throw
CreateSslException
(SR.net_ssl_use_private_key_failed);
1417
throw
CreateSslException
(SR.net_ssl_check_private_key_failed);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (2)
99
throw Interop.OpenSsl.
CreateSslException
(SR.net_ssl_get_default_sigalgs_failed);
591
throw Interop.OpenSsl.
CreateSslException
(SR.net_allocate_ssl_context_failed);
System\Net\Security\CipherSuitesPolicyPal.Linux.cs (2)
34
throw OpenSsl.
CreateSslException
(SR.net_allocate_ssl_context_failed);
43
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 (1)
140
throw Interop.OpenSsl.
CreateSslException
(SR.net_ssl_invalid_certificate);
System\Net\Security\TlsSession.OpenSsl.cs (2)
135
throw Interop.OpenSsl.
CreateSslException
(SR.net_ssl_read_bio_failed_error);
307
_ => throw new AuthenticationException(SR.net_auth_SSPI, Interop.OpenSsl.
CreateSslException
(sslErrorTemplate)),