Module jpms_dss_asic_common
Class AbstractASiCContainerValidator
java.lang.Object
eu.europa.esig.dss.validation.SignedDocumentValidator
eu.europa.esig.dss.asic.common.validation.AbstractASiCContainerValidator
- All Implemented Interfaces:
eu.europa.esig.dss.validation.DocumentValidator,eu.europa.esig.dss.validation.executor.ProcessExecutorProvider<eu.europa.esig.dss.validation.executor.DocumentProcessExecutor>
public abstract class AbstractASiCContainerValidator
extends eu.europa.esig.dss.validation.SignedDocumentValidator
The abstract class for an ASiC container validation
In order to perform validation-process, please ensure the `dss-validation` module is loaded within the dependencies list of your project.
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
documentAnalyzer, processExecutor -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractASiCContainerValidator(AbstractASiCContainerAnalyzer asicContainerAnalyzer) Constructor with an analyzer -
Method Summary
Modifier and TypeMethodDescriptionList<eu.europa.esig.dss.model.DSSDocument> Returns a list of all embedded documentsList<eu.europa.esig.dss.model.DSSDocument> Returns a list of all embedded manifest documentsList<eu.europa.esig.dss.model.DSSDocument> Returns a list of archive documents embedded the containerList<eu.europa.esig.dss.model.DSSDocument> Returns a list of embedded archive manifest documentseu.europa.esig.dss.enumerations.ASiCContainerTypeReturns a container typeList<eu.europa.esig.dss.model.DSSDocument> Returns a list of embedded evidence record documentsList<eu.europa.esig.dss.model.DSSDocument> Returns a list of embedded evidence record manifest documentsList<eu.europa.esig.dss.model.DSSDocument> Returns a list of embedded signature manifest documentsList<eu.europa.esig.dss.model.ManifestFile> Returns a list of parser Manifest fileseu.europa.esig.dss.model.DSSDocumentReturns a mimetype documentList<eu.europa.esig.dss.model.DSSDocument> Returns a list of embedded signature documentsList<eu.europa.esig.dss.model.DSSDocument> Returns a list of embedded signed documentsList<eu.europa.esig.dss.model.DSSDocument> Returns a list of embedded timestamp documentsList<eu.europa.esig.dss.model.DSSDocument> Returns a list of unsupported documents from the containerprotected eu.europa.esig.dss.validation.reports.diagnostic.SignedDocumentDiagnosticDataBuilderprotected ASiCContainerDiagnosticDataBuilderThis method creates a new objectSignedDocumentDiagnosticDataBuilderbooleanisSupported(ASiCContent asicContent) Checks if theASiCContentis supported by the current validatorMethods inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
assertConfigurationValid, fromDocument, getDefaultProcessExecutor, getDetachedEvidenceRecords, getDetachedTimestamps, getDiagnosticData, getOriginalDocuments, getOriginalDocuments, getSignatureById, getSignatures, getValidationData, getValidationData, isSupported, loadValidationPolicy, processValidationPolicy, provideProcessExecutorInstance, setCertificateVerifier, setContainerContents, setDefaultDigestAlgorithm, setDetachedContents, setDetachedEvidenceRecordDocuments, setEnableEtsiValidationReport, setIncludeSemantics, setLocale, setManifestFile, setProcessExecutor, setSignaturePolicyProvider, setSigningCertificateSource, setTokenExtractionStrategy, setTokenIdentifierProvider, setValidationContextExecutor, setValidationLevel, setValidationTime, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument
-
Constructor Details
-
AbstractASiCContainerValidator
Constructor with an analyzer- Parameters:
asicContainerAnalyzer-AbstractASiCContainerAnalyzer
-
-
Method Details
-
getDocumentAnalyzer
- Overrides:
getDocumentAnalyzerin classeu.europa.esig.dss.validation.SignedDocumentValidator
-
isSupported
Checks if theASiCContentis supported by the current validator- Parameters:
asicContent-ASiCContentto check- Returns:
- TRUE if the ASiC Content is supported, FALSE otherwise
-
getContainerType
public eu.europa.esig.dss.enumerations.ASiCContainerType getContainerType()Returns a container type- Returns:
ASiCContainerType
-
getAllDocuments
Returns a list of all embedded documents- Returns:
- a list of all embedded
DSSDocuments
-
getSignatureDocuments
Returns a list of embedded signature documents- Returns:
- a list of signature
DSSDocuments
-
getSignedDocuments
Returns a list of embedded signed documents- Returns:
- a list of signed
DSSDocuments
-
getManifestDocuments
Returns a list of embedded signature manifest documents- Returns:
- a list of signature manifest
DSSDocuments
-
getTimestampDocuments
Returns a list of embedded timestamp documents- Returns:
- a list of timestamp
DSSDocuments
-
getEvidenceRecordDocuments
Returns a list of embedded evidence record documents- Returns:
- a list of evidence record
DSSDocuments
-
getArchiveManifestDocuments
Returns a list of embedded archive manifest documents- Returns:
- a list of archive manifest
DSSDocuments
-
getEvidenceRecordManifestDocuments
Returns a list of embedded evidence record manifest documents- Returns:
- a list of evidence record manifest
DSSDocuments
-
getAllManifestDocuments
Returns a list of all embedded manifest documents- Returns:
- a list of manifest
DSSDocuments
-
getArchiveDocuments
Returns a list of archive documents embedded the container- Returns:
- a list of archive
DSSDocuments
-
getMimeTypeDocument
public eu.europa.esig.dss.model.DSSDocument getMimeTypeDocument()Returns a mimetype document- Returns:
DSSDocumentmimetype
-
getUnsupportedDocuments
Returns a list of unsupported documents from the container- Returns:
- a list of unsupported documents
DSSDocuments
-
getManifestFiles
Returns a list of parser Manifest files- Returns:
- a list of
ManifestFiles
-
initializeDiagnosticDataBuilder
protected eu.europa.esig.dss.validation.reports.diagnostic.SignedDocumentDiagnosticDataBuilder initializeDiagnosticDataBuilder()- Overrides:
initializeDiagnosticDataBuilderin classeu.europa.esig.dss.validation.SignedDocumentValidator
-
instantiateASiCDiagnosticDataBuilder
This method creates a new objectSignedDocumentDiagnosticDataBuilder- Returns:
ASiCContainerDiagnosticDataBuilder
-