wopenssl
, (*1)
OpenSSL wrapper classes.
This components allows to manage digital certificates through PHP OpenSSL extension. It also offers basic
encrypt/decrypt of data as well as signature and validation of signature., (*2)
Install
composer require cloudconceptes/wopenssl
, (*3)
or add the reference to do require section of your composer.json
file., (*4)
Usage
Class Certificate
This class allows to create certificates and to get information from them. When creating an instance, it is required
to pass the path to a valid openssl.cnf file.
When creating a certificate, the public key is attached to the certificate. The private key is stored in a pem file., (*5)
Class Signature
Encapsulates signature and signature verification procedures., (*6)
Class Crypt
Offers encrypt and decrypt data. Encryption needs a certificate public key and decryption needs the corresponding
certificate private key., (*7)
Testing instructions
Change to tests directory and execute phpunit
without arguments. phpunit.xml is used to define default settings., (*8)
License
This software is licensed under the GNU GPL v3 license., (*9)