SHA-1 Authentication class.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public class AuthenticationSHA1 : IAuthenticationDigest
Public Class AuthenticationSHA1 _
	Implements IAuthenticationDigest
public ref class AuthenticationSHA1 : IAuthenticationDigest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AuthenticationSHA1()()()
Standard constructor.
authenticate(array<Byte>[]()[], array<Byte>[]()[], array<Byte>[]()[])
Authenticate packet and return authentication parameters value to the caller
authenticateIncomingMsg(array<Byte>[]()[], array<Byte>[]()[], array<Byte>[]()[], MutableByte)
Verifies correct SHA-1 authentication of the frame. Prior to calling this method, you have to extract authentication parameters from the wholeMessage and reset authenticationParameters field in the USM information block to 12 0x00 values.
authenticateMessage(array<Byte>[]()[], Int32, Int32)
Authenticate supplied message and return the hashed value
authenticateOutgoingMsg(array<Byte>[]()[], array<Byte>[]()[], MutableByte, Int32)
Authenticate message for sending.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
getDigestLength
Returns the size of the native algorithm. This value does not represent the size of the digest that is stored inside the USM authentication parameters header but real length generated by it.
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Name
Return authentication protocol name
PasswordToKey(array<Byte>[]()[], array<Byte>[]()[])
Convert user password to acceptable authentication key.
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::.Object
  SnmpSharpNet..::.AuthenticationSHA1

See Also