ASN1NumericString class
An ASN1 Numeric String
A NumericString is a restricted character string type in the ASN.1 notation. It is used to describe data that does only consist of digits and space character.
- Inheritance
-
- Object
- ASN1Object
- ASN1NumericString
Constructors
- ASN1NumericString(String stringValue, {int tag = NUMERIC_STRING_TYPE})
- Create an ASN1NumericString initialized with String value.
- ASN1NumericString.fromBytes(Uint8List bytes)
- Create an ASN1NumericString from an encoded list of bytes.
Properties
- encodedBytes → Uint8List
-
Get the encoded byte representation for this object. This can trigger
calling the subclasss
_encode
method if the object has not yet been encodedno setterinherited - extendedTag → int?
-
no setterinherited
- hasExtendedTag → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEncoded → bool
-
Check if the encoding is ready.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringValue ↔ String
-
latefinal
- tag → int
-
The BER tag representing this object
finalinherited
- totalEncodedByteLength → int
-
The total length of this object in bytes - including its value
bytes and the encoded tag and length bytes.
no setterinherited
Methods
-
contentBytes(
) → Uint8List -
Returns the real content of a tag. This might be equal to valueBytes for some tags.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHexString(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
-
valueBytes(
) → Uint8List -
Return just the value bytes.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited