Module decrypt

Source
Expand description

End-to-end decryption support.

Functionsยง

get_attachment_mime ๐Ÿ”’
Returns a reference to the encrypted payload of a message turned into attachment.
get_autocrypt_mime ๐Ÿ”’
Returns a reference to the encrypted payload of a valid PGP/MIME message.
get_autocrypt_peerstate ๐Ÿ”’
Applies Autocrypt header to Autocrypt peer state and saves it into the database.
get_encrypted_mime ๐Ÿ”’
Returns a reference to the encrypted payload of a message.
get_mixed_up_mime ๐Ÿ”’
Returns a reference to the encrypted payload of a โ€œMixed Upโ€ message.
keyring_from_peerstate ๐Ÿ”’
Returns public keyring for peerstate.
try_decrypt
Tries to decrypt a message, but only if it is structured as an Autocrypt message.
validate_detached_signature ๐Ÿ”’
Validates signatures of Multipart/Signed message part, as defined in RFC 1847.