rnp_key_export_autocrypt
rnp_key_export_autocrypt
Export minimal key for autocrypt feature (just 5 packets: key, uid, signature, encryption subkey, signature)
**rnp_key_export_autocrypt** RnpFFI $ffi string $key_fp string $subkey_fp string $uid int $flags
ffirnp.parameter.ffi-description
key_fpPrimary key fingerprint.
subkey_fpSubkey to export. Can be an empty string
to pick the first suitable subkey.
uidUser ID to export. Can be an empty string
if exported key has only one uid.
flags
Only is currently supported. Enabling
it would export base64-encoded key data instead of binary.
RNP_KEY_EXPORT_BASE64
OpenPGP packets of exported key on successreturn.falseforfailure.