gnupg_deletekey

PECL gnupg >= 0.5
gnupg_deletekey - Delete a key from the keyring
Manual
Code Examples

gnupg_deletekey( resource$identifier, string$key, bool$allow_secret ): bool

Parameters

identifier

The gnupg identifier, from a call to gnupg_init or gnupg.

key

The key to delete.

allow_secret

It specifies whether to delete secret keys as well.

Return Values

Returns true on success or false on failure.

Example of gnupg_deletekey

Show all examples for gnupg_deletekey

PHP Version: