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

Beschreibung

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

Parameter-Liste

ffi

Das von rnp_ffi_create() zurückgegebene FFI-Objekt.

input

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

flags

See RNP_LOAD_SAVE_* predefined constants.

Rückgabewerte

JSON string with information about new and updated keys on successBei einem Fehler wird false zurückgegeben..

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top