CMS_uncompress

Decompress a CMS CompressedData ContentInfo to out.

Synopsis

Declared in <openssl/cms.h>

int
CMS_uncompress(
    CMS_ContentInfo* cms,
    BIO* dcont,
    BIO* out,
    unsigned int flags);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
cmsCompressedData ContentInfo to expand.
dcontOptional BIO supplying detached content, or NULL when content is embedded.
outBIO that receives the uncompressed content octets.
flagsOptional CMS flags such as CMS_TEXT.