Class PastSignatureValidation
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlPSV>
eu.europa.esig.dss.validation.process.vpfswatsp.checks.psv.PastSignatureValidation
Performs the "5.6.2.4 Past signature validation building block"
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result -
Constructor Summary
ConstructorsConstructorDescriptionPastSignatureValidation(I18nProvider i18nProvider, TokenProxy token, Map<String, XmlBasicBuildingBlocks> bbbs, XmlConclusion currentConclusion, POEExtraction poe, Date currentTime, ValidationPolicy policy, Context context) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectMessages(XmlConclusion conclusion, XmlConstraint constraint) Collects required messages fromxmlConstraintto the givenconclusionNOTE: bye default the only one error is already collected in the chain (no more possible), therefore no need to collect it againprotected MessageTaggetTitle()Returns title of a Chain (i.e.protected voidInitializes the chainMethods inherited from class eu.europa.esig.dss.validation.process.Chain
addAdditionalInfo, buildChainTitle, collectAdditionalMessages, collectAllMessages, execute, getFailLevelRule, getInfoLevelRule, getWarnLevelRule, isValid, isValidConclusion
-
Constructor Details
-
PastSignatureValidation
public PastSignatureValidation(I18nProvider i18nProvider, TokenProxy token, Map<String, XmlBasicBuildingBlocks> bbbs, XmlConclusion currentConclusion, POEExtraction poe, Date currentTime, ValidationPolicy policy, Context context) Default constructor- Parameters:
i18nProvider-I18nProvidertoken-TokenProxybbbs- map of all BBSscurrentConclusion-XmlConclusionpoe-POEExtractioncurrentTime-Datepolicy-ValidationPolicycontext-Context
-
-
Method Details
-
getTitle
Description copied from class:ChainReturns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitlein classChain<XmlPSV>- Returns:
MessageTag
-
initChain
protected void initChain()Description copied from class:ChainInitializes the chain -
collectMessages
Description copied from class:ChainCollects required messages fromxmlConstraintto the givenconclusionNOTE: bye default the only one error is already collected in the chain (no more possible), therefore no need to collect it again- Overrides:
collectMessagesin classChain<XmlPSV>- Parameters:
conclusion-XmlConclusionto fill upconstraint-XmlConstraintto extract messages from
-