public interface TimestampValidator
Modifier and Type | Method and Description |
---|---|
void |
validate(Date created,
long maxClockSkew,
long freshnessLimit)
validate given time against current time.
|
void validate(Date created, long maxClockSkew, long freshnessLimit) throws TimeoutException
created
- created timemaxClockSkew
- maximum difference allowed between the system clocks of the sender and recipient.freshnessLimit
- maximum duration of time after which the Timestamp becomes staleTimeoutException
Copyright © 2021. All rights reserved.