const class asn1::Asn
sys::Obj asn1::Asn
Asn provides utilities for creating AsnObj
.
- Null
-
const static AsnObj Null := AsnObj.<ctor>([AsnTag.univNull], null)
Singleton for universal
Null
- asnEnum
-
static AsnObj asnEnum(Int val)
Convenience to create a universal
Enumerated
value - bits
-
Convenience to create a universal
Bit String
- bool
-
Convenience to create a universal
Boolean
- genTime
-
static AsnObj genTime(DateTime ts)
Convenience to create a universal GeneralizedTime
- int
-
Convenience to create a universal
Integer
. - octets
-
Convenience to create a universal
Octet String
- oid
-
Create an ASN.1
Object Identifier
value (OID). - seq
-
Convenience to create a universal
SEQUENCE
- set
-
Convenience to create a universal
SET
The
items
parameter may be any of the values accepted byseq
. - str
-
static AsnObj str(Str val, AsnTag univ)
Convenience to create one of the ASN.1 string types.
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
-
Convenience to create a universal
Utf8String