fixed memleak in keylistiterator

added encryptsign and decryptverify
moved gpgme-init into objects_new
This commit is contained in:
Thilo Raufeisen 2005-10-09 15:55:02 +00:00
parent f70929193a
commit 6bacc28bb6
6 changed files with 231 additions and 112 deletions

14
README
View file

@ -129,3 +129,17 @@ Methods
- string decrypt(string enctext)
decrypts the given enctext
- string encryptsign(string text)
encrypts and signs the given text with the keys, whicih are set with setencryptkey and setsignerkey
- array decryptverify(string text, string &plaintext)
verifies the given clearsigned text and returns information about the result in an array
the plaintext is passed into $plaintext
gnupg_keylistiterator
---------------------
This extension comes with an iterator for looping through the keyring
see examples/keylistiterator.php
if an argument is passed in the constructor, only keys that are matching this argument gets returned