| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class PBEWithSHA1And3Key3DESCBCAlgorithmIdentifier extends PBES1PKCS12AlgorithmIdentifier |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Constructor. |
||
| 22 | * |
||
| 23 | * @param string $salt Salt |
||
| 24 | * @param int $iteration_count Iteration count |
||
| 25 | */ |
||
| 26 | 2 | public function __construct(string $salt, int $iteration_count) |
|
| 30 | 2 | } |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | 1 | public function name(): string |
|
| 36 | { |
||
| 37 | 1 | return 'pbeWithSHAAnd3-KeyTripleDES-CBC'; |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | 1 | public function hashFunc(): HashFunc |
|
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | 1 | public function blockCipher(): BlockCipherAlgorithmIdentifier |
|
| 56 |