class

Asn

const class Asn : Obj

Asn provides utilities for creating AsnObj.

fields Null

Singleton for universal Null

methods set

Convenience to create a universal SET

The items parameter may be any of the values accepted by seq

bool

Convenience to create a universal Boolean

utc

Convenience to create a universal UTCTime

utf8

Convenience to create a universal Utf8String

bits

Convenience to create a universal Bit String

See AsnObjBuilder.bits

oid

Create an ASN.1 Object Identifier value (OID)

genTime

Convenience to create a universal GeneralizedTime

int

Convenience to create a universal Integer

str

Convenience to create one of the ASN.1 string types

asnEnum

Convenience to create a universal Enumerated value

octets

Convenience to create a universal Octet String

See AsnObjBuilder.octets

tag

Create an object builder and add the given tag if it is not null

seq

Convenience to create a universal SEQUENCE

See AsnObjBuilder.seq

Null const static AsnObj : Null

Singleton for universal Null

asnEnum static AsnObj asnEnum(Int val)

Convenience to create a universal Enumerated value

bits static AsnObj bits(Buf bits)

Convenience to create a universal Bit String

See AsnObjBuilder.bits

bool static AsnObj bool(Bool val)

Convenience to create a universal Boolean

genTime static AsnObj genTime(DateTime ts)

Convenience to create a universal GeneralizedTime

int static AsnObj int(Obj val)

Convenience to create a universal Integer.

See AsnObjBuilder.int

octets static AsnObj octets(Obj val)

Convenience to create a universal Octet String

See AsnObjBuilder.octets

oid static AsnOid oid(Obj val)

Create an ASN.1 Object Identifier value (OID).

See AsnObjBuilder.oid

seq static AsnSeq seq(Obj items)

Convenience to create a universal SEQUENCE

See AsnObjBuilder.seq

set static AsnSet set(Obj items)

Convenience to create a universal SET

The items parameter may be any of the values accepted by seq.

str static AsnObj str(Str val, AsnTag univ)

Convenience to create one of the ASN.1 string types.

See AsnObjBuilder.str

See utf8 to easily create UTF-8 strings.

tag static AsnObjBuilder tag(AsnTag? tag)

Create an object builder and add the given tag if it is not null.

utc static AsnObj utc(DateTime ts)

Convenience to create a universal UTCTime

utf8 static AsnObj utf8(Str val)

Convenience to create a universal Utf8String

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