Lcobucci\JWT\Signer\Ecdsa::doVerify PHP Method

doVerify() public method

public doVerify ( string $expected, string $payload, Lcobucci\JWT\Signer\Key $key ) : boolean
$expected string
$payload string
$key Lcobucci\JWT\Signer\Key
return boolean
    public function doVerify(string $expected, string $payload, Key $key) : bool
    {
        return $this->adapter->verifyHash($expected, $this->keyParser->getPublicKey($key), $this->adapter->createSigningHash($payload, $this->getAlgorithm()), $this->getAlgorithm());
    }