PublicKey class final

Joint threshold public key material.

Constructors

PublicKey.fromBytes(Uint8List bytes)
Parses a public key.
factory
PublicKey.fromShareSet(List<Share> shares)
Derives the joint public key from a consistent shares set (C3/C5).
factory

Properties

bytes → Uint8List
32-byte Ed25519 public key in v1.
final
ceremonyId → Uint8List
Ceremony identifier (16 bytes).
final
fingerprint → Uint8List
SHA-256 of canonical encoding — binds partial signatures.
no setter
hashCode → int
The hash code for this object.
no setteroverride
params → ThresholdParams
Threshold parameters.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() → Uint8List
Canonical serialized bytes (doc/SERIALIZATION.md §4.3).
toString() → String
A string representation of this object.
inherited

Operators

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