Initializer
init(dataRepresentation:)
Creates an P256K.Recovery.ECDSASignature from a 65-byte raw recoverable signature representation.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
init<D>(dataRepresentation: D) throws where D : DataProtocol
Parameters
-
dataRepresentation
-
Exactly 65 bytes (P256K.ByteLength.signature + 1) in the internal recoverable signature format.
Discussion
Throws
secp256k1Error.incorrectParameterSize if the byte count is not 65.