rnp_save_keys_to_path

(PECL rnp >= 0.1.1)

rnp_save_keys_to_pathSave keys to specified path

Descrição

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.

Parâmetros

ffi

O objeto FFI retornado por rnp_ffi_create.

format

O formato de chave dos dados (GPG, KBX, G10).

output_path

File or directory path where keys should be saved to.

flags

Consulte a descrição das flags RNP_LOAD_SAVE_*.

Valor Retornado

Returns true on success ou false em caso de falha.

add a note add a note

User Contributed Notes

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