Add info about usage to php and jvm

This commit is contained in:
Mikołaj Pich 2018-10-14 01:07:33 +02:00
parent b6def8697c
commit e8564ec811
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA
2 changed files with 20 additions and 2 deletions

View file

@ -16,6 +16,14 @@ dependencies {
}
```
## Usage
```kotlin
import io.github.wulkanowy.signer.signContent
val signed = signContent(password, certificate, content)
```
## Tests
```bash

View file

@ -4,12 +4,22 @@
## Instalation
Via composer:
```bash
$ composer require wulkanowy/uonet-request-signer dev-master
```
## Usage
```php
<?php
use function Wulkanowy\UonetRequestSigner\signContent;
require 'vendor/autoload.php';
$signed = signContent($password, $certificate, $content);
```
## Tests
```bash