[#CMS_SignerInfo_set1_signer_cert]
= CMS&lowbar;SignerInfo&lowbar;set1&lowbar;signer&lowbar;cert
:mrdocs:

Associate a signer certificate with a CMS SignerInfo (increments the cert reference)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
CMS&lowbar;SignerInfo&lowbar;set1&lowbar;signer&lowbar;cert(
    xref:CMS_SignerInfo.adoc[CMS&lowbar;SignerInfo]* si,
    xref:X509.adoc[X509]* signer);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *si*
| SignerInfo to update&period;
| *signer*
| Signer certificate to attach&period;
|===


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