gnupg_clearencryptkeys

(no version information, might be only in CVS)

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

說明

bool gnupg_clearencryptkeys ( resource identifier )

返回值

若果成功則返回 TRUE,失敗則返回 FALSE

範例

例子 1. Procedural gnupg_clearencryptkeys() example

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

例子 2. OO gnupg_clearencryptkeys() example

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