SHA-1 Authentication class.
Namespace:
SnmpSharpNetAssembly: 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 |
| Member | Description | |
|---|---|---|
| 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) | (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()()() | (Inherited from Object.) |