const class asn1::Asn

sys::Obj
  asn1::Asn

Source

Asn provides utilities for creating AsnObj.

Null

const static AsnObj Null := AsnObj.<ctor>([AsnTag.univNull], null)

Source

Singleton for universal Null

asnEnum

static AsnObj asnEnum(Int val)

Source

Convenience to create a universal Enumerated value

bits

static AsnObj bits(Buf bits)

Source

Convenience to create a universal Bit String

See AsnObjBuilder.bits

bool

static AsnObj bool(Bool val)

Source

Convenience to create a universal Boolean

genTime

static AsnObj genTime(DateTime ts)

Source

Convenience to create a universal GeneralizedTime

int

static AsnObj int(Obj val)

Source

Convenience to create a universal Integer.

See AsnObjBuilder.int

octets

static AsnObj octets(Obj val)

Source

Convenience to create a universal Octet String

See AsnObjBuilder.octets

oid

static AsnOid oid(Obj val)

Source

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

See AsnObjBuilder.oid

seq

static AsnSeq seq(Obj items)

Source

Convenience to create a universal SEQUENCE

See AsnObjBuilder.seq

set

static AsnSet set(Obj items)

Source

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)

Source

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)

Source

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

utc

static AsnObj utc(DateTime ts)

Source

Convenience to create a universal UTCTime

utf8

static AsnObj utf8(Str val)

Source

Convenience to create a universal Utf8String