Class AbstractTrustedListCheck<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.qualification.signature.checks.AbstractTrustedListCheck<T>
- Type Parameters:
T
-XmlConstraintsConclusion
- Direct Known Subclasses:
AcceptableListOfTrustedListsCheck
,AcceptableTrustedListCheck
public abstract class AbstractTrustedListCheck<T extends XmlConstraintsConclusion>
extends ChainItem<T>
Abstract class verifying the validity of the Trusted List
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractTrustedListCheck
(I18nProvider i18nProvider, T result, XmlTLAnalysis tlAnalysis, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Builds an additional informationprotected Indication
Gets an Indication in case of failureprotected SubIndication
Gets a SubIndication in case of failureboolean
process()
Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getLevel, getMessageTag, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
AbstractTrustedListCheck
protected AbstractTrustedListCheck(I18nProvider i18nProvider, T result, XmlTLAnalysis tlAnalysis, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-XmlConstraintsConclusion
resulttlAnalysis
-XmlTLAnalysis
constraint
-LevelConstraint
-
-
Method Details
-
process
public boolean process()Description copied from class:ChainItem
Performs the check- Specified by:
process
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
buildAdditionalInfo
Description copied from class:ChainItem
Builds an additional information- Overrides:
buildAdditionalInfo
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
String
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
SubIndication
-