rnp_load_keys
PHP function
Edit on GitHub ✎
(PECL rnp >= 0.1.1)
Load keys from PHP string
Description
rnp_load_keys(RnpFFI $ffi, string $format, string $input, int $flags): bool
Note that for G10, the input must be a directory (which must already exist).
Parameters
ffiFfi-description
formatKey-format
inputOpenPGP packets containing key(s) to be loaded. Can be either binary or ASCII armored.
flagsLoadsave-flags
Return Values
Returns true on successFalseforfailure.