Home
last modified time | relevance | path

Searched refs:messageImprint (Results 1 – 3 of 3) sorted by relevance

/plugin/gtime/gtlib/asn1/tsp/
H A DTSPTimeStampReq.php51 private $messageImprint; variable in TSPTimeStampReq
70 $sequence->add($this->messageImprint);
88 * @param TSPMessageImprint $messageImprint the message imprint
91 public function setMessageImprint($messageImprint) { argument
93 if (!$messageImprint instanceof TSPMessageImprint) {
97 $this->messageImprint = $messageImprint;
107 return $this->messageImprint;
H A DTSPTSTInfo.php57 private $messageImprint; variable in TSPTSTInfo
111 $messageImprint = new TSPMessageImprint();
112 $messageImprint->decode($object->getObjectAt(2));
114 $this->messageImprint = $messageImprint;
219 $sequence->add($this->messageImprint);
274 return $this->messageImprint;
/plugin/gtime/gtlib/tsp/
H A DGTVerifier.php144 $messageImprint = $signedData->getEncapsulatedContent()->getContent()->getMessageImprint();
146 $result->update(GTVerifier::verifyDataHash($messageImprint, $dataHash));
191 * @param TSPMessageImprint $messageImprint message imprint
195 … private static function verifyDataHash(TSPMessageImprint $messageImprint, GTDataHash $dataHash) { argument
199 if ($messageImprint == null) {
207 …if ($dataHash->getHashAlgorithm()->getOid() != $messageImprint->getHashAlgorithm()->getAlgorithm()…
210 } else if ($dataHash->getHashedMessage() != $messageImprint->getHashedMessage()) {