Class AllDataObjectsTimeStampBuilder

java.lang.Object
eu.europa.esig.dss.xades.signature.AllDataObjectsTimeStampBuilder

public class AllDataObjectsTimeStampBuilder extends Object
This class allows to create a XAdES content-timestamp which covers all documents (AllDataObjectsTimeStamp).
  • Constructor Summary

    Constructors
    Constructor
    Description
    AllDataObjectsTimeStampBuilder(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource, XAdESSignatureParameters signatureParameters)
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.spi.x509.tsp.TimestampToken
    build(eu.europa.esig.dss.model.DSSDocument document)
    Builds a message-imprint from the given document and generates a timestamp
    eu.europa.esig.dss.spi.x509.tsp.TimestampToken
    build(List<eu.europa.esig.dss.model.DSSDocument> documents)
    Timestamps the list of documents

    Methods inherited from class java.lang.Object

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

    • AllDataObjectsTimeStampBuilder

      public AllDataObjectsTimeStampBuilder(eu.europa.esig.dss.spi.x509.tsp.TSPSource tspSource, XAdESSignatureParameters signatureParameters)
      Default constructor
      Parameters:
      tspSource - TSPSource
      signatureParameters - XAdESSignatureParameters
  • Method Details

    • build

      public eu.europa.esig.dss.spi.x509.tsp.TimestampToken build(eu.europa.esig.dss.model.DSSDocument document)
      Builds a message-imprint from the given document and generates a timestamp
      Parameters:
      document - DSSDocument to timestamp
      Returns:
      TimestampToken
    • build

      public eu.europa.esig.dss.spi.x509.tsp.TimestampToken build(List<eu.europa.esig.dss.model.DSSDocument> documents)
      Timestamps the list of documents
      Parameters:
      documents - a list of DSSDocuments to timestamp
      Returns:
      TimestampToken