|
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
EA_AES(0), EA_BLOWFISH(1), EA_CAST(2), EA_DES(3), EA_IDEA(4), EA_RC2(5), EA_RC4(6), EA_TEA(7), EA_TRIPLE_DES(8), EA_TWOFISH(9), EA_RIJNDAEL(10), EA_CHA_CHA(11), EA_XSALSA_20(12)
@property (nonatomic,readwrite,assign,getter=encryptionAlgorithm,setter=setEncryptionAlgorithm:) int encryptionAlgorithm;
- (int)encryptionAlgorithm;
- (void)setEncryptionAlgorithm:(int)newEncryptionAlgorithm;
Possible Values
EA_AES(0), EA_BLOWFISH(1), EA_CAST(2), EA_DES(3), EA_IDEA(4), EA_RC2(5), EA_RC4(6), EA_TEA(7), EA_TRIPLE_DES(8), EA_TWOFISH(9), EA_RIJNDAEL(10), EA_CHA_CHA(11), EA_XSALSA_20(12)
#define PID_SHAREFILE_ENCRYPTIONALGORITHM 24
IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property specifies the encryption algorithm to be used. The maximum allowable key size is automatically used for the selected algorithm. Possible values are:
| | Algorithm | Key Size | 0 (eaAES - default) | 256 | 1 (eaBlowfish) | 448 | 2 (eaCAST) | 128 | 3 (eaDES) | 64 | 4 (eaIDEA) | 128 | 5 (eaRC2) | 128 | 6 (eaRC4) | 2048 | 7 (eaTEA) | 128 | 8 (eaTripleDES) | 192 | 9 (eaTwofish) | 256 | 10 (eaRijndael) | 256 | 11 (eaChaCha) | 256 | 12 (eaXSalsa20) | 256 |
Data Type
Integer
|