示例#1
0
 /**
  * @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;
 }
示例#2
0
 /**
  * @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;
 }