[#CMS_SignedData_init]
= CMS&lowbar;SignedData&lowbar;init
:mrdocs:

Initialize `cms` as an empty CMS SignedData (for example for certificates&hyphen;only)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;SignedData&lowbar;init(xref:CMS_ContentInfo.adoc[CMS&lowbar;ContentInfo]* cms);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cms*
| ContentInfo that receives a SignedData structure if not already present&period;
|===


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