Dutch PHP Conference 2025 - Call For Papers

rnp_save_keys_to_path

(PECL rnp >= 0.1.1)

rnp_save_keys_to_pathSave keys to specified path

Опис

rnp_save_keys_to_path(
    RnpFFI $ffi,
    string $format,
    string $output_path,
    int $flags
): bool

Saves keys present in the FFI object (loaded or generated) to the specified file or directory.

Параметри

ffi

Об'єкт FFI, якого повертає rnp_ffi_create.

format

Ключовий формат даних (GPG, KBX, G10).

output_path

File or directory path where keys should be saved to.

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