note 71021 added to ref.gnupg
| From: | phplist2REMOVEATREMtincanOVE dot co dot uk at osu1 dot php dot net | Date: | Wed, 08 Nov 2006 17:20:55 +0000 |
| Subject: | note 71021 added to ref.gnupg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119518@lists.php.net to get a copy of this message | ||
There's a function/method missing in the list.
gnupg_deletekey
(no version information, might be only in CVS)
gnupg_deletekey -- Signs a given text
Description
bool gnupg_deletekey ( resource identifier, string key, [bool allowsecret] )
Deletes the key from the keyring. If allowsecret is not set or FALSE it will fail on deleting secret
keys.
Return Values
On success, this function returns TRUE. On failure, this function returns FALSE.
Examples
Example 1. Procedural gnupg_deletekey() example
<?php
$res = gnupg_init();
gnupg_deletekey($res,"8660281B6051D071D94B5B230549F9DC851566DC");
?>
Example 2. OO gnupg_deletekey() example
<?php
$gpg = new gnupg();
$gpg -> deletekey("8660281B6051D071D94B5B230549F9DC851566DC");
?>
----
Server IP: 201.216.232.3
Probable Submitter: 201.235.113.141
----
Manual Page -- http://www.php.net/manual/en/ref.gnupg.php
Edit -- https://master.php.net/note/edit/71021
Del: integrated -- https://master.php.net/note/delete/71021/integrated
Del: useless -- https://master.php.net/note/delete/71021/useless
Del: bad code -- https://master.php.net/note/delete/71021/bad+code
Del: spam -- https://master.php.net/note/delete/71021/spam
Del: non-english -- https://master.php.net/note/delete/71021/non-english
Del: in docs -- https://master.php.net/note/delete/71021/in+docs
Del: other reasons-- https://master.php.net/note/delete/71021
Reject -- https://master.php.net/note/reject/71021
Search -- https://master.php.net/manage/user-notes.php