Home
last modified time | relevance | path

Searched refs:SslFiletype (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dstore.rs50 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() argument
228 file_type: SslFiletype, in load_crl_file() argument
Dtests.rs10 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/
Dserver.rs5 use crate::ssl::{Ssl, SslContext, SslContextBuilder, SslFiletype, SslMethod, SslRef, SslStream};
24 ctx.set_private_key_file("test/key.pem", SslFiletype::PEM) in builder()
Dmod.rs32 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) in stateless()
1351 .set_private_key_file(Path::new("test/key.pem"), SslFiletype::PEM) in stateless()
1511 ssl.set_private_key_file("test/key.pem", SslFiletype::PEM) in set_ssl_certificate_key_related_api()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dmod.rs479 pub struct SslFiletype(c_int); struct
481 impl SslFiletype { impl
485 pub const PEM: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_PEM);
490 pub const ASN1: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_ASN1);
493 pub fn from_raw(raw: c_int) -> SslFiletype { in from_raw() argument
494 SslFiletype(raw) in from_raw()
974 file_type: SslFiletype, in set_certificate_file() argument
1033 file_type: SslFiletype, in set_private_key_file() argument
3217 ssl_file_type: SslFiletype, in set_private_key_file() argument
/third_party/rust/crates/rust-openssl/openssl/
DCHANGELOG.md774 * `x509::X509FileType` is now `ssl::SslFiletype`.