Bitcoin Core  22.99.0
P2P Digital Currency
Public Attributes | List of all members
secp256k1_pubkey Struct Reference

Opaque data structure that holds a parsed and valid public key. More...

#include <secp256k1.h>

Public Attributes

unsigned char data [64]
 

Detailed Description

Opaque data structure that holds a parsed and valid public key.

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 64 bytes in size, and can be safely copied/moved. If you need to convert to a format suitable for storage or transmission, use secp256k1_ec_pubkey_serialize and secp256k1_ec_pubkey_parse. To compare keys, use secp256k1_ec_pubkey_cmp.

Definition at line 70 of file secp256k1.h.

Member Data Documentation

◆ data

unsigned char secp256k1_pubkey::data[64]

Definition at line 71 of file secp256k1.h.


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