(PECL rnp >= 0.1.1)
rnp_decrypt — Decrypt PGP message
Private keys used for decryption should be loaded into the FFI object before calling this function. If password encryption was used, then password provider should be set by calling rnp_ffi_set_pass_provider().
ffi
The FFI object returned by rnp_ffi_create.
input
Encrypted message.
Decrypted message on success or false
on failure.