PHP.nl

rnp_key_remove

rnp_key_remove

Remove a key from keyring(s)

bool **rnp_key_remove** RnpFFI $ffi string $key_fp int $flags

Note: you need to call to write updated keyring(s) out. rnp_save_keys

ffirnp.parameter.ffi-description

key_fpKey fingerprint.

flags See constants. Flag will work only for the primary key and will remove all of its subkeys as well. RNP_KEY_REMOVE_*``RNP_KEY_REMOVE_SUBKEYS

Returns true on successreturn.falseforfailure.