Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
BaseSignatureCreator Class Referenceabstract

Interface for signature creators. More...

#include <sign.h>

Inheritance diagram for BaseSignatureCreator:
[legend]

Public Member Functions

virtual ~BaseSignatureCreator ()=default
 
virtual const BaseSignatureCheckerChecker () const =0
 
virtual bool CreateSig (const SigningProvider &provider, std::vector< unsigned char > &vchSig, const CKeyID &keyid, const CScript &scriptCode, SigVersion sigversion) const =0
 Create a singular (non-script) signature. More...
 
virtual bool CreateSchnorrSig (const SigningProvider &provider, std::vector< unsigned char > &sig, const XOnlyPubKey &pubkey, const uint256 *leaf_hash, const uint256 *merkle_root, SigVersion sigversion) const =0
 

Detailed Description

Interface for signature creators.

Definition at line 28 of file sign.h.

Constructor & Destructor Documentation

◆ ~BaseSignatureCreator()

virtual BaseSignatureCreator::~BaseSignatureCreator ( )
virtualdefault

Member Function Documentation

◆ Checker()

virtual const BaseSignatureChecker & BaseSignatureCreator::Checker ( ) const
pure virtual

Implemented in MutableTransactionSignatureCreator.

Here is the caller graph for this function:

◆ CreateSchnorrSig()

virtual bool BaseSignatureCreator::CreateSchnorrSig ( const SigningProvider provider,
std::vector< unsigned char > &  sig,
const XOnlyPubKey pubkey,
const uint256 leaf_hash,
const uint256 merkle_root,
SigVersion  sigversion 
) const
pure virtual

Implemented in MutableTransactionSignatureCreator.

Here is the caller graph for this function:

◆ CreateSig()

virtual bool BaseSignatureCreator::CreateSig ( const SigningProvider provider,
std::vector< unsigned char > &  vchSig,
const CKeyID keyid,
const CScript scriptCode,
SigVersion  sigversion 
) const
pure virtual

Create a singular (non-script) signature.

Implemented in MutableTransactionSignatureCreator.

Here is the caller graph for this function:

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