Click or drag to resize

AES256PrivacyProvider Class

Privacy provider for AES 256.
Inheritance Hierarchy
SystemObject
  GSF.Net.Snmp.SecurityAESPrivacyProviderBase
    GSF.Net.Snmp.SecurityAES256PrivacyProvider

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

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