PowerSNMP for .NET
AesKeyExpansionAlgorithm Property




Key Expansion algorithm used for AES encyrption.
Syntax
Public Property AesKeyExpansionAlgorithm As KeyExpansionAlgorithm
Dim instance As User
Dim value As KeyExpansionAlgorithm
 
instance.AesKeyExpansionAlgorithm = value
 
value = instance.AesKeyExpansionAlgorithm
public KeyExpansionAlgorithm AesKeyExpansionAlgorithm {get; set;}
public: __property KeyExpansionAlgorithm get_AesKeyExpansionAlgorithm();
public: __property void set_AesKeyExpansionAlgorithm( 
   KeyExpansionAlgorithm value
);
public:
property KeyExpansionAlgorithm AesKeyExpansionAlgorithm {
   KeyExpansionAlgorithm get();
   void set (    KeyExpansionAlgorithm value);
}

Property Value

Default: KeyExpansionAlgorithm.Reeder
Remarks
This property specifies which key expansion algorithm to use for outgoing messages when AES 192/256-bit encryption is used for privacy and a weaker HMAC algorithm such as MD5 or SHA-1 is used for authentication. Since AES 192/256 were never formalized in a specification, a specific key expansion algorithm was not specified either. Different vendors adopted different key expansion algorithms. Ex: For communicating with a Cisco device, KeyExpansionAlgorithm.Reeder should be used while Net-SNMP defaults to KeyExpansionAlgorithm.Blumenthal. For incoming messages, the algorithm from this property will be tried first. If decryption fails, the other algorithm will be tried. If both fail, an exception will be thrown. Our recommendation would be to avoid the use of weaker hash algorithms for authentication when possible.
See Also

Reference

User Class
User Members


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic