-
- All Known Implementing Classes:
TsmSecurityStateReference,UsmSecurityStateReference
public interface SecurityStateReferenceTheSecurityStateReferenceinterface is an empty marker interface for security model dependent state references.- Version:
- 3.4.0
- Author:
- Frank Fock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanapplyTargetSecurityInformation(Target<?> target)After aSecurityStateReferencehas been created for on outgoing message, this method might be called by theMPv3to apply security information contained in the target object to the security state information.booleanisCachedForResponseProcessing()Returns theisCachedForResponseProcessingflag indicating whether this security state reference has been cached for response processing which means it can be used later for response or report processing rather than for requests or notifications (traps).voidsetCachedForResponseProcessing(boolean isCachedForResponseProcessing)Sets theisCachedForResponseProcessingflag to indicate whether this security state reference has been cached for response processing which means it will be used later for response or report processing rather than for requests or notifications (traps).
-
-
-
Method Detail
-
applyTargetSecurityInformation
default boolean applyTargetSecurityInformation(Target<?> target)
After aSecurityStateReferencehas been created for on outgoing message, this method might be called by theMPv3to apply security information contained in the target object to the security state information. By default, this method does nothing and defers the security state information initialization the the correspondingSecurityModeland returnsfalse.- Parameters:
target- aTargetsubclass instance with security information.- Returns:
trueif the security information of the supplied target could be applied andfalseotherwise.
-
setCachedForResponseProcessing
void setCachedForResponseProcessing(boolean isCachedForResponseProcessing)
Sets theisCachedForResponseProcessingflag to indicate whether this security state reference has been cached for response processing which means it will be used later for response or report processing rather than for requests or notifications (traps).- Parameters:
isCachedForResponseProcessing- iftrue, this security state reference has been cached for response processing.- Since:
- 3.4.0
-
isCachedForResponseProcessing
boolean isCachedForResponseProcessing()
Returns theisCachedForResponseProcessingflag indicating whether this security state reference has been cached for response processing which means it can be used later for response or report processing rather than for requests or notifications (traps).- Returns:
- if
true, this security state reference has been cached for response processing.
-
-