type
constructors
fields
methods
bigInt |
Get the value as a |
---|---|
bool |
Get the value as a |
buf |
Get any of the binary values as a |
coll |
Get this object as an |
effectiveTags |
Apply rules for |
equals | |
hash | |
int |
Get the value as an |
isBool |
Is this object's universal tag a |
isInt |
Is this object's universal tag an |
isNull |
Is this an ASN.1 |
isOcts |
Is this object's universal tag an |
isOid |
Is this object's universal tag an |
isPrimitive |
Is this a primitive type? |
oid |
Get this object as an |
push |
Push a tag to the front of the tag chain for this value. |
seq |
Get this object as an |
str |
Get the value as a |
tag |
Get the single effective tag for this object. |
toStr | |
ts |
Get the value as a |
univTag |
Get the univ tag for this object |
valEquals | |
valHash | |
valStr |
Slot Details
bigInt
bool
buf
coll
effectiveTags
AsnTag[] effectiveTags()
Apply rules for EXPLICIT
and IMPLICIT
tags to obtain the set of effective tags for encoding this object.
equals
hash
override Int hash()
int
isBool
Bool isBool()
Is this object's universal tag a Boolean
isInt
Bool isInt()
Is this object's universal tag an Integer
isNull
Bool isNull()
Is this an ASN.1 Null
value
isOcts
Bool isOcts()
Is this object's universal tag an Octet String
isOid
Bool isOid()
Is this object's universal tag an Object Identifier
isPrimitive
Bool isPrimitive()
Is this a primitive type?
make
oid
push
virtual AsnObj push(AsnTag tag)
Push a tag to the front of the tag chain for this value. Returns a new instance of this object with the current value.
AsnObj.int(123).tag(AsnTag.implicit(TagClass.context, 0)) => [0] IMPLICIT [UNIVERSAL 2] AsnObj.int(123).tag(AsnTag.explicit(TagClass.app, 1)) => [APPLICATION 1] EXPLICIT [UNIVERSAL 2]
seq
str
tag
AsnTag tag()
Get the single effective tag for this object. Throws an error if there are multiple effective tags
tags
const AsnTag[] tags
The tags for this object.
toStr
virtual override Str toStr()
ts
univTag
AsnTag univTag()
Get the univ tag for this object
val
const Obj? val
The value for this object.
valEquals
valHash
protected virtual Int valHash()
valStr
protected virtual Str valStr()