Class AbstractASiCContainerValidator
java.lang.Object
eu.europa.esig.dss.validation.SignedDocumentValidator
eu.europa.esig.dss.asic.common.validation.AbstractASiCContainerValidator
- All Implemented Interfaces:
DocumentValidator,ProcessExecutorProvider<DocumentProcessExecutor>
- Direct Known Subclasses:
ASiCContainerWithCAdESValidator,ASiCContainerWithXAdESValidator
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 TypeMethodDescriptionReturns a list of all embedded documentsReturns a list of all embedded manifest documentsReturns a list of archive documents embedded the containerReturns a list of embedded archive manifest documentsReturns a container typeReturns the current instance ofDocumentAnalyzerReturns a list of embedded evidence record documentsReturns a list of embedded evidence record manifest documentsReturns a list of embedded signature manifest documentsReturns a list of parser Manifest filesReturns a mimetype documentReturns a list of embedded signature documentsReturns a list of embedded signed documentsReturns a list of embedded timestamp documentsReturns a list of unsupported documents from the containerprotected SignedDocumentDiagnosticDataBuilderThis method creates a format-specific implementation of theSignedDocumentDiagnosticDataBuilderprotected 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, getSignaturePolicyValidatorLoader, getSignatures, getValidationData, getValidationData, isSupported, processValidationPolicy, provideProcessExecutorInstance, setCertificateVerifier, setContainerContents, setDefaultDigestAlgorithm, setDetachedContents, setDetachedEvidenceRecordDocuments, setEnableEtsiValidationReport, setIncludeSemantics, setLocale, setManifestFile, setProcessExecutor, setSignaturePolicyProvider, setSigningCertificateSource, setSkipValidationContextExecution, setTokenExtractionStrategy, setTokenIdentifierProvider, setValidationContextExecutor, setValidationLevel, setValidationTime, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument
-
Constructor Details
-
AbstractASiCContainerValidator
Constructor with an analyzer- Parameters:
asicContainerAnalyzer-AbstractASiCContainerAnalyzer
-
-
Method Details
-
getDocumentAnalyzer
Description copied from class:SignedDocumentValidatorReturns the current instance ofDocumentAnalyzer- Overrides:
getDocumentAnalyzerin classSignedDocumentValidator- Returns:
DocumentAnalyzer
-
isSupported
Checks if theASiCContentis supported by the current validator- Parameters:
asicContent-ASiCContentto check- Returns:
- TRUE if the ASiC Content is supported, FALSE otherwise
-
getContainerType
-
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
-
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
Description copied from class:SignedDocumentValidatorThis method creates a format-specific implementation of theSignedDocumentDiagnosticDataBuilder- Overrides:
initializeDiagnosticDataBuilderin classSignedDocumentValidator- Returns:
SignedDocumentDiagnosticDataBuilder
-
instantiateASiCDiagnosticDataBuilder
This method creates a new objectSignedDocumentDiagnosticDataBuilder- Returns:
ASiCContainerDiagnosticDataBuilder
-