Module jpms_dss_validation
Class BasicTimestampValidationCheck<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.vpftsp.checks.BasicTimestampValidationCheck<T>
- Type Parameters:
T-XmlConstraintsConclusion
- Direct Known Subclasses:
BasicTimestampValidationWithIdCheck
public class BasicTimestampValidationCheck<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
extends ChainItem<T>
Checks whether the validation result of EN 319 102-1 ch. "5.4 Time-stamp validation building block" process is valid
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final eu.europa.esig.dss.diagnostic.TimestampWrapperThe timestamp to checkFields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsModifierConstructorDescriptionBasicTimestampValidationCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, eu.europa.esig.dss.diagnostic.TimestampWrapper timestamp, eu.europa.esig.dss.detailedreport.jaxb.XmlValidationProcessBasicTimestamp timestampValidationResult, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint) Default constructorprotectedBasicTimestampValidationCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, eu.europa.esig.dss.diagnostic.TimestampWrapper timestamp, eu.europa.esig.dss.detailedreport.jaxb.XmlValidationProcessBasicTimestamp timestampValidationResult, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint, String bbbId) Constructor to instantiate check with Id provided -
Method Summary
Modifier and TypeMethodDescriptionprotected eu.europa.esig.dss.detailedreport.jaxb.XmlBlockTypeReturns the validating block type (used for validation result of RAC, RFC, etc.)protected eu.europa.esig.dss.i18n.MessageTagReturns an i18n key String of an error message to getprotected eu.europa.esig.dss.enumerations.IndicationGets an Indication in case of failureprotected eu.europa.esig.dss.enumerations.SubIndicationGets a SubIndication in case of failureprotected eu.europa.esig.dss.i18n.MessageTagReturns an i18n key String of a message to getprotected booleanprocess()Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Field Details
-
timestamp
protected final eu.europa.esig.dss.diagnostic.TimestampWrapper timestampThe timestamp to check
-
-
Constructor Details
-
BasicTimestampValidationCheck
public BasicTimestampValidationCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, eu.europa.esig.dss.diagnostic.TimestampWrapper timestamp, eu.europa.esig.dss.detailedreport.jaxb.XmlValidationProcessBasicTimestamp timestampValidationResult, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult-BasicTimestampValidationChecktimestamp-TimestampWrappertimestampValidationResult-XmlValidationProcessBasicTimestampconstraint-LevelConstraint
-
BasicTimestampValidationCheck
protected BasicTimestampValidationCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, eu.europa.esig.dss.diagnostic.TimestampWrapper timestamp, eu.europa.esig.dss.detailedreport.jaxb.XmlValidationProcessBasicTimestamp timestampValidationResult, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint, String bbbId) Constructor to instantiate check with Id provided- Parameters:
i18nProvider-I18nProviderresult-XmlSAVtimestamp-TimestampWrappertimestampValidationResult-XmlValidationProcessBasicTimestampconstraint-LevelConstraintbbbId-Stringid of the corresponding Basic Building Block
-
-
Method Details
-
getBlockType
protected eu.europa.esig.dss.detailedreport.jaxb.XmlBlockType getBlockType()Description copied from class:ChainItemReturns the validating block type (used for validation result of RAC, RFC, etc.)- Overrides:
getBlockTypein classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
XmlBlockType
-
process
-
getMessageTag
protected eu.europa.esig.dss.i18n.MessageTag getMessageTag()Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getErrorMessageTag
protected eu.europa.esig.dss.i18n.MessageTag getErrorMessageTag()Description copied from class:ChainItemReturns an i18n key String of an error message to get- Overrides:
getErrorMessageTagin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
protected eu.europa.esig.dss.enumerations.Indication getFailedIndicationForConclusion()Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
Indication
-
getFailedSubIndicationForConclusion
protected eu.europa.esig.dss.enumerations.SubIndication getFailedSubIndicationForConclusion()Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
SubIndication
-