Dealing class

A trustee's contribution to the election key: Feldman commitments to its polynomial, a proof of knowledge of the constant term, and one share per trustee sealed to that trustee's transport key (CONVENTIONS §9.6).

Constructors

Dealing({required TrusteeIndex dealer, required List<DigestMultibase> commitments, required SigmaProof pok, required List<SealedShare> shares})
const
Dealing.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

commitments → List<DigestMultibase>
final
dealer → int
final
hashCode → int
The hash code for this object.
no setterinherited
pok → SigmaProof
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shares → List<SealedShare>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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