Part.openpgpDecrypt

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

Parameters

flags gmime.types.DecryptFlags

a set of #GMimeDecryptFlags

sessionKey string

the session key to use or null

Return Value

Type: gmime.decrypt_result.DecryptResult

a #GMimeDecryptResult on success or null on error.

Throws