Class BasicTimestampValidationCheck<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.vpftsp.checks.BasicTimestampValidationCheck<T>
- Type Parameters:
T
-XmlConstraintsConclusion
- Direct Known Subclasses:
BasicTimestampValidationWithIdCheck
Checks whether the validation result of EN 319 102-1 ch. "5.4 Time-stamp validation building block" process is valid
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ModifierConstructorDescriptionBasicTimestampValidationCheck
(I18nProvider i18nProvider, T result, TimestampWrapper timestamp, XmlValidationProcessBasicTimestamp timestampValidationResult, LevelConstraint constraint) Default constructorprotected
BasicTimestampValidationCheck
(I18nProvider i18nProvider, T result, TimestampWrapper timestamp, XmlValidationProcessBasicTimestamp timestampValidationResult, LevelConstraint constraint, String bbbId) Constructor to instantiate check with Id provided -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlBlockType
Returns the validating block type (used for validation result of RAC, RFC, etc.)protected MessageTag
Returns an i18n key String of an error message to getprotected Indication
Gets an Indication in case of failureprotected SubIndication
Gets a SubIndication in case of failureprotected MessageTag
Returns an i18n key String of a message to getprotected boolean
process()
Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Field Details
-
timestamp
The timestamp to check
-
-
Constructor Details
-
BasicTimestampValidationCheck
public BasicTimestampValidationCheck(I18nProvider i18nProvider, T result, TimestampWrapper timestamp, XmlValidationProcessBasicTimestamp timestampValidationResult, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-BasicTimestampValidationCheck
timestamp
-TimestampWrapper
timestampValidationResult
-XmlValidationProcessBasicTimestamp
constraint
-LevelConstraint
-
BasicTimestampValidationCheck
protected BasicTimestampValidationCheck(I18nProvider i18nProvider, T result, TimestampWrapper timestamp, XmlValidationProcessBasicTimestamp timestampValidationResult, LevelConstraint constraint, String bbbId) Constructor to instantiate check with Id provided- Parameters:
i18nProvider
-I18nProvider
result
-XmlSAV
timestamp
-TimestampWrapper
timestampValidationResult
-XmlValidationProcessBasicTimestamp
constraint
-LevelConstraint
bbbId
-String
id of the corresponding Basic Building Block
-
-
Method Details
-
getBlockType
Description copied from class:ChainItem
Returns the validating block type (used for validation result of RAC, RFC, etc.)- Overrides:
getBlockType
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
XmlBlockType
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check- Specified by:
process
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
MessageTag
key
-
getErrorMessageTag
Description copied from class:ChainItem
Returns an i18n key String of an error message to get- Overrides:
getErrorMessageTag
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
MessageTag
key
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
SubIndication
-