PHP Class Lcobucci\JWT\Signer\Ecdsa\SignatureSerializer

Since: 4.0.0
Author: Luís Otávio Cobucci Oblonczyk ([email protected])
Afficher le fichier Open project: lcobucci/jwt Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Mdanter\Ecc\Math\GmpMathInterface $mathInterface )
parse ( string $expected, string $algorithm ) : Mdanter\Ecc\Crypto\Signature\SignatureInterface
serialize ( Mdanter\Ecc\Crypto\Signature\SignatureInterface $signature, string $algorithm ) : string

Private Methods

Méthode Description
addPadding ( GMP $point, integer $length ) : string

Method Details

__construct() public méthode

public __construct ( Mdanter\Ecc\Math\GmpMathInterface $mathInterface )
$mathInterface Mdanter\Ecc\Math\GmpMathInterface

parse() public méthode

public parse ( string $expected, string $algorithm ) : Mdanter\Ecc\Crypto\Signature\SignatureInterface
$expected string
$algorithm string
Résultat Mdanter\Ecc\Crypto\Signature\SignatureInterface

serialize() public méthode

public serialize ( Mdanter\Ecc\Crypto\Signature\SignatureInterface $signature, string $algorithm ) : string
$signature Mdanter\Ecc\Crypto\Signature\SignatureInterface
$algorithm string
Résultat string