class

AsnOid

const class AsnOid : AsnObj

Models an ASN.1 OBJECT IDENTIFIER type.

constructors make

methods compare

Oid is ordered by comparing its sub-identifier parts numerically

valStr

getRange

Get a new Oid based on the specified range

oidStr

Convenience to get a Str where the sub-identifiers are joined with a .

Asn.oid("1.2.3").oidStr == "1.2.3"

ids

Convenience to get the value as a list of its Int identifiers

compare virtual Int compare(Obj that)

Oid is ordered by comparing its sub-identifier parts numerically.

getRange @Operator
AsnOid getRange(Range range)

Get a new Oid based on the specified range. This Oid is guaranteed to be in the universal tag class (i.e. - the tag is not preservered).

Throw IndexErr if the range is illegal.

ids Int[] ids()

Convenience to get the value as a list of its Int identifiers.

make new make(AsnTag[] tags, Int[] val)

oidStr Str oidStr()

Convenience to get a Str where the sub-identifiers are joined with a .

Asn.oid("1.2.3").oidStr == "1.2.3"

valStr virtual Str valStr()

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST