Package | Description |
---|---|
org.snmp4j.event |
Provides classes and interfaces for SNMP4J event processing.
|
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.
|
Constructor and Description |
---|
UsmUserEvent(SecurityModel source,
UsmUserEntry changedEntry,
int type)
Construct a UsmUserEvent.
|
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 |
---|
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 |
SNMPv3SecurityModel
The abstract class
SNMPv3SecurityModel implements
common methods and fields for security models for the SNMPv3
message processing model. |
class |
TSM
The
TSM (Transport Security Model) implements a
SecurityModel which uses transport security mechanisms
as defined in RFC 5591. |
class |
USM
The
USM class implements the User Based Security Model (USM)
as defined in RFC 3414. |
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
SecurityModel s. |
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.
|
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) |
Copyright © 2023 SNMP4J.org. All rights reserved.