Signs, encrypts and decrypts data using the openssl extension
Located in /core/security/OpenSSLCrypt.class.php (line 40)
PHP2Go | --OpenSSLCrypt
OpenSSLCertificate object, containing information about the public key
Path to the public key (certificate) path
Latest error message (produced by this class)
Latest internal error (produced by OpenSSL)
Private key's passphrase
Path to the private key file
Private key handle
Public key handle
Whether errors must be thrown
Clear stored keys
Decrypts data using the configured private key
Decrypts the contents of a file, saving the results in another file
Encrypts data using the public key from the certificate
Encrypts the contents of a file, saving the results in another file
Signs data using the configured private key
The generated signature will be returned. Optionally, this signature can be appended in the end of the original string.
Signs the contents of a file
Verifies the validity of the signed value
Verifies the validity of a signed file
Get last error message
Get last internal error message (OpenSSL errors)
Set the public key (certificate) path
Set key's passphrase
Set private key file
Extracts the private key from the file whose path was configured through the setPrivateKeyPath() method
Extracts the public key from the certificate configured through the setCertificatePath() method
Inherited From PHP2Go
PHP2Go::PHP2Go()
PHP2Go::equals()
PHP2Go::generateUniqueId()
PHP2Go::getClassName()
PHP2Go::getConfigVal()
PHP2Go::getLangVal()
PHP2Go::getObjectName()
PHP2Go::getParentName()
PHP2Go::hasDestructor()
PHP2Go::hashCode()
PHP2Go::isA()
PHP2Go::isSubclassOf()
PHP2Go::logError()
PHP2Go::raiseError()
PHP2Go::registerDestructor()
PHP2Go::registerShutdownFunc()
PHP2Go::retrieve()
PHP2Go::store()
PHP2Go::__toString()
Documentation generated on Sun, 07 Oct 2007 19:28:07 -0300 by phpDocumentor 1.3.2