Home
last modified time | relevance | path

Searched refs:Pkcs7 (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/openssl/src/
Dpkcs7.rs24 pub struct Pkcs7;
53 impl Pkcs7 { impl
60 Pkcs7,
68 Pkcs7,
77 pub fn from_smime(input: &[u8]) -> Result<(Pkcs7, Option<Vec<u8>>), ErrorStack> { in from_smime() argument
84 cvt_p(ffi::SMIME_read_PKCS7(input_bio.as_ptr(), &mut bcont_bio)).map(Pkcs7)?; in from_smime()
106 ) -> Result<Pkcs7, ErrorStack> { in encrypt() argument
116 .map(Pkcs7) in encrypt()
133 ) -> Result<Pkcs7, ErrorStack> in sign() argument
146 .map(Pkcs7) in sign()
[all …]
/external/rust/beto-rust/nearby/crypto/crypto_provider_rustcrypto/src/aes/
Dcbc.rs16 use aes::cipher::{block_padding::Pkcs7, BlockDecryptMut, BlockEncryptMut, KeyIvInit};
29 encryptor.encrypt_padded_vec_mut::<Pkcs7>(message) in encrypt()
38 .decrypt_padded_vec_mut::<Pkcs7>(ciphertext) in decrypt()
/external/rust/crates/openssl/
DCHANGELOG.md188 * Added `Pkcs7::from_der` and `Pkcs7Ref::to_der`.