Class CAdESTimestampDataBuilder

java.lang.Object
eu.europa.esig.dss.cades.validation.timestamp.CAdESTimestampDataBuilder
All Implemented Interfaces:
TimestampDataBuilder

public class CAdESTimestampDataBuilder extends Object implements TimestampDataBuilder
Builds timestamped data binaries for a CAdES signature
  • Constructor Details

    • CAdESTimestampDataBuilder

      public CAdESTimestampDataBuilder(CAdESSignature signature, eu.europa.esig.dss.spi.x509.ListCertificateSource certificateSource)
      The default constructor
      Parameters:
      signature - CAdESSignature containing timestamps
      certificateSource - ListCertificateSource merged certificate source of the signature
  • Method Details

    • getContentTimestampData

      public eu.europa.esig.dss.model.DSSDocument getContentTimestampData(TimestampToken timestampToken)
      Specified by:
      getContentTimestampData in interface TimestampDataBuilder
    • getSignatureTimestampData

      public eu.europa.esig.dss.model.DSSDocument getSignatureTimestampData(TimestampToken timestampToken)
      Specified by:
      getSignatureTimestampData in interface TimestampDataBuilder
    • getTimestampX1Data

      public eu.europa.esig.dss.model.DSSDocument getTimestampX1Data(TimestampToken timestampToken)
      Specified by:
      getTimestampX1Data in interface TimestampDataBuilder
    • getTimestampX1DataBytes

      protected byte[] getTimestampX1DataBytes()
      This method computes a message-imprint for escTimeStamp
      Returns:
      message-imprint octets
    • getTimestampX2Data

      public eu.europa.esig.dss.model.DSSDocument getTimestampX2Data(TimestampToken timestampToken)
      Specified by:
      getTimestampX2Data in interface TimestampDataBuilder
    • getTimestampX2DataBytes

      protected byte[] getTimestampX2DataBytes()
      This method computes a message-imprint for certCRLTimestamp
      Returns:
      message-imprint octets
    • getArchiveTimestampData

      public eu.europa.esig.dss.model.DSSDocument getArchiveTimestampData(TimestampToken timestampToken) throws eu.europa.esig.dss.model.DSSException
      Specified by:
      getArchiveTimestampData in interface TimestampDataBuilder
      Throws:
      eu.europa.esig.dss.model.DSSException