Class ValidationProcessForSignaturesWithArchivalData
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlValidationProcessArchivalData>
eu.europa.esig.dss.validation.process.vpfswatsp.ValidationProcessForSignaturesWithArchivalData
public class ValidationProcessForSignaturesWithArchivalData
extends Chain<XmlValidationProcessArchivalData>
5.6 Validation process for Signatures with Archival Data
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result
-
Constructor Summary
ConstructorDescriptionValidationProcessForSignaturesWithArchivalData
(I18nProvider i18nProvider, XmlSignature signatureAnalysis, SignatureWrapper signature, DiagnosticData diagnosticData, Map<String, XmlBasicBuildingBlocks> bbbs, ValidationPolicy policy, Date currentTime, 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
-
ValidationProcessForSignaturesWithArchivalData
public ValidationProcessForSignaturesWithArchivalData(I18nProvider i18nProvider, XmlSignature signatureAnalysis, SignatureWrapper signature, DiagnosticData diagnosticData, Map<String, XmlBasicBuildingBlocks> bbbs, ValidationPolicy policy, Date currentTime, POEExtraction poe) Default constructor- Parameters:
i18nProvider
-I18nProvider
signatureAnalysis
-XmlSignature
signature
-SignatureWrapper
diagnosticData
-DiagnosticData
bbbs
- map of BasicBuildingBlockspolicy
-ValidationPolicy
currentTime
-Date
poe
-POEExtraction
-
-
Method Details
-
getTitle
Description copied from class:Chain
Returns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitle
in classChain<XmlValidationProcessArchivalData>
- Returns:
MessageTag
-
initChain
protected void initChain()Description copied from class:Chain
Initializes the chain- Specified by:
initChain
in classChain<XmlValidationProcessArchivalData>
-
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<XmlValidationProcessArchivalData>
- 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<XmlValidationProcessArchivalData>
- Parameters:
conclusion
-XmlConclusion
to fill up
-