EncryptionAlgorithm Property
The encryption algorithm.
Syntax
ANSI (Cross Platform) int GetEncryptionAlgorithm();
int SetEncryptionAlgorithm(int iEncryptionAlgorithm); Unicode (Windows) INT GetEncryptionAlgorithm();
INT SetEncryptionAlgorithm(INT iEncryptionAlgorithm);
Possible Values
ENCRA_3DES(0),
ENCRA_AES(1)
@property (nonatomic,readwrite,assign,getter=encryptionAlgorithm,setter=setEncryptionAlgorithm:) int encryptionAlgorithm; - (int)encryptionAlgorithm; - (void)setEncryptionAlgorithm:(int)newEncryptionAlgorithm;
Possible Values
ENCRA_3DES(0),
ENCRA_AES(1)
#define PID_OFTPCLIENT_ENCRYPTIONALGORITHM 12 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
In order to use encryption, you must set the VirtualFileSecurityLevel property. The supported algorithms for encryption are:
3DES (0) | Triple Data Encryption Standard. |
AES (1) | Advanced Encryption Standard with key length of 128. |
This property is not available at design time.
Data Type
Integer