Package | Description |
---|---|
org.snmp4j |
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
|
org.snmp4j.mp |
Provides classes and interfaces for the SNMP message processing.
|
org.snmp4j.security |
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
|
Modifier and Type | Field and Description |
---|---|
protected Integer32 |
PDU.errorIndex |
protected Integer32 |
PDU.errorStatus |
protected Integer32 |
PDU.requestID |
Modifier and Type | Method and Description |
---|---|
Integer32 |
PDU.getRequestID()
Gets the request ID associated with this PDU.
|
Modifier and Type | Method and Description |
---|---|
void |
PDU.setRequestID(Integer32 requestID)
Sets the request ID for this PDU.
|
Modifier and Type | Method and Description |
---|---|
Integer32 |
StatusInformation.getSecurityLevel() |
Modifier and Type | Method and Description |
---|---|
int |
MPv3.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference) |
int |
MessageProcessingModel.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference)
Prepare data elements from an incoming SNMP message as described in
RFC3412 ยง7.2.
|
int |
MPv2c.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference) |
int |
MPv1.prepareDataElements(MessageDispatcher messageDispatcher,
Address transportAddress,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
Integer32 messageProcessingModel,
Integer32 securityModel,
OctetString securityName,
Integer32 securityLevel,
MutablePDU pdu,
PduHandle sendPduHandle,
Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference mutableStateReference) |
void |
StatusInformation.setSecurityLevel(Integer32 securityLevel) |
Constructor and Description |
---|
StatusInformation(VariableBinding errorIndication,
byte[] contextName,
byte[] contextEngineID,
Integer32 securityLevel) |
Modifier and Type | Method and Description |
---|---|
protected static byte[] |
SNMPv3SecurityModel.buildWholeMessage(Integer32 snmpVersion,
byte[] scopedPdu,
byte[] globalData,
SecurityParameters securityParameters) |
SecurityModel |
SecurityModels.getSecurityModel(Integer32 id)
Returns a security model from the central repository of security models.
|
int |
USM.processIncomingMsg(int snmpVersion,
int maxMessageSize,
SecurityParameters securityParameters,
SecurityModel securityModel,
int securityLevel,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
OctetString securityEngineID,
OctetString securityName,
BEROutputStream scopedPDU,
Integer32 maxSizeResponseScopedPDU,
SecurityStateReference securityStateReference,
StatusInformation statusInfo) |
int |
TSM.processIncomingMsg(int messageProcessingModel,
int maxMessageSize,
SecurityParameters securityParameters,
SecurityModel securityModel,
int securityLevel,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
OctetString securityEngineID,
OctetString securityName,
BEROutputStream scopedPDU,
Integer32 maxSizeResponseScopedPDU,
SecurityStateReference securityStateReference,
StatusInformation statusInfo) |
int |
SecurityModel.processIncomingMsg(int messageProcessingModel,
int maxMessageSize,
SecurityParameters securityParameters,
SecurityModel securityModel,
int securityLevel,
BERInputStream wholeMsg,
TransportStateReference tmStateReference,
OctetString securityEngineID,
OctetString securityName,
BEROutputStream scopedPDU,
Integer32 maxSizeResponseScopedPDU,
SecurityStateReference securityStateReference,
StatusInformation statusInfo)
Processes an incoming message and returns its plaintext payload.
|
SecurityModel |
SecurityModels.removeSecurityModel(Integer32 id)
Removes a security model from the central repository of security models.
|
Constructor and Description |
---|
UsmSecurityParameters(OctetString authoritativeEngineID,
Integer32 authoritativeEngineBoots,
Integer32 authoritativeEngineTime,
OctetString userName,
AuthenticationProtocol authenticationProtocol,
PrivacyProtocol privacyProtocol) |
Copyright © 2019 SNMP4J.org. All rights reserved.