Authenticate message for sending.

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

Syntax

C#
public void authenticateOutgoingMsg(
	byte[] userPassword,
	byte[] engineId,
	MutableByte wholeMessage,
	int authFieldOffset
)
Visual Basic (Declaration)
Public Sub authenticateOutgoingMsg ( _
	userPassword As Byte(), _
	engineId As Byte(), _
	wholeMessage As MutableByte, _
	authFieldOffset As Integer _
)
Visual C++
public:
virtual void authenticateOutgoingMsg(
	array<unsigned char>^ userPassword, 
	array<unsigned char>^ engineId, 
	MutableByte^ wholeMessage, 
	int authFieldOffset
) sealed

Parameters

userPassword
Type: array< System..::.Byte >[]()[]
User password
engineId
Type: array< System..::.Byte >[]()[]
Authoritative engine id
wholeMessage
Type: SnmpSharpNet..::.MutableByte
Un-authenticated message with authenticationParameter field set to 12 byte OctetString with all bytes initialized to 0x00.
authFieldOffset
Type: System..::.Int32
Offset of the authentication field in the wholeMessage buffer

Implements

IAuthenticationDigest..::.authenticateOutgoingMsg(array<Byte>[]()[], array<Byte>[]()[], MutableByte, Int32)

See Also