| Package | Description |
|---|---|
| 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 | Method and Description |
|---|---|
SecurityModel |
StateReference.getSecurityModel() |
SecurityModel |
MPv3.getSecurityModel(int id)
Gets the security model for the supplied ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StateReference.setSecurityModel(SecurityModel securityModel) |
| Constructor and Description |
|---|
MPv3.CacheEntry(int msgID,
long reqID,
byte[] secEngineID,
SecurityModel secModel,
byte[] secName,
int secLevel,
byte[] contextEngineID,
byte[] contextName,
SecurityStateReference secStateReference,
int errorCode) |
StateReference(int msgID,
int msgFlags,
int maxSizeResponseScopedPDU,
PduHandle pduHandle,
Address peerAddress,
TransportMapping peerTransport,
byte[] secEngineID,
SecurityModel secModel,
byte[] secName,
int secLevel,
byte[] contextEngineID,
byte[] contextName,
SecurityStateReference secStateReference,
int errorCode)
Creates a state reference for SNMPv3 messages.
|
StateReference(PduHandle pduHandle,
Address peerAddress,
TransportMapping peerTransport,
SecurityModel secModel,
byte[] secName,
int errorCode)
Creates a state reference for community based security models.
|
| Modifier and Type | Class and Description |
|---|---|
class |
USM
The
USM class implements the User Based Security Model (USM)
as defined in RFC3414. |
| Modifier and Type | Method and Description |
|---|---|
SecurityModel |
SecurityModels.getSecurityModel(Integer32 id)
Returns a security model from the central repository of security models.
|
SecurityModel |
SecurityModels.removeSecurityModel(Integer32 id)
Removes a security model from the central repository of security models.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityModels.addSecurityModel(SecurityModel model)
Adds a security model to the central repository of security models.
|
static SecurityModels |
SecurityModels.getCollection(SecurityModel[] models)
Gets the SecurityModels collection instance that contains the supplied
SecurityModels. |
int |
USM.processIncomingMsg(int snmpVersion,
int maxMessageSize,
SecurityParameters securityParameters,
SecurityModel securityModel,
int securityLevel,
BERInputStream wholeMsg,
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,
OctetString securityEngineID,
OctetString securityName,
BEROutputStream scopedPDU,
Integer32 maxSizeResponseScopedPDU,
SecurityStateReference securityStateReference,
StatusInformation statusInfo)
Processes an incoming message and returns its plaintext payload.
|
Copyright © 2014 SNMP4J.org. All rights reserved.