Class TimestampedReference

java.lang.Object
eu.europa.esig.dss.validation.timestamp.TimestampedReference
All Implemented Interfaces:
Serializable

public class TimestampedReference extends Object implements Serializable
This class stocks the timestamped reference, which is composed of: - the timestamp reference category TimestampReferenceCategory; - object id in the case where the reference apply to the signature.
See Also:
  • Constructor Details

    • TimestampedReference

      public TimestampedReference(String objectId, eu.europa.esig.dss.enumerations.TimestampedObjectType category)
      Default constructor
      Parameters:
      objectId - String
      category - TimestampedObjectType
  • Method Details

    • getCategory

      public eu.europa.esig.dss.enumerations.TimestampedObjectType getCategory()
      Gets the timestamped object type
      Returns:
      TimestampedObjectType
    • getObjectId

      public String getObjectId()
      Gets the timestamped object Id
      Returns:
      String
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object