[#CMS_SignerInfo_sign]
= CMS&lowbar;SignerInfo&lowbar;sign
:mrdocs:

Explicitly finalize and sign a CMS SignerInfo (for CMS&lowbar;PARTIAL with CMS&lowbar;REUSE&lowbar;DIGEST)&period;

== Synopsis

Declared in `&lt;openssl&sol;cms&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;SignerInfo&lowbar;sign(xref:CMS_SignerInfo.adoc[CMS&lowbar;SignerInfo]* si);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *si*
| SignerInfo that already has digest, key, and any extra signed attributes prepared&period;
|===


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