Searched refs:SslFiletype (Results 1 - 5 of 5) sorted by relevance
/third_party/rust/crates/rust-openssl/openssl/src/x509/ |
H A D | store.rs | 50 use crate::ssl::SslFiletype; 175 pub fn add_dir(&mut self, name: &str, file_type: SslFiletype) -> Result<(), ErrorStack> { in add_dir() 210 file_type: SslFiletype, in load_cert_file() 228 file_type: SslFiletype, in load_crl_file()
|
H A D | tests.rs | 10 use crate::ssl::SslFiletype; 964 .load_cert_file("test/root-ca.pem", SslFiletype::PEM) in test_load_cert_file() 1070 let res = lookup.load_crl_file("test/root-ca.pem", SslFiletype::PEM); in test_load_crl_file_fail()
|
/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}; 24 ctx.set_private_key_file("test/key.pem", SslFiletype::PEM) in builder()
|
H A D | mod.rs | 32 SslAcceptorBuilder, SslConnector, SslContext, SslContextBuilder, SslFiletype, SslMethod, 338 ctx.set_certificate_file(Path::new("test/cert.pem"), SslFiletype::PEM) in test_connect_with_srtp_ctx() 340 ctx.set_private_key_file(Path::new("test/key.pem"), SslFiletype::PEM) in test_connect_with_srtp_ctx() 394 ctx.set_certificate_file(Path::new("test/cert.pem"), SslFiletype::PEM) in test_connect_with_srtp_ssl() 396 ctx.set_private_key_file(Path::new("test/key.pem"), SslFiletype::PEM) in test_connect_with_srtp_ssl() 1150 ctx.set_certificate_file(Path::new("test/cert.pem"), SslFiletype::PEM) in keying_export() 1152 ctx.set_private_key_file(Path::new("test/key.pem"), SslFiletype::PEM) in keying_export() 1348 .set_certificate_file(Path::new("test/cert.pem"), SslFiletype::PEM) 1351 .set_private_key_file(Path::new("test/key.pem"), SslFiletype::PEM) 1511 ssl.set_private_key_file("test/key.pem", SslFiletype in set_ssl_certificate_key_related_api() [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | mod.rs | 29 //! use openssl::ssl::{SslMethod, SslAcceptor, SslStream, SslFiletype}; 36 //! acceptor.set_private_key_file("key.pem", SslFiletype::PEM).unwrap(); 479 pub struct SslFiletype(c_int); structure names 481 impl SslFiletype { impls 485 pub const PEM: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_PEM); 490 pub const ASN1: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_ASN1); 492 /// Constructs an `SslFiletype` from a raw OpenSSL value. 493 pub fn from_raw(raw: c_int) -> SslFiletype { in from_raw() [all...] |
Completed in 11 milliseconds