Home
last modified time | relevance | path

Searched refs:SslAlert (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dcallbacks.rs26 try_get_session_ctx_index, SniError, Ssl, SslAlert, SslContext, SslContextRef, SslRef,
163 F: Fn(&mut SslRef, &mut SslAlert) -> Result<(), SniError> + 'static + Sync + Send, in raw_sni()
168 let mut alert = SslAlert(*al); in raw_sni()
567 F: Fn(&mut SslRef, ExtensionContext, Option<(usize, &X509Ref)>) -> Result<Option<T>, SslAlert> in raw_custom_ext_add()
645 F: Fn(&mut SslRef, ExtensionContext, &[u8], Option<(usize, &X509Ref)>) -> Result<(), SslAlert> in raw_custom_ext_parse()
680 F: Fn(&mut SslRef, &mut SslAlert) -> Result<ClientHelloResponse, ErrorStack> in raw_client_hello()
687 let mut alert = SslAlert(*al); in raw_client_hello()
Dmod.rs581 pub struct SslAlert(c_int); struct
583 impl SslAlert { implementation
585 pub const UNRECOGNIZED_NAME: SslAlert = SslAlert(ffi::SSL_AD_UNRECOGNIZED_NAME);
586 pub const ILLEGAL_PARAMETER: SslAlert = SslAlert(ffi::SSL_AD_ILLEGAL_PARAMETER);
587 pub const DECODE_ERROR: SslAlert = SslAlert(ffi::SSL_AD_DECODE_ERROR);
770 F: Fn(&mut SslRef, &mut SslAlert) -> Result<(), SniError> + 'static + Sync + Send, in set_servername_callback()
1591 ) -> Result<Option<T>, SslAlert> in add_custom_ext()
1601 ) -> Result<(), SslAlert> in add_custom_ext()
1650 F: Fn(&mut SslRef, &mut SslAlert) -> Result<ClientHelloResponse, ErrorStack> in set_client_hello_callback()