FrostEd25519PublicKey class

A FROST(Ed25519) group public key: group key + member entries + threshold.

Inheritance

Constructors

FrostEd25519PublicKey.aggPublicKeys(List<ED25519PublicKey> keys, {List<int>? identifiers, int? threshold})
Aggregate typed member public keys. identifiers default to 1..=n; threshold defaults to n (full quorum). A null threshold sums the members (additive quorum); an explicit t Lagrange-interpolates them at zero (threshold quorum).
factory
FrostEd25519PublicKey.fromBytes(List<int> bytes)
factory

Properties

aggKey → ED25519PublicKey
Aggregate (group) key: the key verifiers check the final threshold signature against.
final
curve → FrostCurve
Curve of this key.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
members → List<FrostEdMember>?
Member entries of the quorum (null when stripped).
final
n → int?
Committee size n (null when unknown).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
threshold → int?
Threshold t of this quorum (null = additive full quorum).
final
type → CryptoKeyType
no setteroverride
variables → List
no setterinherited

Methods

groupKeyBytes() → BuBytes
Group public key bytes (elen bytes for curve).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes({CryptoKeyEncoding mode = CryptoKeyEncoding.base}) → BuBytes
override
toString() → String
A string representation of this object.
inherited
verify(FrostVerifyingParams params) → bool
inherited
verifyHash({required List<int> message, required FrostSignature signature}) → bool
Final-signature verification through the selected protocol backend (blockchainUtils.api.frost). R is parsed via the typed key constructors; the equation itself runs in the backend.
inherited

Operators

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

Static Methods

isValidBytes(List<int> bytes) → bool
Static method to check the validity of a byte array as a public key for a specific elliptic curve type.
override
isValidKeyEncoding(List<int> keyBytes, CryptoKeyEncoding encoding) → bool
Checks whether keyBytes is a valid public key of the given type when interpreted with the given encoding.
override
layout() → Layout<FrostEd25519PublicKey>