Class SubX509CertificateValidation
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlSubXCV>
eu.europa.esig.dss.validation.process.bbb.xcv.sub.SubX509CertificateValidation
-
Field Summary
Fields inherited from class Chain
firstItem, i18nProvider, result -
Constructor Summary
ConstructorsConstructorDescriptionSubX509CertificateValidation(I18nProvider i18nProvider, CertificateWrapper currentCertificate, Date validationDate, Date currentTime, Context context, SubContext subContext, XmlAOV aov, ValidationPolicy validationPolicy) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectAdditionalMessages(XmlConclusion conclusion) The method allows to fill up additional messages into the conclusionprotected 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 Chain
addAdditionalInfo, buildChainTitle, collectAllMessages, execute, getFailLevelRule, getInfoLevelRule, getWarnLevelRule, isValid, isValidConclusion
-
Constructor Details
-
SubX509CertificateValidation
public SubX509CertificateValidation(I18nProvider i18nProvider, CertificateWrapper currentCertificate, Date validationDate, Date currentTime, Context context, SubContext subContext, XmlAOV aov, ValidationPolicy validationPolicy) Default constructor- Parameters:
i18nProvider-I18nProvidercurrentCertificate-CertificateWrappervalidationDate-Datevalidation time returned by the corresponding validation modelcurrentTime-Datetime when validation is performedcontext-ContextsubContext-SubContextaov-XmlAOVresult of algorithm obsolescence validationvalidationPolicy-ValidationPolicy
-
-
Method Details
-
getTitle
Description copied from class:ChainReturns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitlein classChain<XmlSubXCV>- Returns:
MessageTag
-
initChain
-
collectAdditionalMessages
Description copied from class:ChainThe method allows to fill up additional messages into the conclusion- Overrides:
collectAdditionalMessagesin classChain<XmlSubXCV>- Parameters:
conclusion-XmlConclusionto fill up
-
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<XmlSubXCV>- Parameters:
conclusion-XmlConclusionto fill upconstraint-XmlConstraintto extract messages from
-