ASN1BitString class
An ASN1 Octet String. This is an array of character codes.
- Inheritance
-
- Object
- ASN1Object
- ASN1BitString
Constructors
-
ASN1BitString(List<
int> stringValue, {int unusedbits = 0, int tag = BIT_STRING_TYPE}) - Create an ASN1BitString initialized with String value. Optionally override the tag.
- ASN1BitString.fromBytes(Uint8List bytes)
- Create an ASN1OctetString 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
↔ List<
int> -
The decoded string value
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
- unusedbits ↔ int
-
latefinal
Methods
-
contentBytes(
) → Uint8List -
Returns the real content of a tag. This might be equal to valueBytes for some tags.
override
-
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
Static Methods
-
decodeOctetString(
Uint8List bytes) → String