Class ASiCWithCAdESTimestampValidator
java.lang.Object
eu.europa.esig.dss.validation.SignedDocumentValidator
eu.europa.esig.dss.validation.timestamp.DetachedTimestampValidator
eu.europa.esig.dss.asic.cades.validation.timestamp.ASiCWithCAdESTimestampValidator
- All Implemented Interfaces:
DocumentValidator
,ProcessExecutorProvider<DocumentProcessExecutor>
,TimestampValidator
The abstract validator for an ASiC with CAdES timestamp
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
ConstructorDescriptionASiCWithCAdESTimestampValidator
(DSSDocument timestamp) Default constructorASiCWithCAdESTimestampValidator
(DSSDocument timestamp, TimestampType type) Default constructor with a timestamp type -
Method Summary
Modifier and TypeMethodDescriptionReturns the coveredManifestFile
Returns the current instance ofDocumentAnalyzer
void
setArchiveDocuments
(List<DSSDocument> archiveDocuments) Sets the document embedded inside package.zip, when applicablevoid
setArchiveTimestampType
(ArchiveTimestampType archiveTimestampType) Sets the archive timestamp typevoid
setOriginalDocuments
(List<DSSDocument> originalDocuments) Sets the original documents present in the ASiC containerMethods inherited from class eu.europa.esig.dss.validation.timestamp.DetachedTimestampValidator
getOriginalDocuments, getOriginalDocuments, getTimestamp, getTimestampedData, setTimestampedData
Methods inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
assertConfigurationValid, fromDocument, getDefaultProcessExecutor, getDetachedEvidenceRecords, getDetachedTimestamps, getDiagnosticData, getSignatureById, getSignaturePolicyValidatorLoader, getSignatures, getValidationData, getValidationData, initializeDiagnosticDataBuilder, 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
-
ASiCWithCAdESTimestampValidator
Default constructor- Parameters:
timestamp
-DSSDocument
the timestamp document file
-
ASiCWithCAdESTimestampValidator
Default constructor with a timestamp type- Parameters:
timestamp
-DSSDocument
the timestamp document filetype
-TimestampType
type of the timestamp
-
-
Method Details
-
getDocumentAnalyzer
Description copied from class:SignedDocumentValidator
Returns the current instance ofDocumentAnalyzer
- Overrides:
getDocumentAnalyzer
in classDetachedTimestampValidator
- Returns:
DocumentAnalyzer
-
getCoveredManifest
-
setOriginalDocuments
Sets the original documents present in the ASiC container- Parameters:
originalDocuments
- a list ofDSSDocument
s
-
setArchiveDocuments
Sets the document embedded inside package.zip, when applicable- Parameters:
archiveDocuments
- a list ofDSSDocument
s
-
setArchiveTimestampType
Sets the archive timestamp type- Parameters:
archiveTimestampType
-ArchiveTimestampType
-