Ethereum  PoC-8
The C++ Implementation of Ethereum
dev::eth::KeyInfo Struct Reference

#include <KeyManager.h>

Public Member Functions

 KeyInfo ()=default
 
 KeyInfo (h256 const &_passHash, std::string const &_accountName, std::string const &_passwordHint=std::string())
 

Public Attributes

h256 passHash
 Hash of the password or h256() / UnknownPassword if unknown. More...
 
std::string accountName
 Name of the key, or JSON key info if begins with '{'. More...
 
std::string passwordHint
 Hint of the password. Alternative place for storage than the hash-based lookup. More...
 

Detailed Description

Definition at line 38 of file KeyManager.h.

Constructor & Destructor Documentation

◆ KeyInfo() [1/2]

dev::eth::KeyInfo::KeyInfo ( )
default

◆ KeyInfo() [2/2]

dev::eth::KeyInfo::KeyInfo ( h256 const &  _passHash,
std::string const &  _accountName,
std::string const &  _passwordHint = std::string() 
)
inline

Definition at line 41 of file KeyManager.h.

Member Data Documentation

◆ accountName

std::string dev::eth::KeyInfo::accountName

Name of the key, or JSON key info if begins with '{'.

Definition at line 46 of file KeyManager.h.

◆ passHash

h256 dev::eth::KeyInfo::passHash

Hash of the password or h256() / UnknownPassword if unknown.

Definition at line 44 of file KeyManager.h.

◆ passwordHint

std::string dev::eth::KeyInfo::passwordHint

Hint of the password. Alternative place for storage than the hash-based lookup.

Definition at line 48 of file KeyManager.h.


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