Compress Property
Whether to compress the data before encrypting it.
Syntax
ANSI (Cross Platform) int GetCompress();
int SetCompress(int bCompress); Unicode (Windows) BOOL GetCompress();
INT SetCompress(BOOL bCompress);
@property (nonatomic,readwrite,assign,getter=compress,setter=setCompress:) BOOL compress; - (BOOL)compress; - (void)setCompress:(BOOL)newCompress;
#define PID_PGPWRITER_COMPRESS 4 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PGPWriter_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PGPWriter_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
Set this property to True to compress the data before encryption. Use CompressionAlgorithm and CompressionLevel to tune up compression parameters.
Data Type
Boolean