rnp_decrypt

Decrypt PGP message

説明

stringfalse rnp_decrypt(RnpFFI $ffi, string $input)

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失敗した場合に false を返します.