Click or drag to resize

TripleDESPrivacyProvider Class

Privacy provider for 3DES.
Inheritance Hierarchy
SystemObject
  GSF.Net.Snmp.SecurityTripleDESPrivacyProvider

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

The TripleDESPrivacyProvider type exposes the following members.

Constructors
 NameDescription
Public methodTripleDESPrivacyProvider Initializes a new instance of the DESPrivacyProvider class.
Top
Properties
 NameDescription
Public propertyAuthenticationProvider Corresponding IAuthenticationProvider.
Public propertyEngineIdObsolete.
Public propertyEngineIds Engine IDs.
Public propertyStatic memberMaximumKeyLength 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 propertyStatic memberMinimumKeyLength Returns minimum 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 propertyStatic memberPrivacyParametersLength Returns the length of privacyParameters USM header field. For DES, field length is 8.
Public propertySalt Gets the salt.
Top
Methods
 NameDescription
Public methodDecrypt(ISnmpData, SecurityParameters) Decrypts the specified data.
Public methodStatic memberDecrypt(Byte, Byte, Byte) Decrypt DES encrypted scoped PDU.
Public methodEncrypt(ISnmpData, SecurityParameters) Encrypts the specified scope.
Public methodStatic memberEncrypt(Byte, Byte, Byte) Encrypt scoped PDU using DES encryption protocol
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.
Public methodToString Returns a string that represents this object.
(Overrides ObjectToString)
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
Ported from SNMP#NET Privacy3DES class.
See Also