gnupg_clearencryptkeys

(no version information, might be only in CVS)

gnupg_clearencryptkeys -- Removes all keys which were set for encryption before

Leírás

bool gnupg_clearencryptkeys ( resource identifier )

Visszatérési értékek

Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.

Példák

Példa 1. Procedural gnupg_clearencryptkeys() example

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

Példa 2. OO gnupg_clearencryptkeys() example

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