PHP 8.4.2 Released!

rnp_key_remove

(PECL rnp >= 0.1.1)

rnp_key_removeRemove a key from keyring(s)

Beschreibung

rnp_key_remove(RnpFFI $ffi, string $key_fp, int $flags): bool

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

Parameter-Liste

ffi

Das von rnp_ffi_create zurückgegebene FFI-Objekt.

key_fp

Key fingerprint.

flags

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

Rückgabewerte

Returns true on successBei einem Fehler wird false zurückgegeben..

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top