Class ValidationProcessForTimestampsWithArchivalData
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlValidationProcessArchivalDataTimestamp>
eu.europa.esig.dss.validation.process.vpftspwatsp.ValidationProcessForTimestampsWithArchivalData
public class ValidationProcessForTimestampsWithArchivalData
extends Chain<XmlValidationProcessArchivalDataTimestamp>
This class validates a timestamp with a provided archival data (POE)
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result
-
Constructor Summary
ConstructorDescriptionValidationProcessForTimestampsWithArchivalData
(I18nProvider i18nProvider, TimestampWrapper timestamp, XmlValidationProcessBasicTimestamp vpftsp, Map<String, XmlBasicBuildingBlocks> bbbs, Map<String, XmlEvidenceRecord> evidenceRecordValidations, Date currentTime, ValidationPolicy policy, POEExtraction poe) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
collectAdditionalMessages
(XmlConclusion conclusion) The method allows to fill up additional messages into the conclusionprotected void
collectMessages
(XmlConclusion conclusion, XmlConstraint constraint) Collects required messages fromxmlConstraint
to the givenconclusion
NOTE: bye default the only one error is already collected in the chain (no more possible), therefore no need to collect it againprotected MessageTag
getTitle()
Returns title of a Chain (i.e.protected void
Initializes the chainMethods inherited from class eu.europa.esig.dss.validation.process.Chain
addAdditionalInfo, buildChainTitle, collectAllMessages, execute, getFailLevelConstraint, getInfoLevelConstraint, getWarnLevelConstraint, isValid, isValidConclusion
-
Constructor Details
-
ValidationProcessForTimestampsWithArchivalData
public ValidationProcessForTimestampsWithArchivalData(I18nProvider i18nProvider, TimestampWrapper timestamp, XmlValidationProcessBasicTimestamp vpftsp, Map<String, XmlBasicBuildingBlocks> bbbs, Map<String, XmlEvidenceRecord> evidenceRecordValidations, Date currentTime, ValidationPolicy policy, POEExtraction poe) Default constructor- Parameters:
i18nProvider
-I18nProvider
timestamp
-TimestampWrapper
vpftsp
-XmlValidationProcessBasicTimestamp
bbbs
- map of BasicBuildingBlocksevidenceRecordValidations
- a map of evidence record identifiers and their corresponding validation resultscurrentTime
-Date
validation timepolicy
-ValidationPolicy
poe
-POEExtraction
-
-
Method Details
-
getTitle
Description copied from class:Chain
Returns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitle
in classChain<XmlValidationProcessArchivalDataTimestamp>
- Returns:
MessageTag
-
initChain
protected void initChain()Description copied from class:Chain
Initializes the chain- Specified by:
initChain
in classChain<XmlValidationProcessArchivalDataTimestamp>
-
collectMessages
Description copied from class:Chain
Collects required messages fromxmlConstraint
to the givenconclusion
NOTE: bye default the only one error is already collected in the chain (no more possible), therefore no need to collect it again- Overrides:
collectMessages
in classChain<XmlValidationProcessArchivalDataTimestamp>
- Parameters:
conclusion
-XmlConclusion
to fill upconstraint
-XmlConstraint
to extract messages from
-
collectAdditionalMessages
Description copied from class:Chain
The method allows to fill up additional messages into the conclusion- Overrides:
collectAdditionalMessages
in classChain<XmlValidationProcessArchivalDataTimestamp>
- Parameters:
conclusion
-XmlConclusion
to fill up
-