Interface TSPSource

All Superinterfaces:
Serializable
All Known Implementing Classes:
CompositeTSPSource, OnlineTSPSource

public interface TSPSource extends Serializable
Abstraction of a Time Stamping authority which delivers RFC 3161 Time Stamp Responses containing tokens, from Time Stamp Requests.
  • Method Details

    • getTimeStampResponse

      TimestampBinary getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest) throws DSSException
      Gets a TimeStampResponse relevant to the provided digest
      Parameters:
      digestAlgorithm - the used digest algorithm
      digest - the computed digest to be timestamped
      Returns:
      TimestampBinary binary of a signed timestamp token
      Throws:
      DSSException - if any error occurred