/** * @param string $cipherText * @param string $method * @param string $iv * @param string $mac */ public function __construct($cipherText, $method, $iv, $mac) { parent::__construct($cipherText, $method, $iv); $this->mac = $mac; }
/** * @param string $cipherText * @param string $method * @param string $iv * @param string $key * @param string $signature */ public function __construct($cipherText, $method, $iv, $key, $signature) { parent::__construct($cipherText, $method, $iv); $this->envelopeKey = $key; $this->signature = $signature; }