Package org.xipki.apppackage.cbor
Interface CborConstants
public interface CborConstants
Constant values used by the CBOR format.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe CBOR-encoded "undefined" value (encoded as "simple value").static final intDenotes a eight-byte value (uint64).static final intThe CBOR-encoded booleanfalsevalue (encoded as "simple value").static final intDenotes a four-byte value (uint32).static final intThe CBOR-encodednullvalue (encoded as "simple value").static final intDenotes a one-byte value (uint8).static final intThe CBOR-encoded booleantruevalue (encoded as "simple value").static final intDenotes a two-byte value (uint16).static final intMajor type 4: array of items.static final intMajor type 2: byte string.static final intMajor type 7: floating point, simple data types.static final intMajor type 5: map of pairs.static final intMajor type 1: negative integers.static final intMajor type 6: semantic tags.static final intMajor type 3: text/UTF8 string.static final intMajor type 0: unsigned integers.
-
Field Details
-
TYPE_UNSIGNED_INTEGER
static final int TYPE_UNSIGNED_INTEGERMajor type 0: unsigned integers.- See Also:
-
TYPE_NEGATIVE_INTEGER
static final int TYPE_NEGATIVE_INTEGERMajor type 1: negative integers.- See Also:
-
TYPE_BYTE_STRING
static final int TYPE_BYTE_STRINGMajor type 2: byte string.- See Also:
-
TYPE_TEXT_STRING
static final int TYPE_TEXT_STRINGMajor type 3: text/UTF8 string.- See Also:
-
TYPE_ARRAY
static final int TYPE_ARRAYMajor type 4: array of items.- See Also:
-
TYPE_MAP
static final int TYPE_MAPMajor type 5: map of pairs.- See Also:
-
TYPE_TAG
static final int TYPE_TAGMajor type 6: semantic tags.- See Also:
-
TYPE_FLOAT_SIMPLE
static final int TYPE_FLOAT_SIMPLEMajor type 7: floating point, simple data types.- See Also:
-
ONE_BYTE
static final int ONE_BYTEDenotes a one-byte value (uint8).- See Also:
-
TWO_BYTES
static final int TWO_BYTESDenotes a two-byte value (uint16).- See Also:
-
FOUR_BYTES
static final int FOUR_BYTESDenotes a four-byte value (uint32).- See Also:
-
EIGHT_BYTES
static final int EIGHT_BYTESDenotes a eight-byte value (uint64).- See Also:
-
FALSE
static final int FALSEThe CBOR-encoded booleanfalsevalue (encoded as "simple value").- See Also:
-
TRUE
static final int TRUEThe CBOR-encoded booleantruevalue (encoded as "simple value").- See Also:
-
NULL
static final int NULLThe CBOR-encodednullvalue (encoded as "simple value").- See Also:
-
BREAK
static final int BREAKThe CBOR-encoded "undefined" value (encoded as "simple value").- See Also:
-