Structure
P256K.MuSig.PublicKey
secp256k1 MuSig2 aggregate public key produced by aggregate(_:) via secp256k1_musig_pubkey_agg, used for partial signature verification and Taproot tweaking.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
struct PublicKey
Mentioned In
Overview
An aggregate public key is indistinguishable from a single-signer secp256k1 public key by any external observer, which is precisely what gives MuSig2 its Taproot compatibility. Internally the key carries the 197-byte secp256k1_musig_keyagg_cache produced by secp256k1_musig_pubkey_agg; that cache is required to reconstruct the key-aggregation coefficients during the partial-signing phase and must be preserved alongside the public-key bytes when serializing the aggregate across a process boundary.
Topics
Serialized Forms
Reconstruction
Instance Methods