type

AsnOid

const class AsnOid : AsnObj

Models an ASN.1 OBJECT IDENTIFIER type.

constructors

methods

compare

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

getRange

Get a new Oid based on the specified range.

ids

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

oidStr

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

valStr

Slot Details

compare

virtual override 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 override Str valStr()