| 1 | <?php |
||
| 4 | class EnvelopeEncryptedValue extends EncryptedValue |
||
| 5 | { |
||
| 6 | /** @var string */ |
||
| 7 | private $envelopeKey; |
||
| 8 | /** @var string */ |
||
| 9 | private $signature; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param string $cipherText |
||
| 13 | * @param string $method |
||
| 14 | * @param string $iv |
||
| 15 | * @param string $key |
||
| 16 | * @param string $signature |
||
| 17 | */ |
||
| 18 | 114 | public function __construct($cipherText, $method, $iv, $key, $signature) |
|
| 24 | |||
| 25 | 3 | public function jsonSerialize() |
|
| 32 | |||
| 33 | 3 | public function unserialize($serialized) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 66 | public function getEnvelopeKey() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 93 | public function getSignature() |
|
| 57 | } |
||
| 58 |