Class AbstractFormatChecking<S extends AbstractSignatureWrapper>
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlFC>
eu.europa.esig.dss.validation.process.bbb.fc.AbstractFormatChecking<S>
- Type Parameters:
S
- signature or timestamp wrapper
- Direct Known Subclasses:
SignatureFormatChecking
,TimestampFormatChecking
public abstract class AbstractFormatChecking<S extends AbstractSignatureWrapper>
extends Chain<XmlFC>
This class contains a common code to be processed as a part of a "5.2.2 Format Checking" building block
for validation of signatures and timestamps.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Context
The validation contextprotected final DiagnosticData
Diagnostic dataprotected final ValidationPolicy
The validation policyprotected final S
The token to validateFields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result
-
Constructor Summary
ConstructorDescriptionAbstractFormatChecking
(I18nProvider i18nProvider, DiagnosticData diagnosticData, S token, Context context, ValidationPolicy policy) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionThis method chains all ASiC container related checks to the givenitem
chain, when applicablegetPdfaValidationChain
(ChainItem<XmlFC> item) This method chains all PDF/A related checks to the givenitem
chain, when applicableThis method chains all PDF revision related checks to the givenitem
chain, when applicableprotected MessageTag
getTitle()
Returns title of a Chain (i.e.Methods inherited from class eu.europa.esig.dss.validation.process.Chain
addAdditionalInfo, buildChainTitle, collectAdditionalMessages, collectAllMessages, collectMessages, execute, getFailLevelConstraint, getInfoLevelConstraint, getWarnLevelConstraint, initChain, isValid, isValidConclusion
-
Field Details
-
diagnosticData
Diagnostic data -
token
The token to validate -
context
The validation context -
policy
The validation policy
-
-
Constructor Details
-
AbstractFormatChecking
public AbstractFormatChecking(I18nProvider i18nProvider, DiagnosticData diagnosticData, S token, Context context, ValidationPolicy policy) Default constructor- Parameters:
i18nProvider
-I18nProvider
diagnosticData
-DiagnosticData
token
-AbstractSignatureWrapper
context
-Context
policy
-ValidationPolicy
-
-
Method Details
-
getTitle
Description copied from class:Chain
Returns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitle
in classChain<XmlFC>
- Returns:
MessageTag
-
getPDFRevisionValidationChain
This method chains all PDF revision related checks to the givenitem
chain, when applicable -
getPdfaValidationChain
This method chains all PDF/A related checks to the givenitem
chain, when applicable -
getASiCContainerValidationChain
This method chains all ASiC container related checks to the givenitem
chain, when applicable
-