Click or drag to resize

AES256PrivacyProvider Class

Privacy provider for AES 256.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpLib.SecurityAESPrivacyProviderBase
    Lextm.SharpSnmpLib.SecurityAES256PrivacyProvider

Namespace: Lextm.SharpSnmpLib.Security
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
public sealed class AES256PrivacyProvider : AESPrivacyProviderBase

The AES256PrivacyProvider type exposes the following members.

Constructors
 NameDescription
Public methodAES256PrivacyProvider Initializes a new instance of the AES256PrivacyProvider class.
Top
Properties
 NameDescription
Public propertyAuthenticationProvider Corresponding IAuthenticationProvider.
(Inherited from AESPrivacyProviderBase)
Public propertyEngineIds Engine IDs.
(Inherited from AESPrivacyProviderBase)
Public propertyKeyBytes Gets the key bytes.
(Inherited from AESPrivacyProviderBase)
Public propertyMaximumKeyLength Return maximum encryption/decryption key length. For DES, returned value is 16 DES protocol itself requires an 8 byte key. Additional 8 bytes are used for generating the encryption IV. For encryption itself, first 8 bytes of the key are used.
(Inherited from AESPrivacyProviderBase)
Public propertySalt Gets the salt.
(Inherited from AESPrivacyProviderBase)
Top
Methods
 NameDescription
Public methodDecrypt Decrypts the specified data.
(Inherited from AESPrivacyProviderBase)
Public methodEncrypt Encrypts the specified scope.
(Inherited from AESPrivacyProviderBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodPasswordToKey Passwords to key.
(Inherited from AESPrivacyProviderBase)
Public methodToString Returns a string that represents this object.
(Overrides ObjectToString)
Top
Remarks
This is an experimental port from SNMP#NET project. As AES is not part of SNMP RFC, this class is provided as it is. If you want other AES providers, you can port them from SNMP#NET in a similar manner.
See Also