StorageClientInterface<T extends StorageKeyshare> class abstract

Interface for the storage client. T is the type of the keyshare, default is StorageKeyshare.

Implementers

Constructors

StorageClientInterface()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createKeyshare(StorageKeyshare data) Future<void>
Inserts a keyshare into the storage.
deleteKeyshare(String id) Future<void>
Deletes a keyshare from the storage for unique id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readKeyshares(String keyId) Future<List<T>>
Returns a list of keyshares for a given keyId.
toString() String
A string representation of this object.
inherited
updateKeyshare(String id, T newKeyshare) Future<void>
Updates a keyshare in the storage for unique id.

Operators

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