PHP.nl

rnp_import_keys

rnp_import_keys

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

 **rnp_import_keys** RnpFFI $ffi string $input int $flags

ffirnp.parameter.ffi-description

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

flags See predefined constants. RNP_LOAD_SAVE_*

JSON string with information about new and updated keys on successreturn.falseforfailure.