RequireEncrypt Property
Preference to receive encrypted messages.
Syntax
ANSI (Cross Platform) int GetRequireEncrypt();
int SetRequireEncrypt(int bRequireEncrypt); Unicode (Windows) BOOL GetRequireEncrypt();
INT SetRequireEncrypt(BOOL bRequireEncrypt);
@property (nonatomic,readwrite,assign,getter=requireEncrypt,setter=setRequireEncrypt:) BOOL requireEncrypt; - (BOOL)requireEncrypt; - (void)setRequireEncrypt:(BOOL)newRequireEncrypt;
#define PID_AS2PROFILEMGR_REQUIREENCRYPT 25 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
RequireEncrypt is used to store your preference of receiving encrypted messages from your trading partner.
After invoking LoadProfile, the RequireEncrypt will contain your preference of receiving encrypted messages, alternatively RequireEncrypt may be set and saved by invoking SaveProfile.
Data Type
Boolean