/external/rust/crates/pkcs8/tests/ |
D | private_key.rs | 160 assert_eq!(EC_P256_PEM_EXAMPLE, pk.to_pem(LineEnding::LF).unwrap()); in encode_ec_p256_pem() 167 assert_eq!(ED25519_PEM_V1_EXAMPLE, pk.to_pem(LineEnding::LF).unwrap()); in encode_ed25519_pem() 174 assert_eq!(RSA_2048_PEM_EXAMPLE, pk.to_pem(LineEnding::LF).unwrap()); in encode_rsa_2048_pem() 181 assert_eq!(X25519_PEM_EXAMPLE, pk.to_pem(LineEnding::LF).unwrap()); in encode_x25519_pem()
|
D | encrypted_private_key.rs | 216 pk.to_pem(Default::default()).unwrap() in encode_ed25519_encpriv_aes256_pbkdf2_sha256_pem()
|
/external/rust/crates/spki/tests/ |
D | spki.rs | 138 let pk_encoded = pk.to_pem(LineEnding::LF).unwrap(); in encode_ec_p256_pem() 146 let pk_encoded = pk.to_pem(LineEnding::LF).unwrap(); in encode_ed25519_pem() 154 let pk_encoded = pk.to_pem(LineEnding::LF).unwrap(); in encode_rsa_2048_pem()
|
/external/rust/crates/der/tests/ |
D | pem.rs | 63 fn to_pem() { in to_pem() function 65 let pem = spki.to_pem(LineEnding::LF).unwrap(); in to_pem()
|
/external/rust/crates/der/src/ |
D | document.rs | 94 pub fn to_pem(&self, label: &'static str, line_ending: pem::LineEnding) -> Result<String> { in to_pem() method 128 let pem = self.to_pem(label, line_ending)?; in write_pem_file() 249 pub fn to_pem( in to_pem() method 254 self.0.to_pem(label, line_ending).map(Zeroizing::new) in to_pem() 287 write_secret_file(path, self.to_pem(label, line_ending)?.as_bytes()) in write_pem_file()
|
D | encode.rs | 95 fn to_pem(&self, line_ending: LineEnding) -> Result<String>; in to_pem() method 101 fn to_pem(&self, line_ending: LineEnding) -> Result<String> { in to_pem() method
|
/external/rust/crates/openssl/src/ |
D | cms.rs | 130 to_pem! { 133 to_pem, 294 let encrypted_pem = encrypt.to_pem().expect("failed to create pem from cms"); in cms_encrypt_decrypt()
|
D | pkcs7.rs | 168 to_pem! { 173 to_pem,
|
D | rsa.rs | 254 to_pem! { 270 to_pem! {
|
D | macros.rs | 76 macro_rules! to_pem { macro
|
D | dh.rs | 27 to_pem! {
|
D | dsa.rs | 85 to_pem! {
|
D | ec.rs | 688 to_pem! {
|
D | pkey.rs | 207 to_pem! {
|
/external/rust/crates/pkcs8/src/ |
D | traits.rs | 114 Ok(doc.to_pem(PrivateKeyInfo::PEM_LABEL, line_ending)?) in to_pkcs8_pem() 128 Ok(doc.to_pem(EncryptedPrivateKeyInfo::PEM_LABEL, line_ending)?) in to_pkcs8_encrypted_pem()
|
/external/rust/crates/pkcs1/src/ |
D | traits.rs | 120 Ok(doc.to_pem(RsaPrivateKey::PEM_LABEL, line_ending)?) in to_pkcs1_pem() 151 Ok(doc.to_pem(RsaPublicKey::PEM_LABEL, line_ending)?) in to_pkcs1_pem()
|
/external/rust/crates/spki/src/ |
D | traits.rs | 73 Ok(doc.to_pem(SubjectPublicKeyInfo::PEM_LABEL, line_ending)?) in to_public_key_pem()
|
/external/rust/crates/openssl/src/x509/ |
D | mod.rs | 587 to_pem! { 592 to_pem, 603 to_pem! { 1347 to_pem! { 1355 to_pem, 1369 to_pem! {
|
/external/rust/crates/sec1/src/ |
D | traits.rs | 78 Ok(doc.to_pem(EcPrivateKey::PEM_LABEL, line_ending)?) in to_sec1_pem()
|
/external/rust/beto-rust/nearby/scripts/openssl-patches/ |
D | 0001-Apply-Android-changes.patch | 1132 + to_pem! { 1137 + to_pem, 1148 + to_pem! { 1892 + to_pem! { 1900 + to_pem, 1914 + to_pem! {
|
/external/rust/crates/openssl/ |
D | CHANGELOG.md | 210 * Added `EcPointRef::{to_pem, to_dir}` and `EcKeyRef::{public_key_from_pem, public_key_from_der}`. 290 * Added `CmsContentInfoRef::to_pem` and `CmsContentInfo::from_pem`.
|