array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'function.gnupg-clearencryptkeys.php', 1 => 'gnupg_clearencryptkeys', ), 'up' => array ( 0 => 'ref.gnupg.php', 1 => 'Funciones de GnuPG', ), 'prev' => array ( 0 => 'function.gnupg-cleardecryptkeys.php', 1 => 'gnupg_cleardecryptkeys', ), 'next' => array ( 0 => 'function.gnupg-clearsignkeys.php', 1 => 'gnupg_clearsignkeys', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/gnupg/functions/gnupg-clearencryptkeys.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gnupg >= 0.5)
gnupg_clearencryptkeys — Elimina todas las llaves establecidas anteriormente paraencriptar
Ejemplo #1 Ejemplo de gnupg_clearencryptkeys() mediante funciones
<?php
$res = gnupg_init();
gnupg_clearencryptkeys($res);
?>
Ejemplo #2 Ejemplo de gnupg_clearencryptkeys() mediante OO
<?php
$gpg = new gnupg();
$gpg -> clearencryptkeys();
?>