Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Types | Public Member Functions | List of all members
CBitcoinSecret Class Reference

A base58-encoded secret key. More...

#include <base58.h>

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

Public Types

enum  { PRIVKEY_ADDRESS = CBitcoinAddress::PUBKEY_ADDRESS + 128, PRIVKEY_ADDRESS_TEST = CBitcoinAddress::PUBKEY_ADDRESS_TEST + 128 }
 

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)
 
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
 
- Protected Member Functions inherited from CBase58Data
 CBase58Data ()
 
void SetData (int nVersionIn, const void *pdata, size_t nSize)
 
void SetData (int nVersionIn, const unsigned char *pbegin, const unsigned char *pend)
 
- Protected Attributes inherited from CBase58Data
unsigned char nVersion
 
vector_uchar vchData
 

Detailed Description

A base58-encoded secret key.

Definition at line 398 of file base58.h.

Member Enumeration Documentation

anonymous enum
Enumerator
PRIVKEY_ADDRESS 
PRIVKEY_ADDRESS_TEST 

Definition at line 401 of file base58.h.

Constructor & Destructor Documentation

CBitcoinSecret::CBitcoinSecret ( const CKey vchSecret)
inline

Definition at line 450 of file base58.h.

CBitcoinSecret::CBitcoinSecret ( )
inline

Definition at line 455 of file base58.h.

Member Function Documentation

CKey CBitcoinSecret::GetKey ( )
inline

Definition at line 415 of file base58.h.

bool CBitcoinSecret::IsValid ( ) const
inline

Definition at line 422 of file base58.h.

void CBitcoinSecret::SetKey ( const CKey vchSecret)
inline

Definition at line 407 of file base58.h.

bool CBitcoinSecret::SetString ( const char *  pszSecret)
inline

Definition at line 440 of file base58.h.

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

Definition at line 445 of file base58.h.


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