/external/rust/crates/openssl/src/x509/ |
D | tests.rs | 36 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 …]
|
D | mod.rs | 663 from_pem! { 668 from_pem, 1321 from_pem! { 1329 from_pem,
|
/external/rust/crates/openssl/src/ |
D | pkcs7.rs | 54 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()
|
D | cms.rs | 159 from_pem! { 162 from_pem, 296 CmsContentInfo::from_pem(&encrypted_pem).expect("failed read cms from pem"); in cms_encrypt_decrypt()
|
D | macros.rs | 3 from_pem!($(#[$m])* $n, $t, $f); 120 macro_rules! from_pem { macro
|
D | rsa.rs | 386 from_pem! { 396 from_pem! {
|
D | dh.rs | 108 from_pem! {
|
D | dsa.rs | 239 from_pem! {
|
D | ec.rs | 836 from_pem! {
|
D | pkey.rs | 740 from_pem! {
|
/external/rust/crates/der/tests/ |
D | pem.rs | 48 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/ |
D | decode.rs | 58 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
|
D | document.rs | 85 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/ |
D | traits.rs | 50 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/ |
D | traits.rs | 43 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/ |
D | traits.rs | 37 let (label, doc) = Document::from_pem(s)?; in from_public_key_pem()
|
/external/rust/crates/sec1/src/ |
D | traits.rs | 40 let (label, doc) = SecretDocument::from_pem(s)?; in from_sec1_pem()
|
/external/rust/crates/openssl/src/ssl/test/ |
D | mod.rs | 75 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/ |
D | 0001-Apply-Android-changes.patch | 1208 + from_pem! { 1213 + from_pem, 1866 + from_pem! { 1874 + from_pem,
|
/external/rust/crates/openssl/ |
D | CHANGELOG.md | 290 * Added `CmsContentInfoRef::to_pem` and `CmsContentInfo::from_pem`.
|