Class TimestampMessageImprintCheck<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.vpftspwatsp.checks.TimestampMessageImprintCheck<T>
- Type Parameters:
T- implementation of the block's conclusion
- Direct Known Subclasses:
TimestampMessageImprintWithIdCheck
Checks message-imprint validity for a timestamp token
-
Field Summary
FieldsFields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsModifierConstructorDescriptionTimestampMessageImprintCheck(I18nProvider i18nProvider, T result, TimestampWrapper timestamp, LevelConstraint constraint) Default constructorprotectedTimestampMessageImprintCheck(I18nProvider i18nProvider, T result, TimestampWrapper timestamp, LevelConstraint constraint, String bbbId) Constructor to instantiate check with Id provided -
Method Summary
Modifier and TypeMethodDescriptionprotected MessageTagReturns an i18n key String of an error message to getprotected IndicationGets an Indication in case of failureprotected SubIndicationGets a SubIndication in case of failureprotected MessageTagReturns an i18n key String of a message to getprotected booleanprocess()Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Field Details
-
timestamp
The timestamp to check
-
-
Constructor Details
-
TimestampMessageImprintCheck
public TimestampMessageImprintCheck(I18nProvider i18nProvider, T result, TimestampWrapper timestamp, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult-XmlSAVtimestamp-TimestampWrapperconstraint-LevelConstraint
-
TimestampMessageImprintCheck
protected TimestampMessageImprintCheck(I18nProvider i18nProvider, T result, TimestampWrapper timestamp, LevelConstraint constraint, String bbbId) Constructor to instantiate check with Id provided- Parameters:
i18nProvider-I18nProviderresult-XmlSAVtimestamp-TimestampWrapperconstraint-LevelConstraintbbbId-Stringif of the corresponding basic building block
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItemPerforms the check- Specified by:
processin classChainItem<T extends XmlConstraintsConclusion>- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
getMessageTag
Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classChainItem<T extends XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getErrorMessageTag
Description copied from class:ChainItemReturns an i18n key String of an error message to get- Overrides:
getErrorMessageTagin classChainItem<T extends XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>- Returns:
SubIndication
-