Structure
P256K.Schnorr.PublicKey
secp256k1 BIP-340 Schnorr public key in compressed or uncompressed form, from which the x-only key used for signature verification is derived via the xonly property.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
struct PublicKey
Overview
For BIP-340 Schnorr signature verification, use the xonly property of this key. The full P256K.Schnorr.PublicKey is provided for contexts that require the complete curve point, such as key aggregation (aggregate(_:)) or BIP-341 Taproot key-path spending.
Topics
Construction
Serialized Forms