encryptionAlgorithm (property)
The encryption algorithm used for SNMPv3 packets.
Syntax
@property (nonatomic,readwrite,assign,getter=encryptionAlgorithm,setter=setEncryptionAlgorithm:) int encryptionAlgorithm; - (int)encryptionAlgorithm; - (void)setEncryptionAlgorithm:(int)newEncryptionAlgorithm;
/* Possible Values */
ENCRA_DES(1),
ENCRA_AES(2),
ENCRA_3DES(3),
ENCRA_AES192(4),
ENCRA_AES256(5)
public var encryptionAlgorithm: SnmptcpmgrEncryptionAlgorithms { get {...}
set {...} }
public enum SnmptcpmgrEncryptionAlgorithms : Int32 { case encraDES = 1 case encraAES = 2 case encra3DES = 3 case encraAES192 = 4 case encraAES256 = 5 }
Default Value
1
Remarks
In order to use encryption, you must set the EncryptionPassword property. The supported algorithms for encryption are:
DES (1) | Data Encryption Standard. |
AES (2) | Advanced Encryption Standard with key length of 128. |
3DES (3) | Triple Data Encryption Standard. |
AES192 (4) | Advanced Encryption Standard with key length of 192. |
AES256 (5) | Advanced Encryption Standard with key length of 256. |