IMP_PGPThe IMP_PGP:: class contains all functions related to handling PGP messages within IMP.
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
Located in /lib/Crypt/PGP.php (line 28)
Horde_Crypt_pgp | --IMP_PGP
string
decryptMessage
(string $text, [boolean $symmetric_hint = null], [boolean $passphrase = true])
PEAR_Error
generatePersonalKeys
( $name, string $email, string $passphrase, [string $comment = ''], [string $keylength = 1024], string $realname)
MIME_Part
IMPsignAndEncryptMIMEPart
(MIME_Part $mime_part, array $addresses, [boolean $symmetric = false])
Constructor IMP_PGP (line 40)
Constructor
addPersonalPrivateKey (line 87)
Add the personal private key to the prefs.
addPersonalPublicKey (line 76)
Add the personal public key to the prefs.
addPublicKey (line 131)
Add a public key to an address book.
decryptMessage (line 547)
Decrypt a message with user's public/private keypair or a passphrase.
deletePersonalKeys (line 115)
Deletes the specified personal keys from the prefs.
deletePublicKey (line 260)
Deletes a public key from a user's address book(s) by e-mail.
generatePersonalKeys (line 57)
Generate the personal Public/Private keypair and store in prefs.
getFromPublicKeyserver (line 444)
Get a public key via a public PGP keyserver.
getJSOpenWinCode (line 667)
Print out the link for the javascript PGP popup.
getPassphrase (line 569)
Gets the user's passphrase from the session cache.
getPersonalPrivateKey (line 107)
Get the personal private key from the prefs.
getPersonalPublicKey (line 97)
Get the personal public key from the prefs.
getPublicKey (line 179)
Retrieves a public key by e-mail.
First, the key is attempted to be retrieved through a hook. Second, the key is attempted to be retrieved from the user's address book(s). Third, the key is attempted to be retrieved via a public PGP keyserver.
getSignedMessage (line 398)
Returns the signed data only for a plaintext signed MIME_Part.
getSymmetricPassphrase (line 582)
Gets the user's passphrase for symmetric encryption from the session cache.
IMPencryptMIMEPart (line 760)
Encrypt a MIME_Part using PGP using IMP default parameters.
IMPsignAndEncryptMIMEPart (line 780)
Sign and Encrypt a MIME_Part using PGP using IMP default parameters.
IMPsignMIMEPart (line 744)
Sign a MIME_Part using PGP using IMP default parameters.
listPublicKeys (line 247)
Retrieves all public keys from a user's address book(s).
parseMessage (line 293)
Parse a message into its PGP components.
parseMessageOutput (line 350)
Renders a text message with PGP components.
publicKeyMIMEPart (line 796)
Generate a MIME_Part object, in accordance with RFC 2015/3156, that contains the user's public key.
savePublicKeyURL (line 644)
Generates the javascript code for saving public keys.
sendToPublicKeyserver (line 456)
Send a public key to a public PGP keyserver.
storePassphrase (line 596)
Store's the user's passphrase in the session cache.
storeSymmetricPassphrase (line 614)
Store's the user's passphrase for symmetric encryption in the session cache.
unsetPassphrase (line 623)
Clear the passphrase from the session cache.
unsetSymmetricPassphrase (line 631)
Clear the passphrase for symmetric encryption from the session cache.
verifySignature (line 505)
Verifies a signed message with a given public key.
Documentation generated on Sun, 30 Jan 2011 05:28:15 +0000 by phpDocumentor 1.4.3