[#CMS_add0_CertificateChoices]
= CMS&lowbar;add0&lowbar;CertificateChoices
:mrdocs:

Append an empty CertificateChoices slot to a CMS SignedData certificates set&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CMS_CertificateChoices-0c.adoc[CMS&lowbar;CertificateChoices]*
CMS&lowbar;add0&lowbar;CertificateChoices(xref:CMS_ContentInfo.adoc[CMS&lowbar;ContentInfo]* cms);
----

== Return Value

Newly added CMS&lowbar;CertificateChoices, or NULL on error&semi; ownership stays with `cms&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cms*
| ContentInfo of type signed&hyphen;data (or similar) that holds certificates&period;
|===


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