Interface TimestampMessageDigestBuilder

All Known Implementing Classes:
CAdESTimestampMessageDigestBuilder, JAdESTimestampMessageDigestBuilder, XAdESTimestampMessageDigestBuilder

public interface TimestampMessageDigestBuilder
Builds message-imprint digest to be timestamped
  • Method Details

    • getContentTimestampMessageDigest

      DSSMessageDigest getContentTimestampMessageDigest()
      Returns the content timestamp message-imprint digest (timestamped or to be).
      Returns:
      DSSMessageDigest representing the message digest on canonicalized data to be timestamped
    • getSignatureTimestampMessageDigest

      DSSMessageDigest getSignatureTimestampMessageDigest()
      Returns the message-imprint digest on data (signature value) that was timestamped by the SignatureTimeStamp for the given timestamp.
      Returns:
      DSSMessageDigest representing the message-digest on canonicalized data to be timestamped
    • getTimestampX1MessageDigest

      DSSMessageDigest getTimestampX1MessageDigest()
      Returns the message-imprint digest to be time-stamped. The data used to create digest contains the digital signature (XAdES example: ds:SignatureValue element), the signature time-stamp(s) present in the AdES-T form, the certification path references and the revocation status references.
      Returns:
      DSSMessageDigest representing the message digest on canonicalized data to be timestamped
    • getTimestampX2MessageDigest

      DSSMessageDigest getTimestampX2MessageDigest()
      Returns the data to be time-stamped which contains the concatenation of CompleteCertificateRefs and CompleteRevocationRefs elements (XAdES example).
      Returns:
      DSSMessageDigest representing the message digest on canonicalized data to be timestamped
    • getArchiveTimestampMessageDigest

      DSSMessageDigest getArchiveTimestampMessageDigest()
      Archive timestamp seals the data of the signature in a specific order. We need to retrieve the data for each timestamp.
      Returns:
      DSSMessageDigest representing the message digest on canonicalized data to be timestamped