SignedRegistryEntry class

Constructors

SignedRegistryEntry({required Uint8List pk, required int revision, required Uint8List data, required Uint8List signature})
SignedRegistryEntry.deserialize(Uint8List event)
factory

Properties

data Uint8List
data stored in this entry, can have a maximum length of 48 bytes
final
hashCode int
The hash code for this object.
no setterinherited
pk Uint8List
public key with multicodec prefix
final
revision int
revision number of this entry, maximum is (256^8)-1
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature Uint8List
signature of this registry entry
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Uint8List
toString() String
A string representation of this object.
inherited
verify({required CryptoImplementation crypto}) Future<bool>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create({required KeyPairEd25519 kp, required Uint8List data, required int revision, required CryptoImplementation crypto}) Future<SignedRegistryEntry>