DESPrivacy |
DES is no longer secure. Please use a more secure provider.
The DESPrivacyProvider type exposes the following members.
| Name | Description | |
|---|---|---|
| DESPrivacyProvider | Initializes a new instance of the DESPrivacyProvider class. |
| Name | Description | |
|---|---|---|
| AuthenticationProvider | Corresponding IAuthenticationProvider. | |
| EngineIds | Engine IDs. | |
| IsSupported | Verifies if the provider is supported. | |
| MaximumKeyLength | 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. | |
| MinimumKeyLength | 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. | |
| PrivacyParametersLength | Returns the length of privacyParameters USM header field. For DES, field length is 8. | |
| Salt | Gets the salt. | |
| UseEcbEncryption | Flag to force using old ECB cipher mode encryption. | |
| 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) |