Privacy protocol helper class. 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(....);

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

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

Members

      
 All Members  Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetInstance(PrivacyProtocols)
Based on the supplied privacyProtocol, return instance of the privacy protocol implementation class.
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

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

See Also