Méthode | Description | |
---|---|---|
sign ( Jose\Object\JWKInterface $key, $data ) | ||
verify ( Jose\Object\JWKInterface $key, $data, $signature ) |
Méthode | Description | |
---|---|---|
getGenerator ( ) : Mdanter\Ecc\Primitives\GeneratorPoint | ||
getHashAlgorithm ( ) : string | ||
getSignaturePartLength ( ) : integer |
Méthode | Description | |
---|---|---|
checkKey ( Jose\Object\JWKInterface $key ) | ||
convertBase64ToGmp ( $value ) : resource | ||
convertBinToHex ( string $value ) | ||
convertDecToHex ( $value ) : string | ||
convertHexToBin ( string $value ) : string | ||
convertHexToGmp ( string $value ) : resource | ||
getOpenSSLSignature ( Jose\Object\JWKInterface $key, string $data ) : string | ||
getPHPECCSignature ( Jose\Object\JWKInterface $key, string $data ) : string | ||
verifyOpenSSLSignature ( Jose\Object\JWKInterface $key, string $data, string $R, string $S ) : boolean | ||
verifyPHPECCSignature ( Jose\Object\JWKInterface $key, string $data, string $R, string $S ) : boolean |
abstract protected getGenerator ( ) : Mdanter\Ecc\Primitives\GeneratorPoint | ||
Résultat | Mdanter\Ecc\Primitives\GeneratorPoint |
abstract protected getHashAlgorithm ( ) : string | ||
Résultat | string |
abstract protected getSignaturePartLength ( ) : integer | ||
Résultat | integer |
public sign ( Jose\Object\JWKInterface $key, $data ) | ||
$key | Jose\Object\JWKInterface |
public verify ( Jose\Object\JWKInterface $key, $data, $signature ) | ||
$key | Jose\Object\JWKInterface |