deltachat::decrypt

Function get_autocrypt_mime

source
fn get_autocrypt_mime<'a, 'b>(
    mail: &'a ParsedMail<'b>,
) -> Option<&'a ParsedMail<'b>>
Expand description

Returns a reference to the encrypted payload of a valid PGP/MIME message.

Returns None if the message is not a valid PGP/MIME message.