Data to be decrypted.
Parameters for OpenPGP message decryption.
Passphrase to unlock the private key for decryption.
Armored encrypted message to decrypt.
Armored public key of the sender for signature verification.
OptionalprivateKey?: stringOptional armored private key used for decryption.
decrypt
Decrypts a message with the user's private key, a session key or a password. One of
decryptionKeys,sessionkeysorpasswordsmust be specified (passing a combination of these options is not supported).