Structure
P256K.Recovery.ECDSASignature
65-byte secp256k1 ECDSA recoverable signature (64-byte compact form + 1-byte recovery ID) produced by secp256k1_ecdsa_sign_recoverable using RFC 6979 deterministic nonces.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
struct ECDSASignature
Mentioned In
Overview
A recoverable signature allows P256K.Recovery.PublicKey to be reconstructed from the message hash alone via secp256k1_ecdsa_recover. Successful recovery guarantees the signature would pass secp256k1_ecdsa_verify after normalization; however, converting the signature to a non-recoverable form via normalize does not automatically normalize it. Call secp256k1_ecdsa_signature_normalize on the result of normalize if lower-S normalized form is required for standard ECDSA verification per BIP-146.
Topics
Construction
Serialization
Conversion
Instance Methods