rnp_save_keys_to_path
PHP function
Edit on GitHub ✎
(PECL rnp >= 0.1.1)
Save keys to specified path
Description
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.
Parameters
ffiFfi-description
formatKey-format
output_pathFile or directory path where keys should be saved to.
flagsLoadsave-flags
Return Values
Returns true on successFalseforfailure.