OIDImpl

This class represents ASN.1 object identifiers.

Constructors

this
this(string oid_str)

Construct an OID from a string.

this
this(OID other)
Undocumented in source.
this
this(OIDImpl other)
Undocumented in source.

Members

Functions

clear
void clear()

Reset this instance to an empty OID.

decodeFrom
void decodeFrom(BERDecoder decoder)
Undocumented in source. Be warned that the author may not have intended to support it.
encodeInto
void encodeInto(DEREncoder der)
Undocumented in source. Be warned that the author may not have intended to support it.
getId
const(Vector!uint) getId()

Get this OID as list (vector) of its components.

opBinary
OID opBinary(OID oid, uint component)

Append another component onto the OID.

opBinary
bool opBinary(OID b)

Compare two OIDs.

opCmp
int opCmp(OID b)

Compare two OIDs.

opEquals
bool opEquals(OIDImpl oid)

Compare two OIDs.

opOpAssign
void opOpAssign(uint new_comp)

Add a component to this OID.

toString
string toString()

Get this OID as a string

toVector
Vector!char toVector()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

dup
OID dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]

Find out whether this OID is empty

Meta