Lines Matching refs:object
63 private $object; variable in X509GeneralName
75 * @param ASN1Tag $object X509GeneralName encoded as ASN1Tag
78 public function decode($object) { argument
80 if (!$object instanceof ASN1Tag) {
84 if ($object->getTagValue() < 0 || $object->getTagValue() > 8) {
85 throw new GTException("Unknown TAG value: {$object->getTagValue()}");
88 $this->object = $object;
100 if ($this->object == null) {
104 switch ($this->object->getTagValue()) {
110 return "RFC:" . $this->object->getObjectAs(ASN1_TAG_IA5_STRING)->getValue();
113 return "DNS:" . $this->object->getObjectAs(ASN1_TAG_IA5_STRING)->getValue();
125 return "URI:" . $this->object->getObjectAs(ASN1_TAG_IA5_STRING)->getValue();
131 return "RID: " . $this->object->getObjectAs(ASN1_TAG_OBJECT_ID)->getValue();
134 throw new GTException("Unknown TAG value {$this->object->getTagValue()}");