[#ProduceSignature]
= ProduceSignature
:mrdocs:

Produce a script signature using a generic signature creator&period;

== Synopsis

Declared in `&lt;script&sol;sign&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
ProduceSignature(
    xref:SigningProvider.adoc[SigningProvider] const& provider,
    xref:BaseSignatureCreator.adoc[BaseSignatureCreator] const& creator,
    xref:CScript.adoc[CScript] const& scriptPubKey,
    xref:SignatureData.adoc[SignatureData]& sigdata);
----

== Return Value

True if a complete signature was produced&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *provider*
| The source of keys and scripts used to sign&period;
| *creator*
| The signature creator that produces the signatures&period;
| *scriptPubKey*
| The output script being satisfied&period;
| *sigdata*
| In&sol;out signature data updated with the produced material&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
