| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class PBEWithMD2AndRC2CBCAlgorithmIdentifier extends PBES1PKCS5AlgorithmIdentifier |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Constructor. |
||
| 21 | * |
||
| 22 | * @param string $salt Salt |
||
| 23 | * @param int $iteration_count Iteration count |
||
| 24 | */ |
||
| 25 | 2 | public function __construct(string $salt, int $iteration_count) |
|
| 26 | { |
||
| 27 | 2 | parent::__construct($salt, $iteration_count); |
|
| 28 | 2 | $this->_oid = self::OID_PBE_WITH_MD2_AND_RC2_CBC; |
|
| 29 | 2 | } |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | 1 | public function name(): string |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | 2 | public function hashFunc(): HashFunc |
|
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | 2 | public function blockCipher(): BlockCipherAlgorithmIdentifier |
|
| 55 |