rnp_key_export_autocrypt
(PECL rnp >= 0.1.1)
Export minimal key for autocrypt feature (just 5 packets: key, uid, signature, encryption subkey, signature)
Description
Parameters
ffiFfi-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.
flagsOnly
RNP_KEY_EXPORT_BASE64is currently supported. Enabling it would export base64-encoded key data instead of binary.
Return Values
OpenPGP packets of exported key on successFalseforfailure.