[#CMS_uncompress]
= CMS&lowbar;uncompress
:mrdocs:

Decompress a CMS CompressedData ContentInfo to `out&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CMS&lowbar;uncompress(
    xref:CMS_ContentInfo.adoc[CMS&lowbar;ContentInfo]* cms,
    xref:BIO.adoc[BIO]* dcont,
    xref:BIO.adoc[BIO]* out,
    unsigned int flags);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cms*
| CompressedData ContentInfo to expand&period;
| *dcont*
| Optional BIO supplying detached content, or NULL when content is embedded&period;
| *out*
| BIO that receives the uncompressed content octets&period;
| *flags*
| Optional CMS flags such as CMS&lowbar;TEXT&period;
|===


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