openpgp_decrypt


Description:

public DecryptResult? openpgp_decrypt (DecryptFlags flags, string? session_key) throws Error

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

Parameters:

this

a Part

flags

a set of DecryptFlags

session_key

the session key to use or null

Returns:

a DecryptResult on success or null on error.