Class AbstractPastTokenValidationCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlValidationProcessArchivalData>
eu.europa.esig.dss.validation.process.vpfswatsp.checks.AbstractPastTokenValidationCheck
- Direct Known Subclasses:
PastSignatureValidationCheck
,PastTimestampValidationCheck
public abstract class AbstractPastTokenValidationCheck
extends ChainItem<XmlValidationProcessArchivalData>
Abstract class containing the main logic for PastSignatureValidation result check
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractPastTokenValidationCheck
(I18nProvider i18nProvider, XmlValidationProcessArchivalData result, TokenProxy token, XmlPSV xmlPSV, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Indication
Gets an Indication in case of failureprotected SubIndication
Gets a SubIndication in case of failureprotected boolean
process()
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
-
AbstractPastTokenValidationCheck
protected AbstractPastTokenValidationCheck(I18nProvider i18nProvider, XmlValidationProcessArchivalData result, TokenProxy token, XmlPSV xmlPSV, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-XmlValidationProcessArchivalData
token
-TokenProxy
xmlPSV
-XmlPSV
constraint
-LevelConstraint
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check- Specified by:
process
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
SubIndication
-