Bitcoin
|
Public Member Functions | |
BIP32PubkeyProvider (const CExtPubKey &extkey, KeyPath path, DeriveType derive) | |
bool | IsRange () const override |
size_t | GetSize () const override |
bool | GetPubKey (int pos, const SigningProvider &arg, CPubKey *key, KeyOriginInfo &info) const override |
std::string | ToString () const override |
bool | ToPrivateString (const SigningProvider &arg, std::string &out) const override |
bool | GetPrivKey (int pos, const SigningProvider &arg, CKey &key) const override |
![]() | |
virtual | ~PubkeyProvider ()=default |
Private Member Functions | |
bool | GetExtKey (const SigningProvider &arg, CExtKey &ret) const |
bool | IsHardened () const |
Private Attributes | |
CExtPubKey | m_extkey |
KeyPath | m_path |
DeriveType | m_derive |
An object representing a parsed extended public key in a descriptor.
|
inline |
|
inlineprivate |
|
inlineoverridevirtual |
Derive a private key, if private data is available in arg.
Implements anonymous_namespace{descriptor.cpp}::PubkeyProvider.
|
inlineoverridevirtual |
Derive a public key. If key==nullptr, only info is desired.
Implements anonymous_namespace{descriptor.cpp}::PubkeyProvider.
|
inlineoverridevirtual |
Get the size of the generated public key(s) in bytes (33 or 65).
Implements anonymous_namespace{descriptor.cpp}::PubkeyProvider.
|
inlineprivate |
|
inlineoverridevirtual |
Whether this represent multiple public keys at different positions.
Implements anonymous_namespace{descriptor.cpp}::PubkeyProvider.
|
inlineoverridevirtual |
Get the descriptor string form including private data (if available in arg).
Implements anonymous_namespace{descriptor.cpp}::PubkeyProvider.
|
inlineoverridevirtual |
Get the descriptor string form.
Implements anonymous_namespace{descriptor.cpp}::PubkeyProvider.
|
private |
|
private |
|
private |