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