ParticipantKeyInfo class

Contains all details for a given participant, including the group key, threshold, public shares and private share.

Inheritance
Implemented types
Implementers

Constructors

ParticipantKeyInfo.new({required GroupKeyInfo group, required PublicSharesKeyInfo publicShares, required PrivateKeyInfo private})
ParticipantKeyInfo.fromBytes(Uint8List bytes)
Convenience constructor to construct from serialised bytes.
ParticipantKeyInfo.fromHex(String hex)
Convenience constructor to construct from encoded hex.
ParticipantKeyInfo.fromReader(BytesReader reader)

Properties

aggregate AggregateKeyInfo
Get only the information required for signature aggregation
no setter
group GroupKeyInfo
final
groupKey → ECCompressedPublicKey
no setter
hashCode int
The hash code for this object.
no setterinherited
private PrivateKeyInfo
final
publicShares PublicSharesKeyInfo
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signing SigningKeyInfo
Get only the information required for signing shares
no setter
size int
Obtains the cached size of the object
no setterinherited

Methods

compareTo(KeyInfoWithGroupKey other) int
Compares this object to another object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() Uint8List
Obtains a cached Uint8List with data serialized for this object
inherited
toHex() String
inherited
toString() String
A string representation of this object.
inherited
tweak(Uint8List scalar) ParticipantKeyInfo?
Tweaks the signing key info by a scalar. null may be returned if the scalar was crafted to lead to an invalid key or private share.
override
write(Writer writer) → void
Override to write data into writer

Operators

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