Searched refs:SslContext (Results 1 - 6 of 6) sorted by relevance
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/ |
H A D | server.rs | 5 use crate::ssl::{Ssl, SslContext, SslContextBuilder, SslFiletype, SslMethod, SslRef, SslStream}; 22 let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); in builder() 37 ctx: SslContext::builder(SslMethod::tls()).unwrap(), in client() 133 ctx: SslContext,
|
H A D | mod.rs | 32 SslAcceptorBuilder, SslConnector, SslContext, SslContextBuilder, SslFiletype, SslMethod, 255 let ctx = SslContext::builder(SslMethod::tls()).unwrap(); in get_ctx_options() 261 let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); in set_ctx_options() 269 let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); in clear_ctx_options() 335 let mut ctx = SslContext::builder(SslMethod::dtls()).unwrap(); in test_connect_with_srtp_ctx() 358 let mut ctx = SslContext::builder(SslMethod::dtls()).unwrap(); in test_connect_with_srtp_ctx() 393 let mut ctx = SslContext::builder(SslMethod::dtls()).unwrap(); in test_connect_with_srtp_ssl() 427 let ctx = SslContext::builder(SslMethod::dtls()).unwrap(); in test_connect_with_srtp_ssl() 542 let ctx = SslContext::builder(SslMethod::tls()).unwrap(); in write_panic() 573 let ctx = SslContext in read_panic() [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | callbacks.rs | 26 try_get_session_ctx_index, SniError, Ssl, SslAlert, SslContext, SslContextRef, SslRef, 44 let verify_idx = SslContext::cached_ex_index::<F>(); in raw_verify() 76 let callback_idx = SslContext::cached_ex_index::<F>(); in raw_client_psk() 115 let callback_idx = SslContext::cached_ex_index::<F>(); in raw_server_psk() 195 .ex_data(SslContext::cached_ex_index::<F>()) in raw_alpn_select() 221 .ex_data(SslContext::cached_ex_index::<F>()) 249 .ex_data(SslContext::cached_ex_index::<F>()) 327 .ex_data(SslContext::cached_ex_index::<F>()) 365 .ex_data(SslContext::cached_ex_index::<F>()) 383 .ex_data(SslContext [all...] |
H A D | connector.rs | 10 HandshakeError, Ssl, SslContext, SslContextBuilder, SslContextRef, SslMethod, SslMode, 68 pub struct SslConnector(SslContext); 104 /// Consumes the `SslConnector`, returning the inner raw `SslContext`. 105 pub fn into_context(self) -> SslContext { in into_context() 109 /// Returns a shared reference to the inner raw `SslContext`. 224 pub struct SslAcceptor(SslContext); 331 /// Consumes the `SslAcceptor`, returning the inner raw `SslContext`. 332 pub fn into_context(self) -> SslContext { in into_context() 336 /// Returns a shared reference to the inner raw `SslContext`.
|
H A D | mod.rs | 145 /// Options controlling the behavior of an `SslContext`. 283 /// Options controlling the behavior of an `SslContext`. 331 /// A type specifying the kind of protocol an `SslContext` will speak. 546 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() 705 /// A builder for `SslContext`s. 706 pub struct SslContextBuilder(SslContext); 726 SslContextBuilder(SslContext::from_ptr(ctx)) in from_ptr() 754 self.set_ex_data(SslContext::cached_ex_index::<F>(), verify); in set_verify_callback() 778 let arg = self.set_ex_data_inner(SslContext in set_servername_callback() 1725 pub struct SslContext; global() structure names 1757 impl SslContext { fmt() impls [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | dh.rs | 337 use crate::ssl::{SslContext, SslMethod}; 342 let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); in test_dh_rfc5114() 351 let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); in test_dh_params() 426 let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); in test_dh_from_pem()
|
Completed in 7 milliseconds