DES privacy protocol implementation class.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public class PrivacyDES : IPrivacyProtocol
Visual Basic
Public Class PrivacyDES _
	Implements IPrivacyProtocol
Visual C++
public ref class PrivacyDES : IPrivacyProtocol

Remarks

SNMP Version 3 DES privacy protocol implementation. DES requires an encryption key be provided of 16 bytes in length. Class will accept longer key values (which will be trimmed to 16 bytes) but both encrypt and decrypt operations will fail if key is shorter then required value length. Decryption operation depends on USM header privacyParameters field value which is generated by the Encrypt method. Make sure privacyParameters argument value is correctly inserted into the target packet to enable SNMP agent to decrypt the message.

Inheritance Hierarchy

System..::..Object
  SnmpSharpNet..::..PrivacyDES

See Also