Function openpgp_card_sequoia::sq_util::decryption_helper
source · [−]pub fn decryption_helper<D>(
d: D,
msg: Vec<u8>,
p: &dyn Policy
) -> Result<Vec<u8>> where
D: VerificationHelper + DecryptionHelper,
Expand description
Produce decrypted plaintext from a VerificationHelper+DecryptionHelper
d
and the ciphertext msg
.