library akm
Connection library for the Townsend AKM.
townsend/akm
Connection library for the Townsend AKM.
- Tuesday, June 13, 2017
- by tynor
- Repository
- 5 Watchers
- 0 Stars
- 42 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 8 % Grown
Townsend Security PHP AKM Connection Library
Example
use TownsendSecurity\Akm;
use TownsendSecurity\KeyServer;
$akm = new Akm();
$key_server = new KeyServer(
$server_name,
$server_host,
$path_to_local_cert,
$path_to_ca_cert
);
$akm->addKeyServer($key_server);
$saved_key = $akm->getKeyValue('my_key');
$encrypted_data = $akm->encrypt('test data', 'my_key');
$plaintext = $akm->decrypt($encrypted_data);
assert($plaintext === 'test data');
dev-master
9999999-dev
Connection library for the Townsend AKM.
Sources
Download
MIT
The Requires
The Development Requires
by
Tynor Fujimoto
v1.0.0
1.0.0.0
Connection library for the Townsend AKM.
Sources
Download
MIT
The Requires
The Development Requires
by
Tynor Fujimoto