Home
last modified time | relevance | path

Searched refs:Ssl (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dconnector.rs10 HandshakeError, Ssl, SslContext, SslContextBuilder, SslContextRef, SslMethod, SslMode,
97 Ssl::new(&self.0).map(|ssl| ConnectConfiguration { in configure()
141 ssl: Ssl,
182 pub fn into_ssl(mut self, domain: &str) -> Result<Ssl, ErrorStack> { in into_ssl() argument
327 let ssl = Ssl::new(&self.0)?; in accept()
408 fn setup_verify_hostname(ssl: &mut Ssl, domain: &str) -> Result<(), ErrorStack> {
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, String>, ErrorStack> {
433 HOSTNAME_IDX.get_or_try_init(Ssl::new_ex_index)
Derror.rs54 Ssl(ErrorStack), enumerator
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()
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()
2198 pub struct Ssl;
2206 impl fmt::Debug for Ssl { implementation
2212 impl Ssl { implementation
2218 pub fn new_ex_index<T>() -> Result<Index<Ssl, T>, ErrorStack> in new_ex_index() argument
2233 fn cached_ex_index<T>() -> Index<Ssl, T> in cached_ex_index() argument
2242 .or_insert_with(|| Ssl::new_ex_index::<T>().unwrap().as_raw()); in cached_ex_index()
2253 pub fn new(ctx: &SslContextRef) -> Result<Ssl, ErrorStack> { in new() argument
[all …]
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>>()) in raw_tmp_dh_ssl()
303 .ex_data(Ssl::cached_ex_index::<Arc<F>>()) in raw_tmp_ecdh_ssl()
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/
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,
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::new(&ctx).unwrap(); in default_verify_paths()
[all …]
/third_party/rust/crates/rust-openssl/openssl/
DCHANGELOG.md287 * Fixed `Ssl::new` to take a `&SslContextRef` rather than `&SslContext`.
294 * Added the ability to create unconnected `SslStream`s directly from an `Ssl` and transport stream
302 * Deprecated `SslStream::from_raw_parts` in favor of `Ssl::from_ptr` and `SslStream::new`.
303 * Deprecated `SslStreamBuilder` in favor of methods on `Ssl` and `SslStream`.
427 * Fixed session callbacks when an `Ssl`'s context is replaced.
/third_party/node/doc/api/
Dcli.md657 node 1 5.5 6.1 787252 247004 ? Ssl 16:43 0:02 node --heapsnapshot-signal=SIGUSR2…