Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | List of all members
CRavenSecret Class Reference

A base58-encoded secret key. More...

#include <base58.h>

Inheritance diagram for CRavenSecret:
[legend]
Collaboration diagram for CRavenSecret:
[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)
 
 CRavenSecret (const CKey &vchSecret)
 
 CRavenSecret ()
 
- 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 123 of file base58.h.

Constructor & Destructor Documentation

◆ CRavenSecret() [1/2]

CRavenSecret::CRavenSecret ( const CKey vchSecret)
inline

Definition at line 132 of file base58.h.

◆ CRavenSecret() [2/2]

CRavenSecret::CRavenSecret ( )
inline

Definition at line 133 of file base58.h.

Member Function Documentation

◆ GetKey()

CKey CRavenSecret::GetKey ( )

Definition at line 301 of file base58.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsValid()

bool CRavenSecret::IsValid ( ) const

Definition at line 309 of file base58.cpp.

Here is the call graph for this function:

◆ SetKey()

void CRavenSecret::SetKey ( const CKey vchSecret)

Definition at line 293 of file base58.cpp.

Here is the call graph for this function:

◆ SetString() [1/2]

bool CRavenSecret::SetString ( const char *  pszSecret)

Definition at line 316 of file base58.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetString() [2/2]

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

Definition at line 321 of file base58.cpp.

Here is the call graph for this function:

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