Produce a script signature using a generic signature creator.
Declared in <script/sign.h>
bool
ProduceSignature(
SigningProvider const& provider,
BaseSignatureCreator const& creator,
CScript const& scriptPubKey,
SignatureData& sigdata);
True if a complete signature was produced.
| Name | Description |
|---|---|
| provider | The source of keys and scripts used to sign. |
| creator | The signature creator that produces the signatures. |
| scriptPubKey | The output script being satisfied. |
| sigdata | In/out signature data updated with the produced material. |