Interface TimestampValidator


public interface TimestampValidator
validate Timestamp received in messages.
Author:
[email protected]
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(Date created, long maxClockSkew, long freshnessLimit)
    validate given time against current time.
  • Method Details

    • validate

      void validate(Date created, long maxClockSkew, long freshnessLimit) throws TimeoutException
      validate given time against current time.
      Parameters:
      created - created time
      maxClockSkew - maximum difference allowed between the system clocks of the sender and recipient.
      freshnessLimit - maximum duration of time after which the Timestamp becomes stale
      Throws:
      TimeoutException