Rev 1129 |
Go to most recent revision |
Last modification |
View Log
| RSS feed
Last modification
- Rev 868 2022-07-09 21:33:15
- Author: daniel-marschall
- Log message:
- OID-IP: XML and JSON now have standardized (W3C/RFC) signatures. The OID-IP RFC draft will be edited soon.
PHP - JWS
JSON Web Signature (JWS) library for PHP
There are two signing algorithms implemented:
- Class JwsMac: For HMAC signature using SHA-256, SHA-384 or SHA-512.
- Class JwsRsa: For RSASSA-PKCS1-v1_5 signature using SHA-256, SHA-384 or SHA-512.
Installation:
Using Composer:
$ composer require sergeybrook/php-jws
Or:
- Copy "src" dir to your project (optionally rename it to whatever you want).
- Require class autoloader (included):
<?php
require_once("/autoload.php");
...
Usage:
See /examples
dir.
Specs: