Bitcoin Core  0.20.99
P2P Digital Currency
Public Attributes | List of all members
secp256k1_ecdsa_recoverable_signature Struct Reference

Opaque data structured that holds a parsed ECDSA signature, supporting pubkey recovery. More...

#include <secp256k1_recovery.h>

Public Attributes

unsigned char data [65]
 

Detailed Description

Opaque data structured that holds a parsed ECDSA signature, supporting pubkey recovery.

The exact representation of data inside is implementation defined and not guaranteed to be portable between different platforms or versions. It is however guaranteed to be 65 bytes in size, and can be safely copied/moved. If you need to convert to a format suitable for storage or transmission, use the secp256k1_ecdsa_signature_serialize_* and secp256k1_ecdsa_signature_parse_* functions.

Furthermore, it is guaranteed that identical signatures (including their recoverability) will have identical representation, so they can be memcmp'ed.

Definition at line 24 of file secp256k1_recovery.h.

Member Data Documentation

◆ data

unsigned char secp256k1_ecdsa_recoverable_signature::data[65]

Definition at line 25 of file secp256k1_recovery.h.


The documentation for this struct was generated from the following file: