Searched refs:SslMethod (Results 1 – 6 of 6) sorted by relevance
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/ |
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::builder(SslMethod::tls()).unwrap(); in read_panic() [all …]
|
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()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
D | connector.rs | 10 HandshakeError, Ssl, SslContext, SslContextBuilder, SslContextRef, SslMethod, SslMode, 28 fn ctx(method: SslMethod) -> Result<SslContextBuilder, ErrorStack> { in ctx() 74 pub fn builder(method: SslMethod) -> Result<SslConnectorBuilder, ErrorStack> { in builder() 234 pub fn mozilla_intermediate_v5(method: SslMethod) -> Result<SslAcceptorBuilder, ErrorStack> { in mozilla_intermediate_v5() 261 pub fn mozilla_modern_v5(method: SslMethod) -> Result<SslAcceptorBuilder, ErrorStack> { in mozilla_modern_v5() 278 pub fn mozilla_intermediate(method: SslMethod) -> Result<SslAcceptorBuilder, ErrorStack> { in mozilla_intermediate() 306 pub fn mozilla_modern(method: SslMethod) -> Result<SslAcceptorBuilder, ErrorStack> { in mozilla_modern()
|
D | mod.rs | 333 pub struct SslMethod(*const ffi::SSL_METHOD); struct 335 impl SslMethod { impl 338 pub fn tls() -> SslMethod { in tls() 339 unsafe { SslMethod(TLS_method()) } in tls() 344 pub fn dtls() -> SslMethod { in dtls() 345 unsafe { SslMethod(DTLS_method()) } in dtls() 350 pub fn tls_client() -> SslMethod { in tls_client() 351 unsafe { SslMethod(TLS_client_method()) } in tls_client() 356 pub fn tls_server() -> SslMethod { in tls_server() 357 unsafe { SslMethod(TLS_server_method()) } in tls_server() [all …]
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
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()
|
/third_party/rust/crates/rust-openssl/openssl/ |
D | CHANGELOG.md | 355 * Added `SslMethod::tls_client` and `SslMethod::tls_server`.
|