Example #1
0
 /**
  * @inheritdoc
  */
 public function lightAuth($certificate, $key, $keyPassword = '')
 {
     if ($this->authType === self::AUTH_LIGHT) {
         $this->setSignature($this->signLight($this->getSignerWmid() . $this->getCurrency() . $this->getPayeePurse() . $this->getPrice(), $key, $keyPassword));
     }
     parent::lightAuth($certificate, $key, $keyPassword);
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function lightAuth($certificate, $key, $keyPassword = '')
 {
     if ($this->authType === self::AUTH_LIGHT) {
         $this->setSignature($this->signLight($this->getSignerWmid() . $this->getTransactionId() . $this->getCurrency() . $this->getTest() . $this->getPayeePurse() . $this->getPrice() . $this->getDate()->format('Ymd H:i:s') . $this->getPoint(), $key, $keyPassword));
     }
     parent::lightAuth($certificate, $key, $keyPassword);
 }