Structure
P256K.Recovery.PublicKey
secp256k1 public key recovered from an P256K.Recovery.ECDSASignature via secp256k1_ecdsa_recover, identifying the signer without prior knowledge of their public key.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
struct PublicKey
Overview
A recovered public key is mathematically a candidate — any signature has up to four valid recovery IDs, each producing a different candidate key. The 1-byte recovery ID stored in the P256K.Recovery.ECDSASignature disambiguates which candidate the original signer chose. Always treat the recovered key as unauthenticated material until compared to a known reference.
Topics
Inspection
Initializers