Class TimestampTokenIdentifier

java.lang.Object
eu.europa.esig.dss.spi.x509.tsp.TimestampTokenIdentifier
All Implemented Interfaces:
Serializable

public final class TimestampTokenIdentifier extends Object
Identifier for a timestamp token
See Also:
  • Field Details

    • DIGEST_ALGO

      protected static final eu.europa.esig.dss.enumerations.DigestAlgorithm DIGEST_ALGO
  • Constructor Details

    • TimestampTokenIdentifier

      public TimestampTokenIdentifier(TimestampToken timestampToken)
      Default constructor
      Parameters:
      timestampToken - TimestampToken
    • TimestampTokenIdentifier

      public TimestampTokenIdentifier(byte[] binaries)
      Constructor to build a time-stamp identifier from custom binaries
      Parameters:
      binaries - byte array representing the time-stamp token
  • Method Details

    • getBinaries

      public byte[] getBinaries()
    • getDigestValue

      public byte[] getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0)
    • isMatch

      public boolean isMatch(eu.europa.esig.dss.model.Digest arg0)
    • getMessageDigest

      protected MessageDigest getMessageDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0)
    • asXmlId

      public String asXmlId()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object arg0)
      Overrides:
      equals in class Object