Class AbstractCertificateCheckItem<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.bbb.AbstractCertificateCheckItem<T>
- Type Parameters:
T
-XmlConstraintsConclusion
- Direct Known Subclasses:
RevocationDataRequiredCheck
public abstract class AbstractCertificateCheckItem<T extends XmlConstraintsConclusion>
extends ChainItem<T>
Abstract class to check if the given certificate matches one of the defined conditions
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractCertificateCheckItem
(I18nProvider i18nProvider, T result, CertificateWrapper certificate, CertificateValuesConstraint constraint) Default constructor with Idprotected
AbstractCertificateCheckItem
(I18nProvider i18nProvider, T result, CertificateValuesConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
processCertificateCheck
(CertificateWrapper certificate) Checks the certificateMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getFailedIndicationForConclusion, getFailedSubIndicationForConclusion, getLevel, getMessageTag, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, process, setNextItem
-
Constructor Details
-
AbstractCertificateCheckItem
protected AbstractCertificateCheckItem(I18nProvider i18nProvider, T result, CertificateValuesConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
- the resultconstraint
-MultiValuesConstraint
-
AbstractCertificateCheckItem
protected AbstractCertificateCheckItem(I18nProvider i18nProvider, T result, CertificateWrapper certificate, CertificateValuesConstraint constraint) Default constructor with Id- Parameters:
i18nProvider
-I18nProvider
result
- the resultcertificate
-CertificateWrapper
constraint
-MultiValuesConstraint
-
-
Method Details
-
processCertificateCheck
Checks the certificate- Parameters:
certificate
-CertificateWrapper
to check- Returns:
- TRUE if the certificate matches the constraint, FALSE otherwise
-