GNUPG_CLEARENCRYPTKEYS(3) 1 GNUPG_CLEARENCRYPTKEYS(3)
gnupg_clearencryptkeys - Removes all keys which were set for encryption before
SYNOPSIS
bool gnupg_clearencryptkeys (resource $identifier)
DESCRIPTION
PARAMETERS
o $identifier
-The gnupg identifier, from a call to gnupg_init(3) or gnupg.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Procedural gnupg_clearencryptkeys(3) example
<?php
$res = gnupg_init();
gnupg_clearencryptkeys($res);
?>
Example #2
OO gnupg_clearencryptkeys(3) example
<?php
$gpg = new gnupg();
$gpg -> clearencryptkeys();
?>
PHP Documentation Group GNUPG_CLEARENCRYPTKEYS(3)