|
encryptionAlgorithm (property)
The encryption algorithm.
Syntax
@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)
public var encryptionAlgorithm: SharefileEncryptionAlgorithms {
get {...} set {...}
}
public enum SharefileEncryptionAlgorithms : Int32 {
case eaAES = 0
case eaBlowfish = 1
case eaCAST = 2
case eaDES = 3
case eaIDEA = 4
case eaRC2 = 5
case eaRC4 = 6
case eaTEA = 7
case eaTripleDES = 8
case eaTwofish = 9
case eaRijndael = 10
case eaChaCha = 11
case eaXSalsa20 = 12
}
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 |
|