Click or drag to resize

AESPrivacyProvider Class

Privacy provider for AES 128.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpLib.SecurityAESPrivacyProviderBase
    Lextm.SharpSnmpLib.SecurityAESPrivacyProvider

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

The AESPrivacyProvider type exposes the following members.

Constructors
 NameDescription
Public methodAESPrivacyProvider Initializes a new instance of the AESPrivacyProvider 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.

The algorithm is defined in https://datatracker.ietf.org/doc/html/rfc3826

See Also