Instance Property
recoveryId
The recovery ID (0–3) that identifies which of the possible public keys corresponds to the signer.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
let recoveryId: Int32
Discussion
For any valid (message, signature) pair there are up to four candidate public keys that satisfy the verification equation. The signer records the correct one as this 2-bit value (stored as Int32 for easy upstream API interop). Values ≥ 4 are invalid and reflect a corrupted signature.