Home
last modified time | relevance | path

Searched refs:from_pem (Results 1 – 20 of 20) sorted by relevance

/external/rust/crates/openssl/src/x509/
Dtests.rs36 let cert = X509::from_pem(cert).unwrap(); in test_cert_loading()
48 let cert = X509::from_pem(cert).unwrap(); in test_debug()
64 let cert = X509::from_pem(cert).unwrap(); in test_cert_issue_validity()
75 let cert = X509::from_pem(cert).unwrap(); in test_save_der()
84 let cert = X509::from_pem(cert).unwrap(); in test_subject_read_cn()
93 let cert = X509::from_pem(cert).unwrap(); in test_nid_values()
112 let cert = X509::from_pem(cert).unwrap(); in test_nameref_iterator()
139 let cert = X509::from_pem(cert).unwrap(); in test_nid_uid_value()
149 let cert = X509::from_pem(cert).unwrap(); in test_subject_alt_name()
166 let cert = X509::from_pem(cert).unwrap(); in test_subject_alt_name_iter()
[all …]
Dmod.rs663 from_pem! {
668 from_pem,
1321 from_pem! {
1329 from_pem,
/external/rust/crates/openssl/src/
Dpkcs7.rs54 from_pem! {
59 from_pem,
297 let cert = X509::from_pem(cert).unwrap(); in encrypt_decrypt_test()
325 let cert = X509::from_pem(cert).unwrap(); in sign_verify_test_detached()
334 let root_ca = X509::from_pem(root_ca).unwrap(); in sign_verify_test_detached()
369 let cert = X509::from_pem(cert).unwrap(); in sign_verify_test_normal()
378 let root_ca = X509::from_pem(root_ca).unwrap(); in sign_verify_test_normal()
407 let cert = X509::from_pem(cert).unwrap(); in signers()
417 let root_ca = X509::from_pem(root_ca).unwrap(); in signers()
Dcms.rs159 from_pem! {
162 from_pem,
296 CmsContentInfo::from_pem(&encrypted_pem).expect("failed read cms from pem"); in cms_encrypt_decrypt()
Dmacros.rs3 from_pem!($(#[$m])* $n, $t, $f);
120 macro_rules! from_pem { macro
Drsa.rs386 from_pem! {
396 from_pem! {
Ddh.rs108 from_pem! {
Ddsa.rs239 from_pem! {
Dec.rs836 from_pem! {
Dpkey.rs740 from_pem! {
/external/rust/crates/der/tests/
Dpem.rs48 fn from_pem() { in from_pem() function
50 let pem_spki = SpkiOwned::from_pem(SPKI_PEM).unwrap(); in from_pem()
/external/rust/crates/der/src/
Ddecode.rs58 fn from_pem(pem: impl AsRef<[u8]>) -> Result<Self>; in from_pem() method
64 fn from_pem(pem: impl AsRef<[u8]>) -> Result<Self> { in from_pem() method
Ddocument.rs85 pub fn from_pem(pem: &str) -> Result<(&str, Self)> { in from_pem() method
116 Self::from_pem(&fs::read_to_string(path)?).map(|(label, doc)| (label.to_owned(), doc)) in read_pem_file()
242 pub fn from_pem(pem: &str) -> Result<(&str, Self)> { in from_pem() method
243 Document::from_pem(pem).map(|(label, doc)| (label, Self(doc))) in from_pem()
/external/rust/crates/pkcs8/src/
Dtraits.rs50 let (label, doc) = SecretDocument::from_pem(s)?; in from_pkcs8_pem()
66 let (label, doc) = SecretDocument::from_pem(s)?; in from_pkcs8_encrypted_pem()
/external/rust/crates/pkcs1/src/
Dtraits.rs43 let (label, doc) = SecretDocument::from_pem(s)?; in from_pkcs1_pem()
83 let (label, doc) = Document::from_pem(s)?; in from_pkcs1_pem()
/external/rust/crates/spki/src/
Dtraits.rs37 let (label, doc) = Document::from_pem(s)?; in from_public_key_pem()
/external/rust/crates/sec1/src/
Dtraits.rs40 let (label, doc) = SecretDocument::from_pem(s)?; in from_sec1_pem()
/external/rust/crates/openssl/src/ssl/test/
Dmod.rs75 let x509 = X509::from_pem(ROOT_CERT).unwrap(); in verify_trusted_with_set_cert()
630 let cert = X509::from_pem(CERT).unwrap(); in add_extra_chain_cert()
757 let cert = X509::from_pem(CERT).unwrap(); in test_mozilla_server()
838 let cert = X509::from_pem(ROOT_CERT).unwrap(); in cert_store()
1421 let cert = X509::from_pem(CERT).unwrap(); in add_chain_cert()
/external/rust/beto-rust/nearby/scripts/openssl-patches/
D0001-Apply-Android-changes.patch1208 + from_pem! {
1213 + from_pem,
1866 + from_pem! {
1874 + from_pem,
/external/rust/crates/openssl/
DCHANGELOG.md290 * Added `CmsContentInfoRef::to_pem` and `CmsContentInfo::from_pem`.