Class X509CertificateValidation
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlXCV>
eu.europa.esig.dss.validation.process.bbb.xcv.X509CertificateValidation
5.2.6 X.509 certificate validation
This building block validates the signing certificate at current time.
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result
-
Constructor Summary
ConstructorDescriptionX509CertificateValidation
(I18nProvider i18nProvider, CertificateWrapper currentCertificate, Date validationDate, Context context, ValidationPolicy validationPolicy) Default constructorX509CertificateValidation
(I18nProvider i18nProvider, CertificateWrapper currentCertificate, Date validationDate, Date usageTime, Context context, ValidationPolicy validationPolicy) Default constructor with usage time -
Method Summary
Modifier and TypeMethodDescriptionprotected void
collectAdditionalMessages
(XmlConclusion conclusion) The method allows to fill up additional messages into the conclusionprotected 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, collectMessages, execute, getFailLevelConstraint, getInfoLevelConstraint, getWarnLevelConstraint, isValid, isValidConclusion
-
Constructor Details
-
X509CertificateValidation
public X509CertificateValidation(I18nProvider i18nProvider, CertificateWrapper currentCertificate, Date validationDate, Context context, ValidationPolicy validationPolicy) Default constructor- Parameters:
i18nProvider
-I18nProvider
currentCertificate
-CertificateWrapper
to validatevalidationDate
-Date
context
-Context
validationPolicy
-ValidationPolicy
-
X509CertificateValidation
public X509CertificateValidation(I18nProvider i18nProvider, CertificateWrapper currentCertificate, Date validationDate, Date usageTime, Context context, ValidationPolicy validationPolicy) Default constructor with usage time- Parameters:
i18nProvider
-I18nProvider
currentCertificate
-CertificateWrapper
to validatevalidationDate
-Date
usageTime
-Date
context
-Context
validationPolicy
-ValidationPolicy
-
-
Method Details
-
getTitle
Description copied from class:Chain
Returns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitle
in classChain<XmlXCV>
- Returns:
MessageTag
-
initChain
protected void initChain()Description copied from class:Chain
Initializes the chain -
collectAdditionalMessages
Description copied from class:Chain
The method allows to fill up additional messages into the conclusion- Overrides:
collectAdditionalMessages
in classChain<XmlXCV>
- Parameters:
conclusion
-XmlConclusion
to fill up
-