Create a CMS CompressedData ContentInfo from content read from a BIO.
Synopsis
Declared in <openssl/cms.h>
CMS_ContentInfo*
CMS_compress(
BIO* in,
int comp_nid,
unsigned int flags);
Return Value
New CMS_ContentInfo on success, or NULL on error.
Parameters
Name |
Description |
in |
Content to compress (ignored for reading when CMS_STREAM is set). |
comp_nid |
Compression algorithm NID, or NID_undef for the default (zlib). |
flags |
Optional CMS flags such as CMS_TEXT, CMS_BINARY, CMS_STREAM, or CMS_DETACHED. |
Created with MrDocs