Class SignedTimestamp

java.lang.Object
com.yoti.api.client.SignedTimestamp

public class SignedTimestamp extends Object
Represents a point in time, accurate to the nearest microsecond. SignedTimestamps are cryptographically protected at the time of their creation.
  • Constructor Details

    • SignedTimestamp

      public SignedTimestamp(int version, DateTime timestamp)
  • Method Details

    • getVersion

      public int getVersion()
      Indicates both the version of the protobuf message in use as well as the specific hash algorithms
      Returns:
      The Yoti SignedTimestamp schema this SignedTimestamp conforms to
    • getTimestamp

      public DateTime getTimestamp()
      A point in time, to the nearest microsecond
      Returns:
      a point in time, to the nearest microsecond
    • toString

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object