Uses of Interface
org.snmp4j.security.SecurityStateReference
Packages that use SecurityStateReference
Package
Description
Provides classes and interfaces for the SNMP message processing.
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
-
Uses of SecurityStateReference in org.snmp4j.mp
Methods in org.snmp4j.mp that return SecurityStateReferenceMethods in org.snmp4j.mp with parameters of type SecurityStateReferenceModifier and TypeMethodDescriptionintMPv3.extractScopedPDU(BERInputStream wholeMsg, SecurityModel secModel, TransportStateReference tmStateReference, MPv3.HeaderData header, Integer32 securityLevel, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, OctetString securityName, OctetString securityEngineID, Integer32 snmpVersion, SecurityParameters secParameters, BEROutputStream scopedPDU, SecurityStateReference secStateReference) Use security model to extract the scoped PDU from the wholeMsg and return state information.intMPv3ScopedPDUExtractor.extractScopedPDU(BERInputStream wholeMsg, SecurityModel secModel, TransportStateReference tmStateReference, MPv3.HeaderData header, Integer32 securityLevel, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, OctetString securityName, OctetString securityEngineID, Integer32 snmpVersion, SecurityParameters secParameters, BEROutputStream scopedPDU, SecurityStateReference secStateReference) Use a security model to extract the scoped PDU from the wholeMsg and return state information.voidStateReference.setSecurityStateReference(SecurityStateReference securityStateReference) MPv3.validatePreparedPDU(OctetString securityName, Integer32 securityLevel, ScopedPDU scopedPdu, MPv3.HeaderData header, OctetString securityEngineID, SecurityModel secModel, StateReference<A> stateReference, SecurityStateReference secStateReference, PduHandle sendPduHandle, MutableStateReference<A> mutableStateReference, StatusInformation statusInformation) Validates the prepared PDU (Protocol Data Unit) for conformance to SNMPv3 message processing.MPv3ScopedPDUExtractor.validatePreparedPDU(OctetString securityName, Integer32 securityLevel, ScopedPDU scopedPdu, MPv3.HeaderData header, OctetString securityEngineID, SecurityModel secModel, StateReference<A> stateReference, SecurityStateReference secStateReference, PduHandle sendPduHandle, MutableStateReference<A> mutableStateReference, StatusInformation statusInformation) Validates the prepared PDU (Protocol Data Unit) for conformance to SNMPv3 message processing.Constructors in org.snmp4j.mp with parameters of type SecurityStateReferenceModifierConstructorDescriptionCacheEntry(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. -
Uses of SecurityStateReference in org.snmp4j.security
Classes in org.snmp4j.security that implement SecurityStateReferenceModifier and TypeClassDescriptionclassTheTsmSecurityStateReferenceholds cached security data for theTSMsecurity model.classTheUsmSecurityStateReferenceholds cached security data for theUSMsecurity model.Methods in org.snmp4j.security that return SecurityStateReferenceModifier and TypeMethodDescriptionSecurityModel.newSecurityStateReference()Creates a newSecurityStateReferenceinstance that corresponds to this security model.Methods in org.snmp4j.security with parameters of type SecurityStateReferenceModifier and TypeMethodDescriptionintSecurityModel.generateRequestMessage(int messageProcessingModel, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityParameters securityParameters, BEROutputStream wholeMsg, TransportStateReference tmStateReference, SecurityStateReference securityStateReference) Generate a request message.intTSM.generateRequestMessage(int messageProcessingModel, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityParameters securityParameters, BEROutputStream wholeMsg, TransportStateReference tmStateReference, SecurityStateReference securityStateReference) intUSM.generateRequestMessage(int snmpVersion, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityParameters securityParameters, BEROutputStream wholeMsg, TransportStateReference tmStateReference, SecurityStateReference securityStateReference) intSecurityModel.generateResponseMessage(int messageProcessingModel, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityStateReference securityStateReference, SecurityParameters securityParameters, BEROutputStream wholeMsg) Generates a response message.intTSM.generateResponseMessage(int messageProcessingModel, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityStateReference securityStateReference, SecurityParameters securityParameters, BEROutputStream wholeMsg) intUSM.generateResponseMessage(int snmpVersion, byte[] globalData, int maxMessageSize, int securityModel, byte[] securityEngineID, byte[] securityName, int securityLevel, BERInputStream scopedPDU, SecurityStateReference securityStateReference, SecurityParameters securityParameters, BEROutputStream wholeMsg) intSecurityModel.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.intTSM.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) intUSM.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)