![]() |
Master Core
v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
|
#include <key.h>
Public Member Functions | |
void | Encode (unsigned char code[74]) const |
void | Decode (const unsigned char code[74]) |
bool | Derive (CExtKey &out, unsigned int nChild) const |
CExtPubKey | Neuter () const |
void | SetMaster (const unsigned char *seed, unsigned int nSeedLen) |
Data Fields | |
unsigned char | nDepth |
unsigned char | vchFingerprint [4] |
unsigned int | nChild |
unsigned char | vchChainCode [32] |
CKey | key |
Friends | |
bool | operator== (const CExtKey &a, const CExtKey &b) |
void CExtKey::Decode | ( | const unsigned char | code[74] | ) |
Definition at line 586 of file key.cpp.
References key, memcpy(), nChild, nDepth, CKey::Set(), vchChainCode, and vchFingerprint.
Definition at line 541 of file key.cpp.
References CKey::Derive(), CPubKey::GetID(), CKey::GetPubKey(), key, memcpy(), nChild, nDepth, vchChainCode, and vchFingerprint.
void CExtKey::Encode | ( | unsigned char | code[74] | ) | const |
Definition at line 575 of file key.cpp.
References CKey::begin(), key, memcpy(), nChild, nDepth, CKey::size(), vchChainCode, and vchFingerprint.
CExtPubKey CExtKey::Neuter | ( | ) | const |
Definition at line 565 of file key.cpp.
References CKey::GetPubKey(), key, memcpy(), CExtPubKey::nChild, nChild, CExtPubKey::nDepth, nDepth, CExtPubKey::pubkey, CExtPubKey::vchChainCode, vchChainCode, CExtPubKey::vchFingerprint, and vchFingerprint.
void CExtKey::SetMaster | ( | const unsigned char * | seed, |
unsigned int | nSeedLen | ||
) |
Definition at line 549 of file key.cpp.
References HMAC_SHA512_Final(), HMAC_SHA512_Init(), HMAC_SHA512_Update(), key, LockObject(), memcpy(), nChild, nDepth, CKey::Set(), UnlockObject(), vchChainCode, and vchFingerprint.
CKey CExtKey::key |
unsigned int CExtKey::nChild |
unsigned char CExtKey::nDepth |
unsigned char CExtKey::vchChainCode[32] |
unsigned char CExtKey::vchFingerprint[4] |