Ejemplo n.º 1
0
 public function prepareSignature($sessionCode, $certificateId, $certificateHex)
 {
     try {
         $result = $this->soap->prepareSignature($sessionCode, $certificateHex, $certificateId);
         if ($result['Status'] === 'OK') {
             return $result;
         } else {
             throw new SigningException($result['Status']);
         }
     } catch (\SoapFault $e) {
         $this->catchSoapError($e);
     }
 }