mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-04 05:11:34 +00:00
split the iterator into separate file
generic code cleanup updated package-xmls
This commit is contained in:
parent
6bacc28bb6
commit
af81003551
7 changed files with 321 additions and 211 deletions
6
README
6
README
|
|
@ -41,6 +41,9 @@ Notes
|
|||
- This extension is class based
|
||||
No "global" constants are defined. Only class constants
|
||||
|
||||
- To specify a custom location of you keyring, simply store the path in the enviroment-variable GNUPGHOME
|
||||
This should make it easy, to use this extension with the apache-user.
|
||||
|
||||
SIG_MODE_NORMAL
|
||||
SIG_MODE_DETACH
|
||||
SIG_MODE_CLEAR
|
||||
|
|
@ -126,12 +129,13 @@ Methods
|
|||
- array verify(string text [, string &plaintext])
|
||||
verifies the given clearsigned text and returns information about the result in an array
|
||||
if plaintext is passed, it is filled with the plaintext (the text without signature)
|
||||
currently only cleartext-signatures are supported
|
||||
|
||||
- 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
|
||||
encrypts and signs the given text with the keys, which 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue