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 508 of file cryptonote_basic.h.

Member Function Documentation

◆ generate()

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

Definition at line 513 of file cryptonote_basic.h.

514  {
515  keypair k;
516  hwdev.generate_keys(k.pub, k.sec);
517  return k;
518  }
std::vector< std::string > keypair
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
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 510 of file cryptonote_basic.h.

◆ sec

crypto::secret_key cryptonote::keypair::sec

Definition at line 511 of file cryptonote_basic.h.


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