|
SNMP Stack 4_12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides the SNMPv3 USM (User-Based Security Model) authoritative details.
When the stack is used as authoritative SNMP engine it has to send its Engine ID and clock (i.e. Engine Boots and Engine Time) with each message. At the moment only when sending a Trap, the stack is authoritative. See RFC 2574.
Since this stack has no means in providing this information, this interface has to be implemented by the user.
SnmpContextv3.setUsmAgent(uk.co.westhawk.snmp.stack.UsmAgent)
Field Summary | |
static java.lang.String |
version_id
|
Method Summary | |
int |
getSnmpEngineBoots()
Returns the authoritative Engine Boots. |
java.lang.String |
getSnmpEngineId()
Returns the authoritative SNMP Engine ID. |
int |
getSnmpEngineTime()
Returns the authoritative Engine Time. |
void |
setSnmpContext(SnmpContextv3 context)
Sets the current snmp context. |
Field Detail |
public static final java.lang.String version_id
Method Detail |
public java.lang.String getSnmpEngineId()
The Engine ID is the (case insensitive) string representation of a hexadecimal number, without any prefix, for example 010000a1d41e4946.
SnmpUtilities.toBytes(String)
public int getSnmpEngineBoots()
public int getSnmpEngineTime()
public void setSnmpContext(SnmpContextv3 context)
|
SNMP Stack 4_12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |