Uses of Interface
org.snmp4j.security.SecurityModel
Packages that use SecurityModel
Package
Description
Provides classes and interfaces for SNMP4J event processing.
Provides classes and interfaces for the SNMP message processing.
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
-
Uses of SecurityModel in org.snmp4j.event
Constructors in org.snmp4j.event with parameters of type SecurityModelModifierConstructorDescriptionUsmUserEvent(SecurityModel source, UsmUserEntry changedEntry, int type)
Construct a UsmUserEvent. -
Uses of SecurityModel in org.snmp4j.mp
Methods in org.snmp4j.mp that return SecurityModelModifier and TypeMethodDescriptionMPv3.getSecurityModel(int id)
Gets the security model for the supplied ID.StateReference.getSecurityModel()
Methods in org.snmp4j.mp with parameters of type SecurityModelModifier and TypeMethodDescriptionvoid
StateReference.setSecurityModel(SecurityModel securityModel)
Constructors in org.snmp4j.mp with parameters of type SecurityModelModifierConstructorDescriptionCacheEntry(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, A peerAddress, TransportMapping<? super A> 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, A peerAddress, TransportMapping<? super A> peerTransport, SecurityModel secModel, byte[] secName, int errorCode)
Creates a state reference for community based security models. -
Uses of SecurityModel in org.snmp4j.security
Classes in org.snmp4j.security that implement SecurityModelModifier and TypeClassDescriptionclass
The abstract classSNMPv3SecurityModel
implements common methods and fields for security models for the SNMPv3 message processing model.class
TheTSM
(Transport Security Model) implements aSecurityModel
which uses transport security mechanisms as defined in RFC 5591.class
TheUSM
class implements the User Based Security Model (USM) as defined in RFC 3414.Methods in org.snmp4j.security that return SecurityModelModifier and TypeMethodDescriptionSecurityModels.getSecurityModel(Integer32 id)
Returns a security model from the central repository of security models.SecurityModels.removeSecurityModel(Integer32 id)
Removes a security model from the central repository of security models.Methods in org.snmp4j.security with parameters of type SecurityModelModifier and TypeMethodDescriptionSecurityModels.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 suppliedSecurityModel
s.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
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
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)