Class DetachedTimestampScopeFinder

java.lang.Object
eu.europa.esig.dss.validation.scope.AbstractSignatureScopeFinder
eu.europa.esig.dss.validation.scope.DetachedTimestampScopeFinder
All Implemented Interfaces:
TimestampScopeFinder

public class DetachedTimestampScopeFinder extends AbstractSignatureScopeFinder implements TimestampScopeFinder
This class finds a timestamp scope for a detached timestamp
  • Field Details

    • timestampedData

      protected eu.europa.esig.dss.model.DSSDocument timestampedData
      The data used to for message-imprint computation of a timestamp token
  • Constructor Details

    • DetachedTimestampScopeFinder

      public DetachedTimestampScopeFinder()
      Default constructor instantiating object with null timestamped data document
  • Method Details

    • setTimestampedData

      public void setTimestampedData(eu.europa.esig.dss.model.DSSDocument timestampedData)
      Sets the timestamped data
      Parameters:
      timestampedData - DSSDocument
    • findTimestampScope

      public List<SignatureScope> findTimestampScope(TimestampToken timestampToken)
      Description copied from interface: TimestampScopeFinder
      This method returns a timestamp scope for the given TimestampToken
      Specified by:
      findTimestampScope in interface TimestampScopeFinder
      Parameters:
      timestampToken - TimestampToken to get signature scope for
      Returns:
      a list of SignatureScopes
    • getTimestampSignatureScopeForDocument

      protected List<SignatureScope> getTimestampSignatureScopeForDocument(eu.europa.esig.dss.model.DSSDocument document)
      Returns a timestamped SignatureScope for the given document
      Parameters:
      document - DSSDocument to get a signature scope for
      Returns:
      a list of SignatureScopes