Home
last modified time | relevance | path

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

/plugin/gtime/gtlib/asn1/tsp/
H A DTSPMessageImprint.php45 private $hashedMessage; variable in TSPMessageImprint
73 $hashedMessage = $object->getObjectAt(1);
75 if (!$hashedMessage instanceof ASN1OctetString) {
79 $hashedMessage = $hashedMessage->getValue();
82 $this->setHashedMessage($hashedMessage);
96 $sequence->add(new ASN1OctetString($this->hashedMessage));
130 * @param array $hashedMessage byte array containing the message bytes
133 public function setHashedMessage($hashedMessage) { argument
135 if (!is_array($hashedMessage)) {
139 $this->hashedMessage = $hashedMessage;
[all …]
/plugin/gtime/gtlib/tsp/
H A DGTDataHash.php76 private $hashedMessage; variable in GTDataHash
90 * @param array $hashedMessage hash bytes
92 public function __construct($hashAlgorithm, $hashedMessage = null) { argument
104 if ($hashedMessage == null) {
114 if (!is_array($hashedMessage)) {
118 if (count($hashedMessage) != $this->hashAlgorithm->getLength()) {
122 $this->hashedMessage = $hashedMessage;
269 return $this->hashedMessage;
290 foreach ($this->hashedMessage as $byte) {
330 $hashedMessage = array_slice($dataImprint, 1);
[all …]
H A DGTTimestamp.php208 $hashedMessage = $tstInfo->getMessageImprint()->getHashedMessage();
209 $this->dataHash = new GTDataHash(GTHashAlgorithm::getByOid($hashAlgorithm), $hashedMessage);