Interface for The Additional Information (TAI) of network entities.
TAI contains variable, updatable information for entities (complementary to immutable Meta data). It supports digital signatures to ensure data integrity and authenticity.
'Meta' is the information for entity which never changed, which contains the key for verify signature; 'TAI' is the variable part (signed by meta.key's private key), which could contain a public key for asymmetric encryption.
Key differences from Meta:
- Meta: Immutable core data (public key, fingerprint)
- TAI: Mutable additional data (may include encryption keys, profile info)
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isValid → bool
-
Validates the integrity of this TAI data.
no setter
- properties → Map?
-
Gets all properties stored in this TAI.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getProperty(
String name) → dynamic - Retrieves a specific property value by name.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setProperty(
String name, Object? value) → void - Updates or adds a property (resets signature).
-
sign(
SignKey sKey) → Uint8List? - Signs the TAI data with the entity's private key.
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
VerifyKey metaKey) → bool - Verifies the TAI signature against the entity's public key.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited