type

AsnOid

src 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

src virtual override Int compare(Obj that)

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

getRange

src @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

src Int[] ids()

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

make

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

oidStr

src 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

src virtual override Str valStr()