Lines Matching refs:content

55     private $content;  variable in GTPublicationsFile
85 $this->content = $bytes;
88 if (count($this->content) < self::HEADER_SIZE) {
89 throw new GTException("Invalid publications file length: " + count($this->content));
93 $version = GTUtil::readShort($this->content, self::VERSION_POS);
100 $publicationBlockBegin = GTUtil::readInt($this->content, self::PUBLICATION_BLOCK_BEGIN_POS);
106 $publicationCellSize = GTUtil::readShort($this->content, self::PUBLICATION_CELL_SIZE_POS);
107 $publicationCount = GTUtil::readInt($this->content, self::PUBLICATION_COUNT_POS);
110 … $publicKeyBlockBegin = GTUtil::readInt($this->content, self::PUBLICATION_KEY_BLOCK_BEGIN_POS);
116 $publicKeyCellSize = GTUtil::readShort($this->content, self::PUBLICATION_KEY_CELL_SIZE_POS);
117 $publicKeyCount = GTUtil::readShort($this->content, self::PUBLICATION_KEY_COUNT_POS);
120 …$publicationReferenceBlockBegin = GTUtil::readInt($this->content, self::PUBLICATION_REFERENCES_BLO…
122 if ($publicationReferenceBlockBegin >= count($this->content)) {
127 $signatureBlockBegin = GTUtil::readInt($this->content, self::SIGNATURE_BLOCK_BEGIN_POS);
129 if ($signatureBlockBegin >= count($this->content)) {
155 return $this->content;
208 $result = GTUtil::readLong($this->content, $this->publicationBlockBegin);
222 …$result = GTUtil::readLong($this->content, $this->publicationBlockBegin + ($this->publicationCellS…
244 $id = GTUtil::readLong($this->content, $offset);
387 $bytes = array_slice($this->content, $this->signatureBlockBegin,
388 count($this->content) - $this->signatureBlockBegin);
391 $data = array_slice($this->content, 0, $this->signatureBlockBegin);
533 $hashAlgorithm = GTHashAlgorithm::getByGtid($this->content[$offset + self::TIME_SIZE]);
535 … $bytes = array_slice($this->content, $offset, self::TIME_SIZE + 1 + $hashAlgorithm->getLength());
552 $hashAlgorithm = GTHashAlgorithm::getByGtid($this->content[$offset]);
555 $bytes = array_slice($this->content, $offset, $hashLength);