SessionConfig class
Session congiuration for the EcdsaSession or EddsaSession.
- CloudClient is used to communicate with the cloud node.
- StorageClientInterface is used to store the keyshares.
- cloudVerifyingKeyHex is the verifying key of the cloud node.
- Protocol is the protocol of the session.
Constructors
-
SessionConfig({required CloudClient cloudClient, required String cloudVerifyingKeyHex, required StorageClientInterface<
StorageKeyshare> storageClient, Protocol protocol = Protocol.duo}) - Constructor for the SessionConfig.
Properties
- cloudClient → CloudClient
-
final
- cloudVerifyingKeyHex → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- protocol → Protocol
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageClient
→ StorageClientInterface<
StorageKeyshare> -
final
Methods
-
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