PHP 8.4.2 Released!

rnp_import_keys

(PECL rnp >= 0.1.1)

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

Опис

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

Параметри

ffi

Об'єкт FFI, якого повертає 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 в разі помилки.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top