Authenticate SNMP version 3 message. Before calling this member, entire SNMP version 3 packet needs to be encoded. After authentication process is completed, authenticationParameters value in the USM header is updated and SNMPv3 packet needs to be re-encoded to include it in the BER encoded stream prior to transmission.

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

Syntax

C#
public void Authenticate(
	byte[] authKey,
	ref MutableByte wholePacket
)
Visual Basic
Public Sub Authenticate ( _
	authKey As Byte(), _
	ByRef wholePacket As MutableByte _
)
Visual C++
public:
void Authenticate(
	array<unsigned char>^ authKey, 
	MutableByte^% wholePacket
)

Parameters

authKey
Type: array<System..::..Byte>[]()[][]
Authentication key (not password)
wholePacket
Type: SnmpSharpNet..::..MutableByte%
SNMP version 3 BER encoded packet.

See Also