Click or drag to resize

AESPrivacyProviderBase Class

Privacy provider base for AES.
Inheritance Hierarchy

Namespace: GSF.Net.Snmp.Security
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.207-beta
Syntax
public abstract class AESPrivacyProviderBase : IPrivacyProvider
View Source

The AESPrivacyProviderBase type exposes the following members.

Constructors
 NameDescription
Protected methodAESPrivacyProviderBase Initializes a new instance of the AESPrivacyProviderBase class.
Top
Properties
 NameDescription
Public propertyAuthenticationProvider Corresponding IAuthenticationProvider.
Public propertyEngineIdObsolete.
Public propertyEngineIds Engine IDs.
Public propertyStatic memberIsSupported Verifies if the provider is supported.
Public propertyKeyBytes Gets the key bytes.
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.
Public propertySalt Gets the salt.
Top
Methods
 NameDescription
Public methodDecrypt Decrypts the specified data.
Public methodEncrypt Encrypts the specified scope.
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.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodPasswordToKey Passwords to key.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodComputeHash Computes the hash.
(Defined by PrivacyProviderExtension)
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)
Public Extension MethodGetScopeData Gets the scope data.
(Defined by PrivacyProviderExtension)
Public Extension MethodToSecurityLevel Converts to Levels.
(Defined by PrivacyProviderExtension)
Public Extension MethodVerifyHash Verifies the hash.
(Defined by PrivacyProviderExtension)
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