Class AbstractCryptographicCheckerResultCheck<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.bbb.sav.checks.AbstractCryptographicCheckerResultCheck<T>
- Type Parameters:
T-XmlConstraintsConclusionimplementation of the block's conclusion
- Direct Known Subclasses:
CryptographicCheckerResultCheck,DigestCryptographicCheckerResultCheck
public abstract class AbstractCryptographicCheckerResultCheck<T extends XmlConstraintsConclusion>
extends ChainItem<T>
Performs cryptographic validation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final XmlCCCryptographic Check resultprotected final MessageTagThe cryptographic constraint position to be validatedFields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractCryptographicCheckerResultCheck(I18nProvider i18nProvider, T result, MessageTag position, XmlCC ccResult, LevelConstraint constraint) Default constructorprotectedAbstractCryptographicCheckerResultCheck(I18nProvider i18nProvider, T result, MessageTag position, XmlCC ccResult, LevelConstraint constraint, String tokenId) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlMessageBuilds a constraint messageprotected XmlMessageBuilds an error messageprotected StringGets error messageprotected IndicationGets an Indication in case of failureprotected SubIndicationGets a SubIndication in case of failureprotected LevelgetLevel()Returns an execution Level of the chain itemprotected List<XmlMessage> Return a list of previous errors occurred in the chainprotected booleanprocess()Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getMessageTag, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Field Details
-
position
The cryptographic constraint position to be validated -
ccResult
Cryptographic Check result
-
-
Constructor Details
-
AbstractCryptographicCheckerResultCheck
protected AbstractCryptographicCheckerResultCheck(I18nProvider i18nProvider, T result, MessageTag position, XmlCC ccResult, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult- the resultposition-MessageTagcryptographic constrain positionccResult-XmlCCconstraint-LevelConstraint
-
AbstractCryptographicCheckerResultCheck
protected AbstractCryptographicCheckerResultCheck(I18nProvider i18nProvider, T result, MessageTag position, XmlCC ccResult, LevelConstraint constraint, String tokenId) Default constructor- Parameters:
i18nProvider-I18nProviderresult- the resultposition-MessageTagcryptographic constrain positionccResult-XmlCCconstraint-LevelConstrainttokenId-Stringidentifier of the corresponding token
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItemPerforms the check- Specified by:
processin classChainItem<T extends XmlConstraintsConclusion>- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
getLevel
-
buildConstraintMessage
Description copied from class:ChainItemBuilds a constraint message- Overrides:
buildConstraintMessagein classChainItem<T extends XmlConstraintsConclusion>- Returns:
XmlMessage
-
buildErrorMessage
Description copied from class:ChainItemBuilds an error message- Overrides:
buildErrorMessagein classChainItem<T extends XmlConstraintsConclusion>- Returns:
XmlMessage
-
getFailedIndicationForConclusion
Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>- Returns:
SubIndication
-
getPreviousErrors
Description copied from class:ChainItemReturn a list of previous errors occurred in the chain- Overrides:
getPreviousErrorsin classChainItem<T extends XmlConstraintsConclusion>- Returns:
- a list of
XmlMessages
-
getErrorMessage
-