Package org.digidoc4j

Interface Timestamp

All Superinterfaces:
Serializable
All Known Implementing Classes:
AsicContainerTimestamp, AsicSContainerTimestamp

public interface Timestamp extends Serializable
An interface for handling timestamp tokens and their parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the signing certificate of this timestamp, if available.
    Returns the creation time of this timestamp.
    Returns the digest algorithm of this timestamp.
    org.bouncycastle.tsp.TimeStampToken
    Returns the raw TimeStampToken that this timestamp represents.
    Returns the identifier that uniquely identifies this timestamp.
  • Method Details

    • getUniqueId

      String getUniqueId()
      Returns the identifier that uniquely identifies this timestamp.
      Returns:
      unique identifier
    • getCertificate

      X509Cert getCertificate()
      Returns the signing certificate of this timestamp, if available.
      Returns:
      timestamp certificate or null
    • getCreationTime

      Date getCreationTime()
      Returns the creation time of this timestamp.
      Returns:
      creation time
    • getDigestAlgorithm

      DigestAlgorithm getDigestAlgorithm()
      Returns the digest algorithm of this timestamp.
      Returns:
      digest algorithm
    • getTimeStampToken

      org.bouncycastle.tsp.TimeStampToken getTimeStampToken()
      Returns the raw TimeStampToken that this timestamp represents.
      Returns:
      raw timestamp token