Lcobucci\JWT\Signer\Ecdsa\SignatureSerializerTest::parseShouldExtractASignatureBasedOnTheHash PHP Méthode

parseShouldExtractASignatureBasedOnTheHash() public méthode

public parseShouldExtractASignatureBasedOnTheHash ( string $algorithm )
$algorithm string
    public function parseShouldExtractASignatureBasedOnTheHash(string $algorithm)
    {
        $serializer = new SignatureSerializer($this->mathInterface);
        self::assertEquals($this->signature, $serializer->parse($this->signatureData[$algorithm], $algorithm));
    }