(PECL rnp >= 0.1.1)
rnp_key_export_revocation — Generate and export primary key revocation signature
$ffi,$key_fp,$flags,$options = ?Note: to revoke a key you'll need to import this signature into the keystore or use rnp_key_revoke() function.
ffiThe FFI object returned by rnp_ffi_create().
key_fpKey fingerprint of the primary key to be revoked.
flags
      RNP_KEY_EXPORT_ARMORED or 0.
     
optionsAn associative array with options.
| Key | Data type | Description | 
|---|---|---|
| "hash" | string | Set hash algorithm used during signature calculation. | 
| "code" | string | Code reason for revocation code. Possible values: 'no', 'superseded', 'compromised', 'retired'. If not defined, then value 'no' will be used by default. | 
| "reason" | string | Textual representation of the reason for revocation. | 
   Exported revocation signature on success or false on failure.
  
