[SNMP4J] How snmp4j stack obtain the authoritativeEngineID
Tuan Anh Nguyen
tanh1989 at gmail.com
Sat Dec 17 03:38:36 CET 2011
Hi everyone,
According to the RFC 3414, in the snmp v3 communication, the
non-authoritative engine must know the authoritative engine ID. In the snmp
class, there is a method
public byte[] *discoverAuthoritativeEngineID*(Address
<http://www.snmp4j.org/doc/org/snmp4j/smi/Address.html> address,
long timeout)
and they say that " *This method does not need to be called for normal
operation, because SNMP4J automatically discovers authoritative engine
IDs and also automatically synchronize engine time values*.".
But i couldn't find how snmp4j do that. I have tried discovering how
snmp4j obtain the authoritative engine ID by check over all the class
: MPv3, MessageDispatcherImpl, SNMP, USM and everything related to
every line of code of the example in the snmp class. Unfortunately, i
couldn't find any sign.
Does anyone figure it out?
Thank you for your attention!
--
Nguyễn Tuấn Anh
University of Information Techonology - faculty of Network and
Communication
Email: tanh1989 at gmail.com
Mobile phone: 0934037678
More information about the SNMP4J
mailing list