Esempio n. 1
0
 /**
  *
  * @see \ASN1\Feature\Encodable::toDER()
  * @return string
  */
 public function toDER()
 {
     return $this->_element->toDER();
 }
Esempio n. 2
0
 public function string()
 {
     return $this->_type . "/#" . bin2hex($this->_element->toDER());
 }
Esempio n. 3
0
 /**
  *
  * @see \X501\ASN1\AttributeValue\AttributeValue::stringValue()
  * @return string
  */
 public function stringValue()
 {
     // return DER encoding as a hexstring
     return "#" . bin2hex($this->_element->toDER());
 }