Home
last modified time | relevance | path

Searched refs:Ssl (Results 1 - 6 of 6) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/ssl/
H A Derror.rs54 Ssl(ErrorStack),
85 Some(InnerError::Ssl(ref e)) => Some(e), in ssl_error()
95 cause: Some(InnerError::Ssl(e)), in from()
129 Some(InnerError::Ssl(ref e)) => Some(e), in source()
H A Dconnector.rs10 HandshakeError, Ssl, SslContext, SslContextBuilder, SslContextRef, SslMethod, SslMode,
97 Ssl::new(&self.0).map(|ssl| ConnectConfiguration { in configure()
141 ssl: Ssl,
179 /// Returns an `Ssl` configured to connect to the provided domain.
182 pub fn into_ssl(mut self, domain: &str) -> Result<Ssl, ErrorStack> { in into_ssl()
327 let ssl = Ssl::new(&self.0)?; in accept()
408 fn setup_verify_hostname(ssl: &mut Ssl, domain: &str) -> Result<(), ErrorStack> { in setup_verify_hostname()
423 use crate::ssl::Ssl;
430 static HOSTNAME_IDX: OnceCell<Index<Ssl, String>> = OnceCell::new();
432 pub fn try_get_hostname_idx() -> Result<&'static Index<Ssl, Strin
[all...]
H A Dmod.rs546 static SESSION_CTX_INDEX: OnceCell<Index<Ssl, SslContext>> = OnceCell::new();
548 fn try_get_session_ctx_index() -> Result<&'static Index<Ssl, SslContext>, ErrorStack> { in try_get_session_ctx_index()
549 SESSION_CTX_INDEX.get_or_try_init(Ssl::new_ex_index) in try_get_session_ctx_index()
855 /// The callback is provided with a reference to the `Ssl` for the session, as well as a boolean
882 /// The callback is provided with a reference to the `Ssl` for the session, as well as a boolean
2194 /// `Ssl` objects are created from an [`SslContext`], which provides configuration defaults.
2195 /// These defaults can be overridden on a per-`Ssl` basis, however.
2198 pub struct Ssl; structure names
2200 /// Reference to an [`Ssl`].
2202 /// [`Ssl`]
2212 impl Ssl { fmt() impls
[all...]
H A Dcallbacks.rs26 try_get_session_ctx_index, SniError, Ssl, SslAlert, SslContext, SslContextRef, SslRef,
148 let callback_idx = Ssl::cached_ex_index::<Arc<F>>(); in ssl_raw_verify()
275 .ex_data(Ssl::cached_ex_index::<Arc<F>>())
303 .ex_data(Ssl::cached_ex_index::<Arc<F>>())
591 let idx = Ssl::cached_ex_index::<CustomExtAddState<T>>(); in raw_custom_ext_add()
625 let idx = Ssl::cached_ex_index::<CustomExtAddState<T>>(); in raw_custom_ext_free()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/
H A Dserver.rs5 use crate::ssl::{Ssl, SslContext, SslContextBuilder, SslFiletype, SslMethod, SslRef, SslStream};
87 let mut ssl = Ssl::new(&ctx).unwrap(); in build()
140 ssl: Ssl::new(&self.ctx).unwrap(), in builder()
147 ssl: Ssl,
H A Dmod.rs31 Error, HandshakeError, MidHandshakeSslStream, ShutdownResult, ShutdownState, Ssl, SslAcceptor,
342 let mut ssl = Ssl::new(&ctx.build()).unwrap(); in test_connect_with_srtp_ctx()
361 let mut ssl = Ssl::new(&ctx.build()).unwrap(); in test_connect_with_srtp_ctx()
398 let mut ssl = Ssl::new(&ctx.build()).unwrap(); in test_connect_with_srtp_ssl()
428 let mut ssl = Ssl::new(&ctx.build()).unwrap(); in test_connect_with_srtp_ssl()
543 let _ = Ssl::new(&ctx.build()).unwrap().connect(stream); in write_panic()
574 let _ = Ssl::new(&ctx.build()).unwrap().connect(stream); in read_panic()
606 let _ = Ssl::new(&ctx.build()).unwrap().connect(stream); in flush_panic()
613 ssl::Ssl::new(&ctx.build()).unwrap() in refcount_ssl_context()
635 let mut ssl = Ssl in default_verify_paths()
[all...]

Completed in 9 milliseconds