Lines Matching refs:bytes
32 private $bytes; variable in ASN1Tag
43 public function decodeDER($bytes) { argument
44 $this->bytes = $bytes;
57 $bytes = array();
62 $this->append($bytes, $this->object->encodeDER());
64 } else if ($this->bytes != null) {
67 $this->append($bytes, $this->bytes);
77 $this->prepend($bytes, ASN1DER::encodeLength(count($bytes)));
78 $this->prepend($bytes, array(0)); // placeholder
104 $bytes[0] = $tag;
106 return $bytes;
119 $object = ASN1DER::decodeType($this->bytes);
120 $length = ASN1DER::decodeLength($this->bytes);
122 $object->decodeDER($this->readBytes($this->bytes, $length));
124 if (count($this->bytes) > 0) {
144 $object->decodeDER($this->bytes);