type

AsnTag

src const class AsnTag : Obj

ASN.1 Tag

constructors

fields

methods

app

Get a builder for an application tag with the given id

context

Get a builder for a context tag with the given id

equals

Tag equality is based only the class and id.

hash
priv

Get a builder for a private tag with the given id

strictEquals
toStr
univ

Get a builder for a universal tag with the given id.

Slot Details

app

src static AsnTagBuilder app(Int id)

Get a builder for an application tag with the given id

cls

src const AsnTagClass cls

The tag class

context

src static AsnTagBuilder context(Int id)

Get a builder for a context tag with the given id

equals

src virtual override Bool equals(Obj? obj)

Tag equality is based only the class and id. The mode is ignored for eqality purposes.

hash

src virtual override Int hash()

id

src const Int id

The tag id

make

src new make(AsnTagClass cls, Int id, AsnTagMode mode)

mode

src const AsnTagMode mode

The tag mode

priv

src static AsnTagBuilder priv(Int id)

Get a builder for a private tag with the given id

strictEquals

src Bool strictEquals(Obj? obj)

toStr

src virtual override Str toStr()

univ

src static AsnTagBuilder univ(Int id)

Get a builder for a universal tag with the given id.

univBits

src const static AsnTag univBits := AsnTag.univ(3).explicit

univBool

src const static AsnTag univBool := AsnTag.univ(1).explicit

univEnum

src const static AsnTag univEnum := AsnTag.univ(10).explicit

univGenTime

src const static AsnTag univGenTime := AsnTag.univ(24).explicit

univGraphStr

src const static AsnTag univGraphStr := AsnTag.univ(25).explicit

univIa5Str

src const static AsnTag univIa5Str := AsnTag.univ(22).explicit

univInt

src const static AsnTag univInt := AsnTag.univ(2).explicit

univNull

src const static AsnTag univNull := AsnTag.univ(5).explicit

univOcts

src const static AsnTag univOcts := AsnTag.univ(4).explicit

univOid

src const static AsnTag univOid := AsnTag.univ(6).explicit

univPrintStr

src const static AsnTag univPrintStr := AsnTag.univ(19).explicit

univReal

src const static AsnTag univReal := AsnTag.univ(9).explicit

univSeq

src const static AsnTag univSeq := AsnTag.univ(16).explicit

univSet

src const static AsnTag univSet := AsnTag.univ(17).explicit

univUtcTime

src const static AsnTag univUtcTime := AsnTag.univ(23).explicit

univUtf8

src const static AsnTag univUtf8 := AsnTag.univ(12).explicit

univVisStr

src const static AsnTag univVisStr := AsnTag.univ(26).explicit