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

Virtual base class for signature creators. More...

#include <sign.h>

Inheritance diagram for BaseSignatureCreator:
[legend]
Collaboration diagram for BaseSignatureCreator:
[legend]

Public Member Functions

 BaseSignatureCreator (const CKeyStore *keystoreIn)
 
const CKeyStoreKeyStore () const
 
virtual ~BaseSignatureCreator ()
 
virtual const BaseSignatureCheckerChecker () const =0
 
virtual bool CreateSig (std::vector< unsigned char > &vchSig, const CKeyID &keyid, const CScript &scriptCode, SigVersion sigversion) const =0
 Create a singular (non-script) signature. More...
 

Protected Attributes

const CKeyStorekeystore
 

Detailed Description

Virtual base class for signature creators.

Definition at line 19 of file sign.h.

Constructor & Destructor Documentation

BaseSignatureCreator::BaseSignatureCreator ( const CKeyStore keystoreIn)
inlineexplicit

Definition at line 24 of file sign.h.

virtual BaseSignatureCreator::~BaseSignatureCreator ( )
inlinevirtual

Definition at line 26 of file sign.h.

Here is the call graph for this function:

Member Function Documentation

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

Implemented in DummySignatureCreator, and TransactionSignatureCreator.

Here is the caller graph for this function:

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

Create a singular (non-script) signature.

Implemented in DummySignatureCreator, and TransactionSignatureCreator.

Here is the caller graph for this function:

const CKeyStore& BaseSignatureCreator::KeyStore ( ) const
inline

Definition at line 25 of file sign.h.

Here is the caller graph for this function:

Member Data Documentation

const CKeyStore* BaseSignatureCreator::keystore
protected

Definition at line 21 of file sign.h.


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