OptionEncrypt Property
Preference to encrypt outgoing data.
Syntax
ANSI (Cross Platform) int GetOptionEncrypt();
int SetOptionEncrypt(int bOptionEncrypt); Unicode (Windows) BOOL GetOptionEncrypt();
INT SetOptionEncrypt(BOOL bOptionEncrypt);
@property (nonatomic,readwrite,assign,getter=optionEncrypt,setter=setOptionEncrypt:) BOOL optionEncrypt; - (BOOL)optionEncrypt; - (void)setOptionEncrypt:(BOOL)newOptionEncrypt;
#define PID_AS2PROFILEMGR_OPTIONENCRYPT 18 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2ProfileMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2ProfileMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
OptionEncrypt is used to store your preference of encrypting data sent to your trading partner. If OptionEncrypt is set to true EncryptionCert must be specified.
After invoking LoadProfile, the OptionEncrypt will contain your encryption preference for your trading partner, alternatively OptionEncrypt may be set and saved by invoking SaveProfile.
Data Type
Boolean