Package org.snmp4j.security
Class SNMPv3SecurityModel
java.lang.Object
org.snmp4j.security.SNMPv3SecurityModel
- All Implemented Interfaces:
SecurityModel
The abstract class
SNMPv3SecurityModel
implements
common methods and fields for security models for the SNMPv3
message processing model.- Since:
- 2.0
- Version:
- 2.0
- Author:
- Frank Fock
-
Field Summary
Fields inherited from interface org.snmp4j.security.SecurityModel
SECURITY_MODEL_ANY, SECURITY_MODEL_SNMPv1, SECURITY_MODEL_SNMPv2c, SECURITY_MODEL_TSM, SECURITY_MODEL_USM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static byte[]
buildMessageBuffer
(BERInputStream scopedPDU) protected static byte[]
buildWholeMessage
(Integer32 snmpVersion, byte[] scopedPdu, byte[] globalData, SecurityParameters securityParameters) Returns the local engine ID.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.snmp4j.security.SecurityModel
generateRequestMessage, generateResponseMessage, getID, hasAuthoritativeEngineID, newSecurityParametersInstance, newSecurityStateReference, processIncomingMsg, supportsEngineIdDiscovery
-
Field Details
-
localEngineID
-
-
Constructor Details
-
SNMPv3SecurityModel
public SNMPv3SecurityModel()
-
-
Method Details
-
getLocalEngineID
Returns the local engine ID.- Returns:
- the local engine ID.
- Since:
- 1.2
-
buildWholeMessage
protected static byte[] buildWholeMessage(Integer32 snmpVersion, byte[] scopedPdu, byte[] globalData, SecurityParameters securityParameters) throws IOException - Throws:
IOException
-
buildMessageBuffer
- Throws:
IOException
-