PHP 8.2.4 Released!

rnp_save_keys

(PECL rnp >= 0.1.1)

rnp_save_keysSave keys to PHP string

Описание

rnp_save_keys(
    RnpFFI $ffi,
    string $format,
    string &$output,
    int $flags
): bool

Note that for G10, the output must be a directory (which must already exist).

Список параметров

ffi

Объект FFI, возвращаемый функцией rnp_ffi_create.

format

Формат ключа данных (GPG, KBX, G10).

output

key packets will be saved to the string referenced by output.

flags

Смотрите описание флагов RNP_LOAD_SAVE_*.

Возвращаемые значения

Returns true on success или false в случае возникновения ошибки.

add a note

User Contributed Notes

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