AggregateKeyInfo class
Contains the group details and public shares used to aggregate a signature from shares.
- Inheritance
- Implemented types
-
- Comparable<
KeyInfoWithGroupKey>
- Comparable<
- Implementers
Constructors
- AggregateKeyInfo.new({required GroupKeyInfo group, })
- AggregateKeyInfo.fromBytes(Uint8List bytes)
-
Convenience constructor to construct from serialised
bytes
. - AggregateKeyInfo.fromHex(String hex)
-
Convenience constructor to construct from encoded
hex
. - AggregateKeyInfo.fromReader(BytesReader reader)
Properties
- group → GroupKeyInfo
-
final
- groupKey → ECCompressedPublicKey
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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) → AggregateKeyInfo? -
Tweaks the aggregate key info by a scalar. null may be returned if the
scalar was crafted to lead to an invalid key or shares.
override
-
write(
Writer writer) → void -
Override to write data into
writer
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited