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:
eu.europa.esig.dss.validation.DocumentValidator, eu.europa.esig.dss.validation.executor.ProcessExecutorProvider<eu.europa.esig.dss.validation.executor.DocumentProcessExecutor>, eu.europa.esig.dss.validation.timestamp.TimestampValidator

public class ASiCWithCAdESTimestampValidator extends eu.europa.esig.dss.validation.timestamp.DetachedTimestampValidator
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

    Constructors
    Constructor
    Description
    ASiCWithCAdESTimestampValidator(eu.europa.esig.dss.model.DSSDocument timestamp)
    Default constructor
    ASiCWithCAdESTimestampValidator(eu.europa.esig.dss.model.DSSDocument timestamp, eu.europa.esig.dss.enumerations.TimestampType type)
    Default constructor with a timestamp type
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.model.ManifestFile
    Returns the covered ManifestFile
     
    void
    setArchiveDocuments(List<eu.europa.esig.dss.model.DSSDocument> archiveDocuments)
    Sets the document embedded inside package.zip, when applicable
    void
    setArchiveTimestampType(eu.europa.esig.dss.enumerations.ArchiveTimestampType archiveTimestampType)
    Sets the archive timestamp type
    void
    setOriginalDocuments(List<eu.europa.esig.dss.model.DSSDocument> originalDocuments)
    Sets the original documents present in the ASiC container

    Methods 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, getSignatures, getValidationData, getValidationData, initializeDiagnosticDataBuilder, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ASiCWithCAdESTimestampValidator

      public ASiCWithCAdESTimestampValidator(eu.europa.esig.dss.model.DSSDocument timestamp)
      Default constructor
      Parameters:
      timestamp - DSSDocument the timestamp document file
    • ASiCWithCAdESTimestampValidator

      public ASiCWithCAdESTimestampValidator(eu.europa.esig.dss.model.DSSDocument timestamp, eu.europa.esig.dss.enumerations.TimestampType type)
      Default constructor with a timestamp type
      Parameters:
      timestamp - DSSDocument the timestamp document file
      type - TimestampType type of the timestamp
  • Method Details

    • getDocumentAnalyzer

      public ASiCWithCAdESTimestampAnalyzer getDocumentAnalyzer()
      Overrides:
      getDocumentAnalyzer in class eu.europa.esig.dss.validation.timestamp.DetachedTimestampValidator
    • getCoveredManifest

      public eu.europa.esig.dss.model.ManifestFile getCoveredManifest()
      Returns the covered ManifestFile
      Returns:
      ManifestFile
    • setOriginalDocuments

      public void setOriginalDocuments(List<eu.europa.esig.dss.model.DSSDocument> originalDocuments)
      Sets the original documents present in the ASiC container
      Parameters:
      originalDocuments - a list of DSSDocuments
    • setArchiveDocuments

      public void setArchiveDocuments(List<eu.europa.esig.dss.model.DSSDocument> archiveDocuments)
      Sets the document embedded inside package.zip, when applicable
      Parameters:
      archiveDocuments - a list of DSSDocuments
    • setArchiveTimestampType

      public void setArchiveTimestampType(eu.europa.esig.dss.enumerations.ArchiveTimestampType archiveTimestampType)
      Sets the archive timestamp type
      Parameters:
      archiveTimestampType - ArchiveTimestampType