Click or drag to resize

AESPrivacyProvider Class

Privacy provider for AES 128.
Inheritance Hierarchy
SystemObject
  GSF.Net.Snmp.SecurityAESPrivacyProviderBase
    GSF.Net.Snmp.SecurityAESPrivacyProvider

Namespace: GSF.Net.Snmp.Security
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.218-beta
Syntax
public sealed class AESPrivacyProvider : AESPrivacyProviderBase
View Source

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 propertyEngineIdObsolete.

(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 methodExtendShortKey Some protocols support a method to extend the encryption or decryption key when supplied key is too short.
(Inherited from AESPrivacyProviderBase)
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
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
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