PHP Class Jose\Algorithm\Signature\HMAC
It supports algorithms HS256, HS384 and HS512;.
Afficher le fichier
Open project: spomky-labs/jose
Méthodes publiques
Méthode |
Description |
|
sign ( Jose\Object\JWKInterface $key, $input ) |
|
|
verify ( Jose\Object\JWKInterface $key, $input, $signature ) |
|
|
Méthodes protégées
Method Details
checkKey()
protected méthode
protected checkKey ( Jose\Object\JWKInterface $key ) |
$key |
Jose\Object\JWKInterface |
|
getHashAlgorithm()
abstract protected méthode
public sign ( Jose\Object\JWKInterface $key, $input ) |
$key |
Jose\Object\JWKInterface |
|
public verify ( Jose\Object\JWKInterface $key, $input, $signature ) |
$key |
Jose\Object\JWKInterface |
|