CMS_uncompress(3) OpenSSL 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 from a CMS CompressedData structure cms. data is a BIO to write the content to and
flags is an optional set of flags.
The dcont parameter is used in the rare case where the compressed content is detached. It will normally be set to NULL.
NOTES
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 into OpenSSL then CMS_uncompress() will always return an error.
The following flags can be passed in the flags parameter.
If the CMS_TEXT flag is set MIME headers for type text/plain are deleted from the content. If the content is not of type text/plain then an
error is returned.
RETURN VALUES
CMS_uncompress() returns either 1 for success or 0 for failure. The error can be obtained from ERR_get_error(3)BUGS
The lack of single pass processing and the need to hold all data in memory as mentioned in CMS_verify() also applies to CMS_decompress().
SEE ALSO ERR_get_error(3), CMS_compress(3)HISTORY
CMS_uncompress() was added to OpenSSL 0.9.8
1.0.1e 2013-02-11 CMS_uncompress(3)
Check Out this Related Man Page
CMS_uncompress(3SSL) OpenSSL CMS_uncompress(3SSL)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 from a CMS CompressedData structure cms. data is a BIO to write the content to and
flags is an optional set of flags.
The dcont parameter is used in the rare case where the compressed content is detached. It will normally be set to NULL.
NOTES
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 into OpenSSL then CMS_uncompress() will always return an error.
The following flags can be passed in the flags parameter.
If the CMS_TEXT flag is set MIME headers for type text/plain are deleted from the content. If the content is not of type text/plain then an
error is returned.
RETURN VALUES
CMS_uncompress() returns either 1 for success or 0 for failure. The error can be obtained from ERR_get_error(3)BUGS
The lack of single pass processing and the need to hold all data in memory as mentioned in CMS_verify() also applies to CMS_decompress().
SEE ALSO ERR_get_error(3), CMS_compress(3)HISTORY
CMS_uncompress() was added to OpenSSL 0.9.8
1.0.1e 2013-02-11 CMS_uncompress(3SSL)
Hi,
i want to read a text file whose content(single line) will be a number like 1 or 2 or 3 ..... what i want to do is to read the file and increment the content of the file, using unix scripting.
Regards,
Senthil Kumar Siddhan. (2 Replies)
I've a text file whose content needs to be changed every month as below:
For July the content should be below:
FACT_AMT=FACT_AMT_16
for August
FACT_AMT=FACT_AMT_17-FACT_AMT_16
for September
FACT_AMT=FACT_AMT_18-FACT_AMT_17
for October
FACT_AMT=FACT_AMT_19-FACT_AMT_18
For November... (2 Replies)
How we can view the content of the file,if it compressed (or) Zipped ,without uncompress ?
I have one file ,i compressed it,without uncompressing the file.Is it possible to see the content of the file? (2 Replies)
i have two single column text files a and b. in this two files, there are some overlap content, is there any quick way I can find out those overlapped content?
example, file a
1
2
3
4
5
6
file b
2
35
7
8
4
2 and 4 are overlapped in these two files so they should be picked up. (3 Replies)
I have two files,
sec.txt(1st File)
3172
disp.txt(2nd file)
the file name is
***********
45676
Now i want to compare the value in sec.txt file with disp.txt file
Excatly i want to compare the value 3172 in first file and 45676 in second file.
i want to compare the first line of... (11 Replies)