kastela-sdp / kastela-sdk-php
Kastela SDK for PHP
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/kastela-sdp/kastela-sdk-php
README
Related Link
Installation
Add to composer.json
{
"require": {
...
"kastela-sdp/kastela-sdk-php": "0.6.2"
}
}
run
php composher update
Usage Example
Credential is required when using the SDK, download it on the entities page.
$kastelaClient = new Client("server.url", "ca/path.crt", "client/credential/path.crt", "client/credential/path.key", ); // decrypt data with id 1,2,3,4,5 $data = $kastelaClient->protection_open(new ProtectionOpenInput("id", ["token1", "token2"]));