*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: CMS_uncompress | Section: 3 | Source: OpenBSD | File: CMS_uncompress.3
CMS_UNCOMPRESS(3) FreeBSD Library Functions Manual CMS_UNCOMPRESS(3) NAME CMS_uncompress - uncompress a CMS CompressedData structure SYNOPSIS #include <openssl/cms.h> int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out, unsigned int flags); DESCRIPTION CMS_uncompress() extracts and uncompresses the content of a CMS CompressedData structure cms and writes it to out. In the rare case where the compressed content is detached, pass it in via dcont. For normal use, set dcont to NULL. The only currently supported compression algorithm is zlib: if the structure indicates the use of any other algorithm, an error is returned. If zlib support is not compiled in, CMS_uncompress() always returns an error. If the CMS_TEXT bit is set in flags, MIME headers for type text/plain are deleted from the content. If the content is not of type text/plain, an error is returned. RETURN VALUES CMS_uncompress() returns 1 for success or 0 for failure. The error can be obtained from ERR_get_error(3). SEE ALSO CMS_compress(3), CMS_ContentInfo_new(3) STANDARDS RFC 3274: Compressed Data Content Type for Cryptographic Message Syntax (CMS) HISTORY CMS_uncompress() first appeared in OpenSSL 0.9.8h and has been available since OpenBSD 6.7. BUGS The lack of single pass processing and the need to hold all data in memory as mentioned in CMS_verify(3) also applies to CMS_uncompress(). FreeBSD 14.1-RELEASE-p8 November 2, 2019 FreeBSD 14.1-RELEASE-p8

Navigation Options