| 1 | <?php |
||
| 4 | class PasswordEncryptedValue extends EncryptedValue |
||
| 5 | { |
||
| 6 | /** @var string */ |
||
| 7 | private $mac; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @param string $cipherText |
||
| 11 | * @param string $method |
||
| 12 | * @param string $iv |
||
| 13 | * @param string $mac |
||
| 14 | */ |
||
| 15 | 114 | public function __construct($cipherText, $method, $iv, $mac) |
|
| 20 | |||
| 21 | 3 | public function jsonSerialize() |
|
| 25 | |||
| 26 | 3 | public function unserialize($serialized) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 81 | public function getMac() |
|
| 41 | } |
||
| 42 |