Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | class ES512Algorithm extends ECDSAAlgorithm |
||
16 | { |
||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | 4 | public function algorithmParamValue(): string |
|
21 | { |
||
22 | 4 | return JWA::ALGO_ES512; |
|
23 | } |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | 7 | protected function _curveName(): string |
|
29 | { |
||
30 | 7 | return CurveParameter::CURVE_P521; |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | 4 | protected function _mdMethod(): int |
|
39 | } |
||
40 | } |
||
41 |