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
ConstructorsModifierConstructorDescriptionprotected
AbstractASiCContainerValidator
(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 ofDocumentAnalyzer
Returns 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 SignedDocumentDiagnosticDataBuilder
This method creates a format-specific implementation of theSignedDocumentDiagnosticDataBuilder
protected ASiCContainerDiagnosticDataBuilder
This method creates a new objectSignedDocumentDiagnosticDataBuilder
boolean
isSupported
(ASiCContent asicContent) Checks if theASiCContent
is 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:SignedDocumentValidator
Returns the current instance ofDocumentAnalyzer
- Overrides:
getDocumentAnalyzer
in classSignedDocumentValidator
- Returns:
DocumentAnalyzer
-
isSupported
Checks if theASiCContent
is supported by the current validator- Parameters:
asicContent
-ASiCContent
to 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
DSSDocument
s
-
getSignatureDocuments
Returns a list of embedded signature documents- Returns:
- a list of signature
DSSDocument
s
-
getSignedDocuments
Returns a list of embedded signed documents- Returns:
- a list of signed
DSSDocument
s
-
getManifestDocuments
Returns a list of embedded signature manifest documents- Returns:
- a list of signature manifest
DSSDocument
s
-
getTimestampDocuments
Returns a list of embedded timestamp documents- Returns:
- a list of timestamp
DSSDocument
s
-
getEvidenceRecordDocuments
Returns a list of embedded evidence record documents- Returns:
- a list of evidence record
DSSDocument
s
-
getArchiveManifestDocuments
Returns a list of embedded archive manifest documents- Returns:
- a list of archive manifest
DSSDocument
s
-
getEvidenceRecordManifestDocuments
Returns a list of embedded evidence record manifest documents- Returns:
- a list of evidence record manifest
DSSDocument
s
-
getAllManifestDocuments
Returns a list of all embedded manifest documents- Returns:
- a list of manifest
DSSDocument
s
-
getArchiveDocuments
Returns a list of archive documents embedded the container- Returns:
- a list of archive
DSSDocument
s
-
getMimeTypeDocument
-
getUnsupportedDocuments
Returns a list of unsupported documents from the container- Returns:
- a list of unsupported documents
DSSDocument
s
-
getManifestFiles
Returns a list of parser Manifest files- Returns:
- a list of
ManifestFile
s
-
initializeDiagnosticDataBuilder
Description copied from class:SignedDocumentValidator
This method creates a format-specific implementation of theSignedDocumentDiagnosticDataBuilder
- Overrides:
initializeDiagnosticDataBuilder
in classSignedDocumentValidator
- Returns:
SignedDocumentDiagnosticDataBuilder
-
instantiateASiCDiagnosticDataBuilder
This method creates a new objectSignedDocumentDiagnosticDataBuilder
- Returns:
ASiCContainerDiagnosticDataBuilder
-