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

Name

Description

cms

CompressedData ContentInfo to expand.

dcont

Optional BIO supplying detached content, or NULL when content is embedded.

out

BIO that receives the uncompressed content octets.

flags

Optional CMS flags such as CMS_TEXT.

Created with MrDocs