Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
SigningProvider Class Reference

An interface to be implemented by keystores that support signing. More...

#include <signingprovider.h>

Inheritance diagram for SigningProvider:
[legend]

Public Member Functions

virtual ~SigningProvider ()=default
 
virtual bool GetCScript (const CScriptID &scriptid, CScript &script) const
 
virtual bool HaveCScript (const CScriptID &scriptid) const
 
virtual bool GetPubKey (const CKeyID &address, CPubKey &pubkey) const
 
virtual bool GetKey (const CKeyID &address, CKey &key) const
 
virtual bool HaveKey (const CKeyID &address) const
 
virtual bool GetKeyOrigin (const CKeyID &keyid, KeyOriginInfo &info) const
 
virtual bool GetTaprootSpendData (const XOnlyPubKey &output_key, TaprootSpendData &spenddata) const
 
virtual bool GetTaprootBuilder (const XOnlyPubKey &output_key, TaprootBuilder &builder) const
 
bool GetKeyByXOnly (const XOnlyPubKey &pubkey, CKey &key) const
 
bool GetPubKeyByXOnly (const XOnlyPubKey &pubkey, CPubKey &out) const
 
bool GetKeyOriginByXOnly (const XOnlyPubKey &pubkey, KeyOriginInfo &info) const
 

Detailed Description

An interface to be implemented by keystores that support signing.

Definition at line 150 of file signingprovider.h.

Constructor & Destructor Documentation

◆ ~SigningProvider()

virtual SigningProvider::~SigningProvider ( )
virtualdefault

Member Function Documentation

◆ GetCScript()

virtual bool SigningProvider::GetCScript ( const CScriptID scriptid,
CScript script 
) const
inlinevirtual

Reimplemented in FillableSigningProvider, HidingSigningProvider, FlatSigningProvider, MultiSigningProvider, and wallet::LegacySigningProvider.

Definition at line 154 of file signingprovider.h.

Here is the caller graph for this function:

◆ GetKey()

virtual bool SigningProvider::GetKey ( const CKeyID address,
CKey key 
) const
inlinevirtual

Reimplemented in wallet::LegacySigningProvider, FillableSigningProvider, wallet::LegacyDataSPKM, HidingSigningProvider, FlatSigningProvider, and MultiSigningProvider.

Definition at line 157 of file signingprovider.h.

Here is the caller graph for this function:

◆ GetKeyByXOnly()

bool SigningProvider::GetKeyByXOnly ( const XOnlyPubKey pubkey,
CKey key 
) const
inline

Definition at line 163 of file signingprovider.h.

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

◆ GetKeyOrigin()

virtual bool SigningProvider::GetKeyOrigin ( const CKeyID keyid,
KeyOriginInfo info 
) const
inlinevirtual

Reimplemented in HidingSigningProvider, FlatSigningProvider, MultiSigningProvider, wallet::LegacyDataSPKM, and wallet::LegacySigningProvider.

Definition at line 159 of file signingprovider.h.

Here is the caller graph for this function:

◆ GetKeyOriginByXOnly()

bool SigningProvider::GetKeyOriginByXOnly ( const XOnlyPubKey pubkey,
KeyOriginInfo info 
) const
inline

Definition at line 179 of file signingprovider.h.

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

◆ GetPubKey()

virtual bool SigningProvider::GetPubKey ( const CKeyID address,
CPubKey pubkey 
) const
inlinevirtual

Reimplemented in wallet::LegacySigningProvider, FillableSigningProvider, wallet::LegacyDataSPKM, HidingSigningProvider, FlatSigningProvider, and MultiSigningProvider.

Definition at line 156 of file signingprovider.h.

Here is the caller graph for this function:

◆ GetPubKeyByXOnly()

bool SigningProvider::GetPubKeyByXOnly ( const XOnlyPubKey pubkey,
CPubKey out 
) const
inline

Definition at line 171 of file signingprovider.h.

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

◆ GetTaprootBuilder()

virtual bool SigningProvider::GetTaprootBuilder ( const XOnlyPubKey output_key,
TaprootBuilder builder 
) const
inlinevirtual

Reimplemented in HidingSigningProvider, FlatSigningProvider, and MultiSigningProvider.

Definition at line 161 of file signingprovider.h.

Here is the caller graph for this function:

◆ GetTaprootSpendData()

virtual bool SigningProvider::GetTaprootSpendData ( const XOnlyPubKey output_key,
TaprootSpendData spenddata 
) const
inlinevirtual

Reimplemented in HidingSigningProvider, FlatSigningProvider, and MultiSigningProvider.

Definition at line 160 of file signingprovider.h.

Here is the caller graph for this function:

◆ HaveCScript()

virtual bool SigningProvider::HaveCScript ( const CScriptID scriptid) const
inlinevirtual

Reimplemented in FillableSigningProvider, and wallet::LegacySigningProvider.

Definition at line 155 of file signingprovider.h.

◆ HaveKey()

virtual bool SigningProvider::HaveKey ( const CKeyID address) const
inlinevirtual

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