Package io.crums.model
Class Constants
java.lang.Object
io.crums.model.Constants
public class Constants
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
API_PATH
static java.lang.String
BEACON_VERB
static java.lang.String
CRUM_PATH
static java.lang.String
HASH_ALGO
Name of the hashing (digest) algorithm.static int
HASH_WIDTH
Width of the hash, in bytes.static java.lang.String
JSON_CRUM
static java.lang.String
JSON_PROOF
static java.lang.String
LIST_ROOTS_PATH
static java.lang.String
LIST_ROOTS_VERB
static int
MAX_LIST_ROOTS_COUNT
The maxmimum number of root trails listed in one REST request.static int
MAX_STAMP_COUNT
The maximum number hashes allowed to stamp in one REST request.static java.lang.String
QR_BEACON_VERB
static java.lang.String
QS_COUNT_NAME
static java.lang.String
QS_CRUMTRAIL_NAME
static java.lang.String
QS_HASH_NAME
static java.lang.String
QS_UTC_NAME
static java.lang.String
ROOT_TRAIL_PATH
static java.lang.String
ROOT_TRAIL_VERB
static java.lang.String
RSP_HASH_JSON
static java.lang.String
RSP_MAX_UTC
static java.lang.String
RSP_MIN_UTC
static java.lang.String
RSP_STATUS_NAME
static java.lang.String
RSP_STATUS_VAL_COMPLETED
static java.lang.String
RSP_STATUS_VAL_WITNESSED
static java.lang.String
RSP_TREE_NUM
static java.lang.String
RSP_UTC_JSON
static java.lang.String
RSP_WITNESS_DATE_JSON
static java.lang.String
STAMP_PATH
static java.lang.String
STAMP_VERB
static java.lang.String
VERIFY_STAMP_PATH
static java.lang.String
VERIFY_STAMP_VERB
-
Constructor Summary
Constructors Modifier Constructor Description protected
Constants()
So that these constants can be extended. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MAX_STAMP_COUNT
public static final int MAX_STAMP_COUNTThe maximum number hashes allowed to stamp in one REST request.- See Also:
- Constant Field Values
-
MAX_LIST_ROOTS_COUNT
public static final int MAX_LIST_ROOTS_COUNTThe maxmimum number of root trails listed in one REST request.- See Also:
- Constant Field Values
-
HASH_ALGO
public static final java.lang.String HASH_ALGOName of the hashing (digest) algorithm.- See Also:
HASH_WIDTH
, Constant Field Values
-
HASH_WIDTH
public static final int HASH_WIDTHWidth of the hash, in bytes.- See Also:
- Constant Field Values
-
API_PATH
public static final java.lang.String API_PATH- See Also:
- Constant Field Values
-
STAMP_VERB
public static final java.lang.String STAMP_VERB- See Also:
- Constant Field Values
-
VERIFY_STAMP_VERB
public static final java.lang.String VERIFY_STAMP_VERB- See Also:
- Constant Field Values
-
LIST_ROOTS_VERB
public static final java.lang.String LIST_ROOTS_VERB- See Also:
- Constant Field Values
-
ROOT_TRAIL_VERB
public static final java.lang.String ROOT_TRAIL_VERB- See Also:
- Constant Field Values
-
BEACON_VERB
public static final java.lang.String BEACON_VERB- See Also:
- Constant Field Values
-
QR_BEACON_VERB
public static final java.lang.String QR_BEACON_VERB- See Also:
- Constant Field Values
-
CRUM_PATH
public static final java.lang.String CRUM_PATH- See Also:
- Constant Field Values
-
STAMP_PATH
public static final java.lang.String STAMP_PATH- See Also:
- Constant Field Values
-
VERIFY_STAMP_PATH
public static final java.lang.String VERIFY_STAMP_PATH- See Also:
- Constant Field Values
-
LIST_ROOTS_PATH
public static final java.lang.String LIST_ROOTS_PATH- See Also:
- Constant Field Values
-
ROOT_TRAIL_PATH
public static final java.lang.String ROOT_TRAIL_PATH- See Also:
- Constant Field Values
-
QS_HASH_NAME
public static final java.lang.String QS_HASH_NAME- See Also:
- Constant Field Values
-
QS_CRUMTRAIL_NAME
public static final java.lang.String QS_CRUMTRAIL_NAME- See Also:
- Constant Field Values
-
QS_UTC_NAME
public static final java.lang.String QS_UTC_NAME- See Also:
- Constant Field Values
-
QS_COUNT_NAME
public static final java.lang.String QS_COUNT_NAME- See Also:
- Constant Field Values
-
RSP_STATUS_NAME
public static final java.lang.String RSP_STATUS_NAME- See Also:
- Constant Field Values
-
RSP_STATUS_VAL_WITNESSED
public static final java.lang.String RSP_STATUS_VAL_WITNESSED- See Also:
- Constant Field Values
-
RSP_STATUS_VAL_COMPLETED
public static final java.lang.String RSP_STATUS_VAL_COMPLETED- See Also:
- Constant Field Values
-
RSP_UTC_JSON
public static final java.lang.String RSP_UTC_JSON- See Also:
- Constant Field Values
-
RSP_HASH_JSON
public static final java.lang.String RSP_HASH_JSON- See Also:
- Constant Field Values
-
RSP_MIN_UTC
public static final java.lang.String RSP_MIN_UTC- See Also:
- Constant Field Values
-
RSP_MAX_UTC
public static final java.lang.String RSP_MAX_UTC- See Also:
- Constant Field Values
-
RSP_TREE_NUM
public static final java.lang.String RSP_TREE_NUM- See Also:
- Constant Field Values
-
RSP_WITNESS_DATE_JSON
public static final java.lang.String RSP_WITNESS_DATE_JSON- See Also:
- Constant Field Values
-
JSON_CRUM
public static final java.lang.String JSON_CRUM- See Also:
- Constant Field Values
-
JSON_PROOF
public static final java.lang.String JSON_PROOF- See Also:
- Constant Field Values
-
-
Constructor Details
-
Constants
protected Constants()So that these constants can be extended. Define, but don't instantiate.
-