Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | class PBES2HS384A192KWAlgorithm extends PBES2Algorithm |
||
17 | { |
||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | 2 | public function algorithmParamValue(): string |
|
22 | { |
||
23 | 2 | return JWA::ALGO_PBES2_HS384_A192KW; |
|
24 | } |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | 1 | protected function _hashAlgo(): string |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 1 | protected function _keyLength(): int |
|
38 | { |
||
39 | 1 | return 24; |
|
40 | } |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 2 | protected function _kwAlgo(): AESKeyWrapAlgorithm |
|
48 | } |
||
49 | } |
||
50 |