Package org.xipki.apppackage.cbor
Interface CborConstants
-
public interface CborConstantsConstant values used by the CBOR format.
-
-
Field Summary
Fields Modifier and Type Field Description static intBREAKThe CBOR-encoded "undefined" value (encoded as "simple value").static intEIGHT_BYTESDenotes a eight-byte value (uint64).static intFALSEThe CBOR-encoded booleanfalsevalue (encoded as "simple value").static intFOUR_BYTESDenotes a four-byte value (uint32).static intNULLThe CBOR-encodednullvalue (encoded as "simple value").static intONE_BYTEDenotes a one-byte value (uint8).static intTRUEThe CBOR-encoded booleantruevalue (encoded as "simple value").static intTWO_BYTESDenotes a two-byte value (uint16).static intTYPE_ARRAYMajor type 4: array of items.static intTYPE_BYTE_STRINGMajor type 2: byte string.static intTYPE_FLOAT_SIMPLEMajor type 7: floating point, simple data types.static intTYPE_MAPMajor type 5: map of pairs.static intTYPE_NEGATIVE_INTEGERMajor type 1: negative integers.static intTYPE_TAGMajor type 6: semantic tags.static intTYPE_TEXT_STRINGMajor type 3: text/UTF8 string.static intTYPE_UNSIGNED_INTEGERMajor type 0: unsigned integers.
-
-
-
Field Detail
-
TYPE_UNSIGNED_INTEGER
static final int TYPE_UNSIGNED_INTEGER
Major type 0: unsigned integers.- See Also:
- Constant Field Values
-
TYPE_NEGATIVE_INTEGER
static final int TYPE_NEGATIVE_INTEGER
Major type 1: negative integers.- See Also:
- Constant Field Values
-
TYPE_BYTE_STRING
static final int TYPE_BYTE_STRING
Major type 2: byte string.- See Also:
- Constant Field Values
-
TYPE_TEXT_STRING
static final int TYPE_TEXT_STRING
Major type 3: text/UTF8 string.- See Also:
- Constant Field Values
-
TYPE_ARRAY
static final int TYPE_ARRAY
Major type 4: array of items.- See Also:
- Constant Field Values
-
TYPE_MAP
static final int TYPE_MAP
Major type 5: map of pairs.- See Also:
- Constant Field Values
-
TYPE_TAG
static final int TYPE_TAG
Major type 6: semantic tags.- See Also:
- Constant Field Values
-
TYPE_FLOAT_SIMPLE
static final int TYPE_FLOAT_SIMPLE
Major type 7: floating point, simple data types.- See Also:
- Constant Field Values
-
ONE_BYTE
static final int ONE_BYTE
Denotes a one-byte value (uint8).- See Also:
- Constant Field Values
-
TWO_BYTES
static final int TWO_BYTES
Denotes a two-byte value (uint16).- See Also:
- Constant Field Values
-
FOUR_BYTES
static final int FOUR_BYTES
Denotes a four-byte value (uint32).- See Also:
- Constant Field Values
-
EIGHT_BYTES
static final int EIGHT_BYTES
Denotes a eight-byte value (uint64).- See Also:
- Constant Field Values
-
FALSE
static final int FALSE
The CBOR-encoded booleanfalsevalue (encoded as "simple value").- See Also:
- Constant Field Values
-
TRUE
static final int TRUE
The CBOR-encoded booleantruevalue (encoded as "simple value").- See Also:
- Constant Field Values
-
NULL
static final int NULL
The CBOR-encodednullvalue (encoded as "simple value").- See Also:
- Constant Field Values
-
BREAK
static final int BREAK
The CBOR-encoded "undefined" value (encoded as "simple value").- See Also:
- Constant Field Values
-
-