Electroneum
cryptonote::keypair Struct Reference

#include <cryptonote_basic.h>

Collaboration diagram for cryptonote::keypair:

Static Public Member Functions

static keypair generate (hw::device &hwdev)
 

Public Attributes

crypto::public_key pub
 
crypto::secret_key sec
 

Detailed Description

Definition at line 502 of file cryptonote_basic.h.

Member Function Documentation

◆ generate()

static keypair cryptonote::keypair::generate ( hw::device hwdev)
inlinestatic

Definition at line 507 of file cryptonote_basic.h.

508  {
509  keypair k;
510  hwdev.generate_keys(k.pub, k.sec);
511  return k;
512  }
virtual crypto::secret_key generate_keys(crypto::public_key &pub, crypto::secret_key &sec, const crypto::secret_key &recovery_key=crypto::secret_key(), bool recover=false)=0
std::vector< std::string > keypair
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ pub

crypto::public_key cryptonote::keypair::pub

Definition at line 504 of file cryptonote_basic.h.

◆ sec

crypto::secret_key cryptonote::keypair::sec

Definition at line 505 of file cryptonote_basic.h.


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