[#BaseSignatureCreator-CreateSig] = xref:BaseSignatureCreator.adoc[BaseSignatureCreator]::CreateSig :relfileprefix: ../ :mrdocs: Create a singular (non‐script) signature. == Synopsis Declared in `<script/sign.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool CreateSig( xref:SigningProvider.adoc[SigningProvider] const& provider, std::vector<unsigned char>& 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. == Parameters [cols="1,4"] |=== | Name| Description | *provider* | The source of keys used to sign. | *vchSig* | Filled with the produced signature. | *keyid* | Identifier of the key to sign with. | *scriptCode* | The script being signed. | *sigversion* | The signature serialization version to use. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#