[#CMS_set1_signers_certs] = CMS_set1_signers_certs :mrdocs: Attach signer certificates from `certs` to matching CMS SignerInfos. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_set1_signers_certs( xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms, xref:stack_st_X509.adoc[stack_st_X509]* certs, unsigned int flags); ---- == Return Value Number of SignerInfos that received a certificate, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *cms* | Signed CMS ContentInfo whose SignerInfos are updated. | *certs* | Candidate signer certificates; matching ones are referenced by the CMS structure. | *flags* | CMS_NOINTERN and related flags controlling where certificates are taken from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#