Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
A base58-encoded secret key. More...
#include <base58.h>
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
Constructor & Destructor Documentation
◆ CBitcoinSecret() [1/2]
|
inline |
◆ CBitcoinSecret() [2/2]
Member Function Documentation
◆ GetKey()
CKey CBitcoinSecret::GetKey | ( | ) |
Definition at line 304 of file base58.cpp.
References CKey::Set(), and CBase58Data::vchData.
Referenced by CMessageSigner::GetKeysFromSecret(), importelectrumwallet(), importprivkey(), importwallet(), MutateTxSign(), ParsePrivKey(), ProcessImport(), signmessagewithprivkey(), and signrawtransaction().
◆ IsValid()
bool CBitcoinSecret::IsValid | ( | ) | const |
Definition at line 312 of file base58.cpp.
References CChainParams::Base58Prefix(), Params(), CChainParams::SECRET_KEY, CBase58Data::vchData, and CBase58Data::vchVersion.
Referenced by ParsePrivKey(), and SetString().
◆ SetKey()
void CBitcoinSecret::SetKey | ( | const CKey & | vchSecret | ) |
Definition at line 296 of file base58.cpp.
References CKey::begin(), CKey::IsCompressed(), CKey::IsValid(), Params(), CChainParams::SECRET_KEY, CBase58Data::SetData(), CKey::size(), and CBase58Data::vchData.
Referenced by CBitcoinSecret().
◆ SetString() [1/2]
bool CBitcoinSecret::SetString | ( | const char * | pszSecret | ) |
Definition at line 319 of file base58.cpp.
References IsValid(), and CBase58Data::SetString().
Referenced by CMessageSigner::GetKeysFromSecret(), importelectrumwallet(), importprivkey(), importwallet(), MutateTxSign(), ParsePrivKey(), ProcessImport(), SetString(), signmessagewithprivkey(), and signrawtransaction().
◆ SetString() [2/2]
bool CBitcoinSecret::SetString | ( | const std::string & | strSecret | ) |
Definition at line 324 of file base58.cpp.
References SetString().
The documentation for this class was generated from the following files:
- src/base58.h
- src/base58.cpp