Module jpms_dss_validation
Class SignatureFormatChecking
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<eu.europa.esig.dss.detailedreport.jaxb.XmlFC>
eu.europa.esig.dss.validation.process.bbb.fc.AbstractFormatChecking<eu.europa.esig.dss.diagnostic.SignatureWrapper>
eu.europa.esig.dss.validation.process.bbb.fc.SignatureFormatChecking
public class SignatureFormatChecking
extends AbstractFormatChecking<eu.europa.esig.dss.diagnostic.SignatureWrapper>
5.2.2 Format Checking
This building block shall check that the signature to validate is conformant
to the applicable base format (e.g. CMS [i.8], CAdES [i.2], XML-DSig [i.11],
XAdES [i.4], etc.) prior to any subsequent processing.
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.bbb.fc.AbstractFormatChecking
context, diagnosticData, policy, tokenFields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result -
Constructor Summary
ConstructorsConstructorDescriptionSignatureFormatChecking(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.diagnostic.DiagnosticData diagnosticData, eu.europa.esig.dss.diagnostic.SignatureWrapper signature, eu.europa.esig.dss.enumerations.Context context, eu.europa.esig.dss.model.policy.ValidationPolicy policy) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlFC> Creates a filename adherence check for the given token typeprotected voidInitializes the chainprotected ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlFC> Creates a filename adherence check for the manifest file related to the given tokenMethods inherited from class eu.europa.esig.dss.validation.process.bbb.fc.AbstractFormatChecking
getASiCContainerValidationChain, getPdfaValidationChain, getPDFRevisionValidationChain, getTitleMethods inherited from class eu.europa.esig.dss.validation.process.Chain
addAdditionalInfo, buildChainTitle, collectAdditionalMessages, collectAllMessages, collectMessages, execute, getFailLevelRule, getInfoLevelRule, getWarnLevelRule, isValid, isValidConclusion
-
Constructor Details
-
SignatureFormatChecking
public SignatureFormatChecking(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.diagnostic.DiagnosticData diagnosticData, eu.europa.esig.dss.diagnostic.SignatureWrapper signature, eu.europa.esig.dss.enumerations.Context context, eu.europa.esig.dss.model.policy.ValidationPolicy policy) Default constructor- Parameters:
i18nProvider-I18nProviderdiagnosticData-DiagnosticDatasignature-SignatureWrappercontext-Contextpolicy-ValidationPolicy
-
-
Method Details
-
initChain
protected void initChain()Description copied from class:ChainInitializes the chain -
filenameAdherenceCheck
Description copied from class:AbstractFormatCheckingCreates a filename adherence check for the given token type- Specified by:
filenameAdherenceCheckin classAbstractFormatChecking<eu.europa.esig.dss.diagnostic.SignatureWrapper>- Returns:
ChainItem
-
manifestFilenameAdherenceCheck
Description copied from class:AbstractFormatCheckingCreates a filename adherence check for the manifest file related to the given token- Specified by:
manifestFilenameAdherenceCheckin classAbstractFormatChecking<eu.europa.esig.dss.diagnostic.SignatureWrapper>- Returns:
ChainItem
-