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