ASN1ObjectIdentifier class

An ASN1 Object Identifier

Inheritance

Constructors

ASN1ObjectIdentifier(List<int> oi, {String? identifier, int tag = OBJECT_IDENTIFIER})
ASN1ObjectIdentifier.fromBytes(Uint8List bytes)
Instantiate a ASN1ObjectIdentifier from the given 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 encoded
no setterinherited
extendedTag int?
no setterinherited
hasExtendedTag bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
identifier String?
getter/setter pair
isEncoded bool
Check if the encoding is ready.
no setterinherited
oi List<int>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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

Static Methods

fromComponents(List<int> components, {int tag = OBJECT_IDENTIFIER}) ASN1ObjectIdentifier
fromComponentString(String path, {int tag = OBJECT_IDENTIFIER}) ASN1ObjectIdentifier
fromName(String name, {int tag = OBJECT_IDENTIFIER}) ASN1ObjectIdentifier
registerFrequentNames() → void
registerManyNames(Map<String, String> pairs) → void
registerObjectIdentiferName(String name, ASN1ObjectIdentifier oid) → void

Constants

DN → const Map<String, String>