rnp_save_keys
PHP function
Edit on GitHub ✎
(PECL rnp >= 0.1.1)
Save keys to PHP string
Description
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).
Parameters
ffiFfi-description
formatKey-format
outputkey packets will be saved to the string referenced by
output.flagsLoadsave-flags
Return Values
Returns true on successFalseforfailure.