« rnp_ffi_set_pass_provider
rnp_import_signatures »

rnp_import_keys

(PECL rnp >= 0.1.1)

rnp_import_keys — Import keys from PHP string to the keyring and receive JSON describing new/updated keys

説明

function rnp_import_keys(RnpFFI $ffi, string $input, int $flags): string|false

パラメータ

ffi

The FFI object returned by rnp_ffi_create().

input

OpenPGP packets containing key(s) to be loaded. Can be either binary or ASCII armored.

flags

See RNP_LOAD_SAVE_* predefined constants.

戻り値

JSON string with information about new and updated keys on success失敗した場合に false を返します.

関連キーワード:
keys   import   Import   keyring   receive   describing   input   flags   pass   provider   signatures   RnpFFI   returned   create   OpenPGP   packets   containing   loaded   binary   armored   predefined   constants   information   about   success
関連する関数・ページ:
function.rnp-import-signatures   ds-map.keys   function.rnp-load-keys   function.rnp-save-keys   function.rnp-load-keys-from-path   function.rnp-save-keys-to-path