Part.openpgpDecrypt

gmime.decrypt_result.DecryptResult openpgpDecrypt(gmime.types.DecryptFlags flags, string sessionKey = null)

Decrypts the content of the mime_part and then replaces the content with the new, decrypted, content.

Parameters

flagsa set of #GMimeDecryptFlags
sessionKeythe session key to use or null

Returns

a #GMimeDecryptResult on success or null on error.

Throws

[ErrorWrap]