cloudconceptes / wopenssl
OpenSSL wrapper classes
Requires
- php: >=5.6.0
Requires (Dev)
- cvuorinen/phpdoc-markdown-public: >=0.1.2
- phpunit/phpunit: >=5.6.2
This package is not auto-updated.
Last update: 2025-01-19 02:50:57 UTC
README
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.
##Install
composer require cloudconceptes/wopenssl
or add the reference to do require section of your composer.json
file.
##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. ###Class Signature Encapsulates signature and signature verification procedures. ###Class Crypt Offers encrypt and decrypt data. Encryption needs a certificate public key and decryption needs the corresponding certificate private key.
##Testing instructions
Change to tests directory and execute phpunit
without arguments. phpunit.xml is used to define default settings.
##License This software is licensed under the GNU GPL v3 license.