JavaScript Editor Javascript debugger     Website design 

gnupg_clearencryptkeys

Removes all keys which were set for encryption before (PECL gnupg:0.5-1.3.1)
bool gnupg_clearencryptkeys ( resource identifier )

Return Values

Returns TRUE on success or FALSE on failure.

Examples

Example 830. Procedural gnupg_clearencryptkeys() example

<?php
$res
= gnupg_init();
gnupg_clearencryptkeys($res);
?>


Example 831. OO gnupg_clearencryptkeys() example

<?php
$gpg
= new gnupg();
$gpg -> clearencryptkeys();
?>