(PECL rnp >= 0.1.1)
rnp_key_revoke — Revoke a key or subkey by generating and adding revocation signature
Note: you need to call rnp_save_keys() to write updated keyring(s) out.
ffiОб'єкт FFI, якого повертає rnp_ffi_create.
key_fpKey fingerprint.
flagsCurrently must be 0.
optionsAn associative array with options.
| Key | Data type | Опис |
|---|---|---|
"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. |