(PECL gnupg:0.5-1.3.1)
gnupg_clearencryptkeys — Supprime toutes les clés qui étaient fixées pour chiffrement auparavant
L'identifiant gnupg, généré par un appel à la fonction gnupg_init() ou à la fonction gnupg.
Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.
Exemple #1 Exemple avec gnupg_clearencryptkeys() (Style procédural)
<?php
$res = gnupg_init();
gnupg_clearencryptkeys($res);
?>
Exemple #2 Exemple avec gnupg_clearencryptkeys() (Style orienté objet)
<?php
$gpg = new gnupg();
$gpg -> clearencryptkeys();
?>