JavaScript Editor Javascript debugger     Website design 

gnupg_cleardecryptkeys

Removes all keys which were set for decryption before ()
bool gnupg_cleardecryptkeys ( resource identifier )

Return Values

Returns TRUE on success or FALSE on failure.

Examples

Example 828. Procedural gnupg_cleardecryptkeys() example

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


Example 829. OO gnupg_cleardecryptkeys() example

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