Bitcoin Core 30.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
 
virtual std::vector< CPubKeyGetMuSig2ParticipantPubkeys (const CPubKey &pubkey) const
 
virtual std::map< CPubKey, std::vector< CPubKey > > GetAllMuSig2ParticipantPubkeys () const
 
virtual void SetMuSig2SecNonce (const uint256 &id, MuSig2SecNonce &&nonce) const
 
virtual std::optional< std::reference_wrapper< MuSig2SecNonce > > GetMuSig2SecNonce (const uint256 &session_id) const
 
virtual void DeleteMuSig2Session (const uint256 &session_id) 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 156 of file signingprovider.h.

Constructor & Destructor Documentation

◆ ~SigningProvider()

virtual SigningProvider::~SigningProvider ( )
virtualdefault

Member Function Documentation

◆ DeleteMuSig2Session()

virtual void SigningProvider::DeleteMuSig2Session ( const uint256 session_id) const
inlinevirtual

Reimplemented in HidingSigningProvider, and FlatSigningProvider.

Definition at line 172 of file signingprovider.h.

Here is the caller graph for this function:

◆ GetAllMuSig2ParticipantPubkeys()

virtual std::map< CPubKey, std::vector< CPubKey > > SigningProvider::GetAllMuSig2ParticipantPubkeys ( ) const
inlinevirtual

Reimplemented in HidingSigningProvider, and FlatSigningProvider.

Definition at line 169 of file signingprovider.h.

Here is the caller graph for this function:

◆ GetCScript()

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

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

Definition at line 160 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 163 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 174 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 165 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 190 of file signingprovider.h.

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

◆ GetMuSig2ParticipantPubkeys()

virtual std::vector< CPubKey > SigningProvider::GetMuSig2ParticipantPubkeys ( const CPubKey pubkey) const
inlinevirtual

Reimplemented in HidingSigningProvider, and FlatSigningProvider.

Definition at line 168 of file signingprovider.h.

Here is the caller graph for this function:

◆ GetMuSig2SecNonce()

virtual std::optional< std::reference_wrapper< MuSig2SecNonce > > SigningProvider::GetMuSig2SecNonce ( const uint256 session_id) const
inlinevirtual

Reimplemented in HidingSigningProvider, and FlatSigningProvider.

Definition at line 171 of file signingprovider.h.

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 162 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 182 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 167 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 166 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 161 of file signingprovider.h.

◆ HaveKey()

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

◆ SetMuSig2SecNonce()

virtual void SigningProvider::SetMuSig2SecNonce ( const uint256 id,
MuSig2SecNonce &&  nonce 
) const
inlinevirtual

Reimplemented in HidingSigningProvider, and FlatSigningProvider.

Definition at line 170 of file signingprovider.h.

Here is the caller graph for this function:

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