Module jpms_dss_validation
Class AbstractTimeStampPresentCheck<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.bbb.sav.checks.AbstractTimeStampPresentCheck<T>
- Type Parameters:
T-XmlConstraintsConclusion
- Direct Known Subclasses:
LTALevelTimeStampCheck,TLevelTimeStampCheck
public abstract class AbstractTimeStampPresentCheck<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
extends ChainItem<T>
This an abstract class performing analysis if a valid timestamp from the given set is present
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTimeStampPresentCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, Map<String, eu.europa.esig.dss.detailedreport.jaxb.XmlBasicBuildingBlocks> bbbs, Collection<eu.europa.esig.dss.detailedreport.jaxb.XmlTimestamp> xmlTimestamps, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected eu.europa.esig.dss.enumerations.IndicationGets an Indication in case of failureprotected eu.europa.esig.dss.enumerations.SubIndicationGets a SubIndication in case of failureprotected abstract Collection<eu.europa.esig.dss.diagnostic.TimestampWrapper> Returns a collection of timestamps to be checked for a presence of a valid oneprotected booleanprocess()Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getLevel, getMessageTag, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
AbstractTimeStampPresentCheck
protected AbstractTimeStampPresentCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, Map<String, eu.europa.esig.dss.detailedreport.jaxb.XmlBasicBuildingBlocks> bbbs, Collection<eu.europa.esig.dss.detailedreport.jaxb.XmlTimestamp> xmlTimestamps, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult-XmlConstraintsConclusionbbbs- map between token ids and correspondingXmlBasicBuildingBlocksxmlTimestamps- a collection ofXmlTimestampsconstraint-LevelConstraint
-
-
Method Details
-
process
-
getTimestamps
Returns a collection of timestamps to be checked for a presence of a valid one- Returns:
- collection of
TimestampWrappers
-
getFailedIndicationForConclusion
protected eu.europa.esig.dss.enumerations.Indication getFailedIndicationForConclusion()Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
Indication
-
getFailedSubIndicationForConclusion
protected eu.europa.esig.dss.enumerations.SubIndication getFailedSubIndicationForConclusion()Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
SubIndication
-