private function getSigner() : Ecdsa
{
$signer = $this->getMockForAbstractClass(Ecdsa::class, [$this->adapter, $this->keyParser]);
$signer->method('getAlgorithm')->willReturn('sha256');
$signer->method('getAlgorithmId')->willReturn('ES256');
return $signer;
}