Discuss this help topic in SecureBlackbox Forum
Compresses a chunk of data.
Declaration
Parameters
- InBuffer - buffer containing data to be compressed.
- InSize - the size of the data to be compressed in bytes.
- OutBuffer - buffer where the compressed data will be put.
- OutSize - the size of the compressed data.
- InStream - stream containing data to be compressed.
- OutStream - stream where the compressed data will be stored.
- InCount - number of bytes to be read from InStream.
- InStartIndex - position in InStream from which to start reading data.
- OutStartIndex - position in OutStream from which to start saving the compressed data.
Return value
0 if compression was successful, and an error code otherwise.
Possible values:
Description
Call this method to compress a piece of data and generate a CompressedData PKCS#7 structure.
Discuss this help topic in SecureBlackbox Forum