Structure
P256K.Recovery.PrivateKey
secp256k1 ECDSA private key for producing recoverable signatures via secp256k1_ecdsa_sign_recoverable with RFC 6979 deterministic nonce generation.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
struct PrivateKey
Mentioned In
Overview
Semantically a distinct type from P256K.Signing.PrivateKey only because its associated P256K.Recovery.PublicKey recovers via secp256k1_ecdsa_recover rather than being transmitted alongside the signature. The underlying 32-byte scalar is identical; the two Swift types differ in the method surface they expose.
Topics
Construction
Inspection
Operators
Instance Methods
Type Aliases