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