Class PastCertificateValidation
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlPCV>
eu.europa.esig.dss.validation.process.vpfswatsp.checks.pcv.PastCertificateValidation
Validates certificate in a past
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result
-
Constructor Summary
ConstructorsConstructorDescriptionPastCertificateValidation
(I18nProvider i18nProvider, TokenProxy token, Map<String, XmlBasicBuildingBlocks> bbbs, POEExtraction poe, Date currentTime, ValidationPolicy policy, Context context) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds additional info to the chainprotected 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
buildChainTitle, collectAdditionalMessages, collectAllMessages, execute, getFailLevelRule, getInfoLevelRule, getWarnLevelRule, isValid, isValidConclusion
-
Constructor Details
-
PastCertificateValidation
public PastCertificateValidation(I18nProvider i18nProvider, TokenProxy token, Map<String, XmlBasicBuildingBlocks> bbbs, POEExtraction poe, Date currentTime, ValidationPolicy policy, Context context) Default constructor- Parameters:
i18nProvider
-I18nProvider
token
-TokenProxy
bbbs
- map of allXmlBasicBuildingBlocks
poe
-POEExtraction
currentTime
-Date
policy
-ValidationPolicy
context
-Context
-
-
Method Details
-
getTitle
Description copied from class:Chain
Returns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitle
in classChain<XmlPCV>
- Returns:
MessageTag
-
initChain
protected void initChain()Description copied from class:Chain
Initializes the chain -
addAdditionalInfo
protected void addAdditionalInfo()Description copied from class:Chain
Adds additional info to the chain- Overrides:
addAdditionalInfo
in classChain<XmlPCV>
-
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<XmlPCV>
- Parameters:
conclusion
-XmlConclusion
to fill upconstraint
-XmlConstraint
to extract messages from
-