Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::bbapi::EcdsaSecp256k1RecoverPublicKey Struct Reference

Recover public key from ECDSA signature for secp256k1. More...

#include <bbapi_ecdsa.hpp>

Classes

struct  Response
 

Public Member Functions

Response execute (BBApiRequest &request) &&
 
 MSGPACK_FIELDS (message, r, s, v)
 
bool operator== (const EcdsaSecp256k1RecoverPublicKey &) const =default
 

Public Attributes

std::vector< uint8_t > message
 
std::array< uint8_t, 32 > r
 
std::array< uint8_t, 32 > s
 
uint8_t v
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "EcdsaSecp256k1RecoverPublicKey"
 

Detailed Description

Recover public key from ECDSA signature for secp256k1.

Definition at line 112 of file bbapi_ecdsa.hpp.

Member Function Documentation

◆ execute()

EcdsaSecp256k1RecoverPublicKey::Response bb::bbapi::EcdsaSecp256k1RecoverPublicKey::execute ( BBApiRequest request) &&

Definition at line 28 of file bbapi_ecdsa.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::EcdsaSecp256k1RecoverPublicKey::MSGPACK_FIELDS ( message  ,
r  ,
s  ,
v   
)

◆ operator==()

bool bb::bbapi::EcdsaSecp256k1RecoverPublicKey::operator== ( const EcdsaSecp256k1RecoverPublicKey ) const
default

Member Data Documentation

◆ message

std::vector<uint8_t> bb::bbapi::EcdsaSecp256k1RecoverPublicKey::message

Definition at line 122 of file bbapi_ecdsa.hpp.

◆ MSGPACK_SCHEMA_NAME

constexpr const char bb::bbapi::EcdsaSecp256k1RecoverPublicKey::MSGPACK_SCHEMA_NAME[] = "EcdsaSecp256k1RecoverPublicKey"
staticconstexpr

Definition at line 113 of file bbapi_ecdsa.hpp.

◆ r

std::array<uint8_t, 32> bb::bbapi::EcdsaSecp256k1RecoverPublicKey::r

Definition at line 123 of file bbapi_ecdsa.hpp.

◆ s

std::array<uint8_t, 32> bb::bbapi::EcdsaSecp256k1RecoverPublicKey::s

Definition at line 124 of file bbapi_ecdsa.hpp.

◆ v

uint8_t bb::bbapi::EcdsaSecp256k1RecoverPublicKey::v

Definition at line 125 of file bbapi_ecdsa.hpp.


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