- Index
- »
- asn1
- »
- AsnObjBuilder
type
constructors
methods
asnEnum |
Build an ASN.1 |
---|---|
asnNull |
Build an ASN.1 |
bits |
Build an ASN.1 |
bool |
Build an ASN.1 |
genTime |
Build an ASN.1 |
int |
Build an ASN.1 |
octets |
Build an ASN.1 |
oid |
Build an ASN.1 |
seq |
Build an ASN.1 |
set |
Create an ASN.1 |
str |
Build one of the ASN.1 string types. |
tag |
Add a tag to the object builder. |
utc |
Build an ASN.1 |
utf8 |
Build an ASN.1 |
Slot Details
asnEnum
asnNull
bits
bool
genTime
int
make
src
new make()
octets
oid
seq
set
str
tag
Add a tag to the object builder. Tags should be added in ther order they are specified in an ASN.1 type declaration. If the tag
is null
, then this is a no-op.
Whenever a concrete AsnObj
is built, the builder will clear all tags.
// [0] [1 APPLICATION] Boolean obj := AsnObjBuilder() .tag(AsnTag.context(0).implicit) .tag(AsnTag.app(1).implicit) .bool(true)