C
struct SecuritySysGenerateResponseMsg { BYTE messageProcessingModel; BYTE* globalData; UINT32 maxMessageSize; BYTE securityModel; BYTE* securityEngineID; BYTE* securityName; BYTE securityLevel; BYTE* scopedPDU; BYTE* wholeMsg; UINT32 wholeMsgLength; };
Description
Generate a Response Message
The Security Subsystem provides the following primitive to generate a Response message:
Members
Members |
Description |
BYTE messageProcessingModel; |
typically, SNMP version |
BYTE* globalData; |
message header, admin data |
UINT32 maxMessageSize; |
of the sending SNMP entity |
BYTE securityModel; |
for the outgoing message |
BYTE* securityEngineID; |
authoritative SNMP entity |
BYTE* securityName; |
on behalf of this principal |
BYTE securityLevel; |
for the outgoing message |
BYTE* scopedPDU; |
message (plaintext) payload IN securityStateReference; //reference to security state information from original request OUT securityParameters; //filled in by Security Module |
BYTE* wholeMsg; |
complete generated message |
UINT32 wholeMsgLength; |
length of the generated message |