Home
last modified time | relevance | path

Searched defs:SecretDocument (Results 1 – 11 of 11) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/der/src/
Ddocument.rs47 pub fn into_secret(self) -> SecretDocument { in into_secret()
201 pub struct SecretDocument(Document); struct
204 impl SecretDocument { implementation
276 impl Debug for SecretDocument { implementation
283 impl Drop for SecretDocument { implementation
290 impl From<Document> for SecretDocument { implementation
291 fn from(doc: Document) -> SecretDocument { in from()
297 impl TryFrom<&[u8]> for SecretDocument { implementation
306 impl TryFrom<Vec<u8>> for SecretDocument { implementation
315 impl ZeroizeOnDrop for SecretDocument {} implementation
/aosp_15_r20/external/rust/android-crates-io/crates/pkcs8/src/
Dencrypted_private_key_info.rs56 pub fn decrypt(&self, password: impl AsRef<[u8]>) -> Result<SecretDocument> { in decrypt()
70 ) -> Result<SecretDocument> { in encrypt()
88 ) -> Result<SecretDocument> { in encrypt_with()
145 impl TryFrom<EncryptedPrivateKeyInfo<'_>> for SecretDocument { implementation
148 fn try_from(encrypted_private_key: EncryptedPrivateKeyInfo<'_>) -> Result<SecretDocument> { in try_from()
154 impl TryFrom<&EncryptedPrivateKeyInfo<'_>> for SecretDocument { implementation
157 fn try_from(encrypted_private_key: &EncryptedPrivateKeyInfo<'_>) -> Result<SecretDocument> { in try_from()
Dprivate_key_info.rs142 ) -> Result<SecretDocument> { in encrypt()
154 ) -> Result<SecretDocument> { in encrypt_with_params()
254 impl TryFrom<PrivateKeyInfo<'_>> for SecretDocument { implementation
257 fn try_from(private_key: PrivateKeyInfo<'_>) -> Result<SecretDocument> { in try_from()
263 impl TryFrom<&PrivateKeyInfo<'_>> for SecretDocument { implementation
266 fn try_from(private_key: &PrivateKeyInfo<'_>) -> Result<SecretDocument> { in try_from()
Dtraits.rs95 fn to_pkcs8_der(&self) -> Result<SecretDocument>; in to_pkcs8_der()
104 ) -> Result<SecretDocument> { in to_pkcs8_encrypted_der()
/aosp_15_r20/external/rust/android-crates-io/crates/pkcs1/src/
Dprivate_key.rs184 impl TryFrom<RsaPrivateKey<'_>> for SecretDocument { implementation
187 fn try_from(private_key: RsaPrivateKey<'_>) -> Result<SecretDocument> { in try_from()
193 impl TryFrom<&RsaPrivateKey<'_>> for SecretDocument { implementation
196 fn try_from(private_key: &RsaPrivateKey<'_>) -> Result<SecretDocument> { in try_from()
Dtraits.rs107 fn to_pkcs1_der(&self) -> Result<SecretDocument>; in to_pkcs1_der()
186 fn to_pkcs1_der(&self) -> Result<SecretDocument> { in to_pkcs1_der()
/aosp_15_r20/external/rust/android-crates-io/crates/sec1/src/
Dtraits.rs63 fn to_sec1_der(&self) -> Result<SecretDocument>; in to_sec1_der()
113 fn to_sec1_der(&self) -> Result<SecretDocument> { in to_sec1_der()
Dprivate_key.rs157 impl TryFrom<EcPrivateKey<'_>> for SecretDocument { implementation
166 impl TryFrom<&EcPrivateKey<'_>> for SecretDocument { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/sec1/tests/
Dtraits.rs40 fn to_sec1_der(&self) -> Result<SecretDocument> { in to_sec1_der()
/aosp_15_r20/external/rust/android-crates-io/crates/pkcs1/tests/
Dtraits.rs40 fn to_pkcs1_der(&self) -> Result<SecretDocument> { in to_pkcs1_der()
/aosp_15_r20/external/rust/android-crates-io/crates/pkcs8/tests/
Dtraits.rs34 fn to_pkcs8_der(&self) -> Result<SecretDocument> { in to_pkcs8_der()