(PECL rnp >= 0.1.1)
rnp_save_keys — Save keys to PHP string
$ffi
$format
&$output
$flags
Note that for G10, the output must be a directory (which must already exist).
ffi
format
output
flags
RNP_LOAD_SAVE_*
Returns true on success or false on failure.
true
false