rnp_import_keys
PHP Manual
PHP Manual»Rnp İşlevleri»rnp_import_keys

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

Açıklama

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

Bağımsız Değişkenler

ffi

rnp_ffi_create tarafından döndürülen FFI nesnesi.

input

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

flags

See RNP_LOAD_SAVE_* predefined constants.

Dönen Değerler

JSON string with information about new and updated keys on success başarısızlık durumunda false döner.

To Top