Instance Property
derRepresentation
The variable-length DER-encoded representation of the signature (up to 72 bytes), produced by secp256k1_ecdsa_signature_serialize_der.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
var derRepresentation: Data { get }
Mentioned In
Discussion
ASN.1 DER encoding defined by SEC1 § 4.1 — the standard wire format for ECDSA signatures in TLS, X.509 certificates, and pre-SegWit Bitcoin script. Typical output is 70–72 bytes; the upper bound of 72 reflects the maximum DER length including two INTEGER tags and length octets.