24 lines
362 B
PHP
24 lines
362 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Jose\Component\Signature\Algorithm;
|
|
|
|
final class ES256K extends ECDSA
|
|
{
|
|
public function name(): string
|
|
{
|
|
return 'ES256K';
|
|
}
|
|
|
|
protected function getHashAlgorithm(): string
|
|
{
|
|
return 'sha256';
|
|
}
|
|
|
|
protected function getSignaturePartLength(): int
|
|
{
|
|
return 64;
|
|
}
|
|
}
|