1 | <?php |
||
6 | class EncryptedValue extends BaseEncryptedValue |
||
7 | { |
||
8 | /** @var string */ |
||
9 | private $mac; |
||
10 | |||
11 | /** |
||
12 | * @param string $cipherText |
||
13 | * @param string $method |
||
14 | * @param string $iv |
||
15 | * @param string $mac |
||
16 | */ |
||
17 | 114 | public function __construct($cipherText, $method, $iv, $mac) |
|
22 | |||
23 | 3 | public function jsonSerialize() |
|
27 | |||
28 | 3 | public function unserialize($serialized) |
|
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | 93 | public function getMac() |
|
43 | } |
||
44 |