« rnp_backend_version
rnp_dump_packets »

rnp_decrypt

(PECL rnp >= 0.1.1)

rnp_decrypt — Decrypt PGP message

説明

function rnp_decrypt(RnpFFI $ffi, string $input): string|false

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 を返します.

関連キーワード:
message   Decrypt   decrypt   input   used   calling   password   provider   backend   dump   packets   RnpFFI   Private   keys   decryption   loaded   before   encryption   pass   returned   create   Encrypted   Decrypted   success
関連する関数・ページ:
function.rnp-ffi-set-pass-provider   mongodb-driver-clientencryption.decrypt   function.error-log   error.construct   zmqsocket.send   function.rnp-import-keys