Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | List of all members
CBitcoinSecret Class Reference

A base58-encoded secret key. More...

#include <base58.h>

Inheritance diagram for CBitcoinSecret:
[legend]
Collaboration diagram for CBitcoinSecret:
[legend]

Public Member Functions

void SetKey (const CKey &vchSecret)
 
CKey GetKey ()
 
bool IsValid () const
 
bool SetString (const char *pszSecret)
 
bool SetString (const std::string &strSecret)
 
 CBitcoinSecret (const CKey &vchSecret)
 
 CBitcoinSecret ()
 
- Public Member Functions inherited from CBase58Data
bool SetString (const char *psz, unsigned int nVersionBytes=1)
 
bool SetString (const std::string &str)
 
std::string ToString () const
 
int CompareTo (const CBase58Data &b58) const
 
bool operator== (const CBase58Data &b58) const
 
bool operator<= (const CBase58Data &b58) const
 
bool operator>= (const CBase58Data &b58) const
 
bool operator< (const CBase58Data &b58) const
 
bool operator> (const CBase58Data &b58) const
 

Additional Inherited Members

- Protected Types inherited from CBase58Data
typedef std::vector< unsigned char, zero_after_free_allocator< unsigned char > > vector_uchar
 the actually encoded data More...
 
- Protected Member Functions inherited from CBase58Data
 CBase58Data ()
 
void SetData (const std::vector< unsigned char > &vchVersionIn, const void *pdata, size_t nSize)
 
void SetData (const std::vector< unsigned char > &vchVersionIn, const unsigned char *pbegin, const unsigned char *pend)
 
- Protected Attributes inherited from CBase58Data
std::vector< unsigned char > vchVersion
 the version byte(s) More...
 
vector_uchar vchData
 

Detailed Description

A base58-encoded secret key.

Definition at line 101 of file base58.h.

Constructor & Destructor Documentation

CBitcoinSecret::CBitcoinSecret ( const CKey vchSecret)
inline

Definition at line 110 of file base58.h.

CBitcoinSecret::CBitcoinSecret ( )
inline

Definition at line 111 of file base58.h.

Member Function Documentation

CKey CBitcoinSecret::GetKey ( )

Definition at line 304 of file base58.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CBitcoinSecret::IsValid ( ) const

Definition at line 312 of file base58.cpp.

Here is the call graph for this function:

void CBitcoinSecret::SetKey ( const CKey vchSecret)

Definition at line 296 of file base58.cpp.

Here is the call graph for this function:

bool CBitcoinSecret::SetString ( const char *  pszSecret)

Definition at line 319 of file base58.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CBitcoinSecret::SetString ( const std::string &  strSecret)

Definition at line 324 of file base58.cpp.

Here is the call graph for this function:


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