Privacy protocol helper class.

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

Syntax

C#
public sealed class PrivacyProtocol
Visual Basic
Public NotInheritable Class PrivacyProtocol
Visual C++
public ref class PrivacyProtocol sealed

Remarks

This class is used to define privacy protocol encryption type in other classes using integer constants representing each protocol supported, and allows for easy instantiation of privacy protocol when used for encryption or decryption of data in a encryption method independent way. Example of how to use this class:
CopyC#
int myPrivacyProtocol = PrivacyProtocol.AES128;

IPrivacyProtocol privacyImplementation = PrivacyProtocol.GetInstance(myPrivacyProtocol);
byte[] result = privacyImplementation.Encrypt(....);

Inheritance Hierarchy

System..::..Object
  SnmpSharpNet..::..PrivacyProtocol

See Also