pub fn try_decrypt<'a>(
mail: &'a ParsedMail<'a>,
private_keyring: &'a [SignedSecretKey],
) -> Result<Option<Message<'static>>>
Expand description
Tries to decrypt a message, but only if it is structured as an Autocrypt message.
If successful and the message is encrypted, returns decrypted body.