Creates a new #GMimeAutocryptHeaderList of relevant headers of the given type based on the recipient(s) of an e-mail message.
Returns the same object as #g_mime_message_get_autocrypt_gossip_headers_with_inner_part , but handles decryption and cleanup automatically.
flags and session_key are passed through to #g_mime_multipart_encrypted_decrypt, as needed.
If the message is not actually an encrypted message, returns null: it should be ignored for purposes of evaluating gossip.
If decryption fails, returns null. In this case, an exception will be set on err to provide information about the decryption failure.
a #GDateTime object, or null
a #GMimeDecryptFlags, to be used during decryption
session key to use or null
a new #GMimeAutocryptHeaderList object, or null on error.
ErrorWrap
Creates a new #GMimeAutocryptHeaderList of relevant headers of the given type based on the recipient(s) of an e-mail message.
Returns the same object as #g_mime_message_get_autocrypt_gossip_headers_with_inner_part , but handles decryption and cleanup automatically.
flags and session_key are passed through to #g_mime_multipart_encrypted_decrypt, as needed.
If the message is not actually an encrypted message, returns null: it should be ignored for purposes of evaluating gossip.
If decryption fails, returns null. In this case, an exception will be set on err to provide information about the decryption failure.