public interface NonceVerifier
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_TIMESTAMP
The timestamp of the nonce is invalid, it cannot be parsed.
|
static int |
OK
This noce is valid and it was not seen before.
|
static int |
SEEN
The nonce was seen before.
|
static int |
TOO_OLD
The timestamp of the nonce is too old and it is not tracked anymore.
|
static final int OK
static final int SEEN
static final int INVALID_TIMESTAMP
static final int TOO_OLD
int seen(String opUrl, String nonce)
OK
only if this nonce has a valid time stamp, the time stamp did not age and the nonce was not
seen before.int getMaxAge()
void setMaxAge(int ageSeconds)
Copyright © 2013 Sxip. All rights reserved.