The Horde_Crypt:: class provides an API for various cryptographic systems used by Horde applications.
$Horde: framework/Crypt/Crypt.php,v 1.27.10.16 2009/01/06 15:23:00 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Crypt/Crypt.php (line 17)
Class | Description |
---|---|
![]() |
Horde_Crypt_pgp:: provides a framework for Horde applications to interact with the GNU Privacy Guard program ("GnuPG"). GnuPG implements the OpenPGP standard (RFC 2440). |
![]() |
Horde_Crypt_smime:: provides a framework for Horde applications to interact with the OpenSSL library and implement S/MIME. |
Decrypt the requested data.
This method should be provided by all classes that extend Horde_Crypt.
Encrypt the requested data.
This method should be provided by all classes that extend Horde_Crypt.
Attempts to return a concrete Horde_Crypt instance based on $driver.
Outputs error message if we are not using a secure connection.
Attempts to return a reference to a concrete Horde_Crypt instance based on $driver. It will only create a new instance if no Horde_Crypt instance with the same parameters currently exists.
This should be used if multiple crypto backends (and, thus, multiple Horde_Crypt instances) are required.
This method must be invoked as: $var = &Horde_Crypt::singleton()
Documentation generated on Sun, 30 Jan 2011 05:16:07 +0000 by phpDocumentor 1.4.3