FrostEd25519PublicKey class
A FROST(Ed25519) group public key: group key + member entries + threshold.
- Inheritance
-
- Object
- IFrostVerificationKey
- BaseFrostPublicKey<
ED25519PublicKey> - FrostEd25519PublicKey
Constructors
-
FrostEd25519PublicKey.aggPublicKeys(List<
ED25519PublicKey> keys, {List<int> ? identifiers, int? threshold}) -
Aggregate typed member public keys.
identifiersdefault to1..=n;thresholddefaults ton(full quorum). A null threshold sums the members (additive quorum); an explicittLagrange-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 (
nullwhen stripped).final - n → int?
-
Committee size
n(nullwhen unknown).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- threshold → int?
-
Threshold
tof this quorum (null= additive full quorum).final - type → CryptoKeyType
-
no setteroverride
- variables → List
-
no setterinherited
Methods
-
groupKeyBytes(
) → BuBytes -
Group public key bytes (
elenbytes 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).Ris 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
keyBytesis a valid public key of the giventypewhen interpreted with the givenencoding.override -
layout(
) → Layout< FrostEd25519PublicKey>