Ejemplo n.º 1
0
 /**
  * @param Signature $signature
  * @throws SigningException
  * @return Response
  */
 public function verify(Signature $signature)
 {
     if ($signature->verifyResponse($this->data, $this->data['signature']) !== TRUE) {
         throw SigningException::fromResponse($this);
     }
     return $this;
 }