Triple |
3DES is no longer secure. Please use a more secure provider.
The TripleDESPrivacyProvider type exposes the following members.
Name | Description | |
---|---|---|
![]() | TripleDESPrivacyProvider | Initializes a new instance of the DESPrivacyProvider class. |
Name | Description | |
---|---|---|
![]() | AuthenticationProvider | Corresponding IAuthenticationProvider. |
![]() | EngineIds | Engine IDs. |
![]() ![]() | MaximumKeyLength | Return maximum encryption/decryption key length. For 3DES, returned value is 32. 3DES protocol itself requires an 24 byte key. Additional 8 bytes are used for generating the encryption IV. For encryption itself, first 24 bytes of the key are used. |
![]() ![]() | MinimumKeyLength | Returns minimum encryption/decryption key length. For 3DES, returned value is 32. 3DES protocol itself requires an 24 byte key. Additional 8 bytes are used for generating the encryption IV. For encryption itself, first 24 bytes of the key are used. |
![]() ![]() | PrivacyParametersLength | Returns the length of privacyParameters USM header field. For 3DES, field length is 8. |
![]() | Salt | Gets the salt. |
![]() ![]() | UseLegacy | Flag to force using legacy encryption/decryption code on .NET 6. |
Name | Description | |
---|---|---|
![]() | Decrypt(ISnmpData, SecurityParameters) | Decrypts the specified data. |
![]() ![]() | Decrypt(Byte, Byte, Byte) | Decrypt DES encrypted scoped PDU. |
![]() | Encrypt(ISnmpData, SecurityParameters) | Encrypts the specified scope. |
![]() ![]() | Encrypt(Byte, Byte, Byte) | Encrypt scoped PDU using DES encryption protocol |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | PasswordToKey | Passwords to key. |
![]() | ToString |
Returns a string that represents this object.
(Overrides ObjectToString) |
Name | Description | |
---|---|---|
![]() | ComputeHash |
Computes the hash.
(Defined by PrivacyProviderExtension) |
![]() | GetScopeData |
Gets the scope data.
(Defined by PrivacyProviderExtension) |
![]() | ToSecurityLevel |
Converts to Levels.
(Defined by PrivacyProviderExtension) |
![]() | VerifyHash |
Verifies the hash.
(Defined by PrivacyProviderExtension) |
Ported from SNMP#NET Privacy3DES class.
Originally defined in a draft https://datatracker.ietf.org/doc/html/draft-reeder-snmpv3-usm-3desede-00