rnp_key_remove
(PECL rnp >= 0.1.1)
rnp_key_remove — Remove a key from keyring(s)
说明
Note: you need to call rnp_save_keys() to write updated keyring(s) out.
参数
ffi-
The FFI object returned by rnp_ffi_create().
key_fp-
Key fingerprint.
flags-
See
RNP_KEY_REMOVE_*constants. FlagRNP_KEY_REMOVE_SUBKEYSwill work only for the primary key and will remove all of its subkeys as well.