ASN1ObjectIdentifier class
- Inheritance
-
- Object
- ASN1Object
- ASN1ObjectIdentifier
Constructors
-
ASN1ObjectIdentifier(List<
int> ? objectIdentifier, {int tag = ASN1Tags.OBJECT_IDENTIFIER}) -
Create an ASN1ObjectIdentifier entity with the given
objectIdentifier
. - ASN1ObjectIdentifier.fromBytes(Uint8List encodedBytes)
-
Creates an ASN1ObjectIdentifier entity from the given
encodedBytes
. - ASN1ObjectIdentifier.fromIdentifierString(String? objectIdentifierAsString, {int tag = ASN1Tags.OBJECT_IDENTIFIER})
-
Creates an ASN1ObjectIdentifier entity from the given
objectIdentifierAsString
. - ASN1ObjectIdentifier.fromName(String name)
-
Creates an ASN1ObjectIdentifier entity from the given
name
.
Properties
- dumpIndent ↔ int
-
getter/setter pairinherited
- encodedBytes ↔ Uint8List?
-
The encoded bytes.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConstructed ↔ bool?
-
Describes if this ASN1 Object is constructed.
getter/setter pairinherited
-
objectIdentifier
↔ List<
int> ? -
The object identifier integer values
getter/setter pair
- objectIdentifierAsString ↔ String?
-
The String representation of the objectIdentifier
getter/setter pair
- readableName ↔ String?
-
The readable representation of the objectIdentifier
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag ↔ int?
-
The BER tag representing this object.
getter/setter pairinherited
- totalEncodedByteLength → int
-
The total length of this object, including its value bytes, the encoded tag and length bytes.
no setterinherited
- valueByteLength ↔ int?
-
Length of the encoded value bytes.
getter/setter pairinherited
- valueBytes ↔ Uint8List?
-
The value bytes.
getter/setter pairinherited
- valueStartPosition ↔ int
-
The index where the value bytes start. This is the position after the tag + length bytes.
getter/setter pairinherited
Methods
-
dump(
{int spaces = 0}) → String -
Creates a readable dump from the current ASN1Object.
override
-
encode(
{ASN1EncodingRule encodingRule = ASN1EncodingRule.ENCODING_DER}) → Uint8List -
Encodes this ASN1Object depending on the given
encodingRule
override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited