DkgPublicCommitment class
This class represents information that should be shared to other participants after the first round of the distributed key generation. Participants must ensure that all other participants have the same set of commitments before the DKG can be completed.
This contains the public commitments for the polynomial co-efficients generated by a participant and a proof of knowledge for the corresponding secret.
- Inheritance
-
- Object
- RustObjectWrapper<
DkgPublicCommitmentOpaque> - WritableRustObjectWrapper<
DkgPublicCommitmentOpaque> - DkgPublicCommitment
Constructors
- DkgPublicCommitment.fromBytes(Uint8List data)
- Reads the serialised public commitment from a participant and throws InvalidPublicCommitment if invalid.
- DkgPublicCommitment.fromUnderlying(DkgPublicCommitmentOpaque _underlying)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- underlying → DkgPublicCommitmentOpaque
-
no setterinherited
Methods
-
dispose(
) → void -
May be called when the underlying rust object is no longer needed to clear
memory before GC.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serializeImpl(
) → Uint8List -
Obtains serialised data for the commitment that can be shared with other
participants.
override
-
toBytes(
) → Uint8List -
Obtain the serailised bytes for this object
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited