[#CMS_add1_cert] = CMS_add1_cert :mrdocs: Add a certificate to a CMS ContentInfo, taking a reference on `cert.` == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_add1_cert( xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms, xref:X509.adoc[X509]* cert); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *cms* | ContentInfo of type signed data or (authenticated) enveloped data. | *cert* | Certificate to add unless already present; caller retains ownership. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#