[#BaseSignatureCreator-CreateSig]
= xref:BaseSignatureCreator.adoc[BaseSignatureCreator]::CreateSig
:relfileprefix: ../
:mrdocs:

Create a singular (non&hyphen;script) signature&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
CreateSig(
    xref:SigningProvider.adoc[SigningProvider] const& provider,
    std::vector&lt;unsigned char&gt;& vchSig,
    xref:CKeyID.adoc[CKeyID] const& keyid,
    xref:CScript.adoc[CScript] const& scriptCode,
    xref:SigVersion.adoc[SigVersion] sigversion) const = 0;
----

== Return Value

True if the signature was created&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *provider*
| The source of keys used to sign&period;
| *vchSig*
| Filled with the produced signature&period;
| *keyid*
| Identifier of the key to sign with&period;
| *scriptCode*
| The script being signed&period;
| *sigversion*
| The signature serialization version to use&period;
|===


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