Lines Matching refs:tag
79 $tag = $object->getObjectAt(1);
81 if (!$tag instanceof ASN1Tag) {
85 if ($tag->getTagValue() != 0) {
86 throw new GTException("Unexpected tag value: {$tag->getTagValue()}");
89 $this->content = $tag->getObject()->getValue();
101 $tag = new ASN1Tag();
102 $tag->setExplicit(true);
103 $tag->setTagType(ASN1_TAG_CONSTRUCTED);
104 $tag->setTagClass(ASN1_TAG_CONTEXT);
105 $tag->setTagValue(0);
106 $tag->setObject(new ASN1OctetString($this->content));
110 $sequence->add($tag);