plebble
us::gov::crypto::ec::keys Struct Reference

#include <ec.h>

Collaboration diagram for us::gov::crypto::ec::keys:

Classes

struct  priv_t
 
struct  pub_t
 

Public Member Functions

 keys ()
 
 keys (const priv_t &)
 
 keys (const keys &other)
 
 keys (keys &&other)
 
void reset (const priv_t &)
 
int reset_if_distinct (const priv_t &)
 

Static Public Member Functions

static keys generate ()
 
static bool verify (const priv_t &privkey)
 
static pub_t get_pubkey (const priv_t &privkey)
 

Public Attributes

priv_t priv
 
pub_t pub
 

Constructor & Destructor Documentation

◆ keys() [1/4]

us::gov::crypto::ec::keys::keys ( )
inline

◆ keys() [2/4]

us::gov::crypto::ec::keys::keys ( const priv_t )

◆ keys() [3/4]

us::gov::crypto::ec::keys::keys ( const keys other)

◆ keys() [4/4]

us::gov::crypto::ec::keys::keys ( keys &&  other)

Member Function Documentation

◆ generate()

static keys us::gov::crypto::ec::keys::generate ( )
static

◆ get_pubkey()

static pub_t us::gov::crypto::ec::keys::get_pubkey ( const priv_t privkey)
static

◆ reset()

void us::gov::crypto::ec::keys::reset ( const priv_t )

◆ reset_if_distinct()

int us::gov::crypto::ec::keys::reset_if_distinct ( const priv_t )

◆ verify()

static bool us::gov::crypto::ec::keys::verify ( const priv_t privkey)
static

Member Data Documentation

◆ priv

priv_t us::gov::crypto::ec::keys::priv

◆ pub

pub_t us::gov::crypto::ec::keys::pub

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