EnableCompression Property
Specifies whether to compress the message.
Syntax
ANSI (Cross Platform) int GetEnableCompression();
int SetEnableCompression(int bEnableCompression); Unicode (Windows) BOOL GetEnableCompression();
INT SetEnableCompression(BOOL bEnableCompression);
@property (nonatomic,readwrite,assign,getter=enableCompression,setter=setEnableCompression:) BOOL enableCompression; - (BOOL)enableCompression; - (void)setEnableCompression:(BOOL)newEnableCompression;
#define PID_CMS_ENABLECOMPRESSION 9 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_CMS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_CMS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
This property specifies whether the input data will be compressed during the signing process.
If set to True the data will be compressed. If set to False (default) the data will not be compressed.
When compression is enabled the input will first be signed, and then compressed. To compress the data before signing set CompressBeforeSign.
Data Type
Boolean