checkTimestamp(nonce_string,
allowed_skew=18000,
now=None)
Is the timestamp that is part of the specified nonce string within
the allowed clock-skew of the current time?
-
- Parameters:
nonce_string -
The nonce that is being checked
(type=str)
allowed_skew -
How many seconds should be allowed for completing the request,
allowing for clock skew.
(type=int)
now -
The current time, as a Unix timestamp
(type=int)
- Returns:
-
Whether the timestamp is correctly formatted and within the
allowed skew of the current time.
(type=bool)
|