Class LongTermAvailabilityAndIntegrityValidationMaterialCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlValidationProcessArchivalData>
eu.europa.esig.dss.validation.process.vpfswatsp.checks.LongTermAvailabilityAndIntegrityValidationMaterialCheck
public class LongTermAvailabilityAndIntegrityValidationMaterialCheck
extends ChainItem<XmlValidationProcessArchivalData>
This class verifies whether the term availability and integrity of validation material
is present within the signature
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorDescriptionLongTermAvailabilityAndIntegrityValidationMaterialCheck
(I18nProvider i18nProvider, XmlValidationProcessArchivalData result, SignatureWrapper signature, XmlConstraintsConclusion longTermValidationResult, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlBlockType
Returns the validating block type (used for validation result of RAC, RFC, etc.)protected MessageTag
Returns an i18n key String of an error message to getprotected Indication
Gets an Indication in case of failureprotected SubIndication
Gets a SubIndication in case of failureprotected MessageTag
Returns an i18n key String of a message to getprotected List
<XmlMessage> Return a list of previous errors occurred in the chainprotected boolean
process()
Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getLevel, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
LongTermAvailabilityAndIntegrityValidationMaterialCheck
public LongTermAvailabilityAndIntegrityValidationMaterialCheck(I18nProvider i18nProvider, XmlValidationProcessArchivalData result, SignatureWrapper signature, XmlConstraintsConclusion longTermValidationResult, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-XmlValidationProcessArchivalData
signature
-SignatureWrapper
to be validatedlongTermValidationResult
-XmlConstraintsConclusion
constraint
-LevelConstraint
-
-
Method Details
-
getBlockType
Description copied from class:ChainItem
Returns the validating block type (used for validation result of RAC, RFC, etc.)- Overrides:
getBlockType
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
XmlBlockType
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check- Specified by:
process
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
MessageTag
key
-
getErrorMessageTag
Description copied from class:ChainItem
Returns an i18n key String of an error message to get- Overrides:
getErrorMessageTag
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
MessageTag
key
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
SubIndication
-
getPreviousErrors
Description copied from class:ChainItem
Return a list of previous errors occurred in the chain- Overrides:
getPreviousErrors
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
- a list of
XmlMessage
s
-