Searched refs:Encrypter (Results 1 – 2 of 2) sorted by relevance
54 pub struct Encrypter<'a> { struct59 unsafe impl<'a> Sync for Encrypter<'a> {} argument60 unsafe impl<'a> Send for Encrypter<'a> {} implementation62 impl<'a> Drop for Encrypter<'a> { implementation70 impl<'a> Encrypter<'a> { implementation76 pub fn new<T>(pkey: &'a PKeyRef<T>) -> Result<Encrypter<'a>, ErrorStack> in new()90 Ok(Encrypter { in new()480 use crate::encrypt::{Decrypter, Encrypter};497 let mut encrypter = Encrypter::new(&pkey).unwrap(); in rsa_encrypt_decrypt()524 let mut encrypter = Encrypter::new(&pkey).unwrap(); in rsa_encrypt_decrypt_with_sha256()[all …]
276 * Added `Encrypter::set_rsa_oaep_label`.