HDGroupKeyInfo class

Inheritance
Implemented types

Constructors

HDGroupKeyInfo.new({required ECCompressedPublicKey groupKey, required int threshold, required HDKeyInfo hdInfo})
HDGroupKeyInfo.fromBytes(Uint8List bytes)
Convenience constructor to construct from serialised bytes.
HDGroupKeyInfo.fromHex(String hex)
Convenience constructor to construct from encoded hex.
HDGroupKeyInfo.fromReader(BytesReader reader)
HDGroupKeyInfo.master({required ECCompressedPublicKey groupKey, required int threshold})

Properties

groupKey → ECCompressedPublicKey
The public key of the overall FROST key
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hdInfo HDKeyInfo
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
threshold int
The number of signers required for a signature
finalinherited

Methods

compareTo(KeyInfoWithGroupKey other) int
Compares this object to another object.
inherited
derive(int index) HDGroupKeyInfo
Derive child key information using unhardened BIP32 derivation. Hardened derivation is not possible.
override
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) GroupKeyInfo?
Tweaks the group key by a scalar. null may be returned if the scalar was crafted to lead to an invalid public key.
inherited
write(Writer writer) → void
Override to write data into writer
override

Operators

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