Package org.xipki.apppackage.jacob
Interface CborConstants
-
public interface CborConstantsConstant values used by the CBOR format.
-
-
Field Summary
Fields Modifier and Type Field Description static intBREAKThe CBOR-encoded "break" stop code for unlimited arrays/maps.static intDOUBLE_PRECISION_FLOATDenotes a double-precision float (eight-byte IEEE 754, seeTYPE_FLOAT_SIMPLE).static intEIGHT_BYTESDenotes a eight-byte value (uint64).static intFALSEThe CBOR-encoded booleanfalsevalue (encoded as "simple value":TYPE_FLOAT_SIMPLE).static intFOUR_BYTESDenotes a four-byte value (uint32).static intHALF_PRECISION_FLOATDenotes a half-precision float (two-byte IEEE 754, seeTYPE_FLOAT_SIMPLE).static intNULLThe CBOR-encodednullvalue (encoded as "simple value":TYPE_FLOAT_SIMPLE).static intONE_BYTEDenotes a one-byte value (uint8).static intSINGLE_PRECISION_FLOATDenotes a single-precision float (four-byte IEEE 754, seeTYPE_FLOAT_SIMPLE).static intTAG_BASE64_ENCODEDSemantic tag value describing a base64 encoded string (UTF8 string).static intTAG_BASE64_URL_ENCODEDSemantic tag value describing a base64url encoded string (UTF8 string).static intTAG_BIGDECIMALSemantic tag value describing a big decimal value (two-element array, base 2).static intTAG_CBOR_ENCODEDSemantic tag value describing an encoded CBOR data item (byte string).static intTAG_CBOR_MARKERSemantic tag value describing CBOR content.static intTAG_DECIMAL_FRACTIONSemantic tag value describing a decimal fraction value (two-element array, base 10).static intTAG_EPOCH_DATE_TIMESemantic tag value describing date/time values as Epoch timestamp (numeric, RFC3339).static intTAG_EXPECTED_BASE16_ENCODEDSemantic tag value describing an expected conversion to base16 encoding.static intTAG_EXPECTED_BASE64_ENCODEDSemantic tag value describing an expected conversion to base64 encoding.static intTAG_EXPECTED_BASE64_URL_ENCODEDSemantic tag value describing an expected conversion to base64url encoding.static intTAG_MIME_MESSAGESemantic tag value describing a MIME message (UTF8 string, RFC2045).static intTAG_NEGATIVE_BIGINTSemantic tag value describing a negative big integer value (byte string).static intTAG_POSITIVE_BIGINTSemantic tag value describing a positive big integer value (byte string).static intTAG_REGEXPSemantic tag value describing a regular expression string (UTF8 string, PCRE).static intTAG_STANDARD_DATE_TIMESemantic tag value describing date/time values in the standard format (UTF8 string, RFC3339).static intTAG_URISemantic tag value describing an URL (UTF8 string).static intTRUEThe CBOR-encoded booleantruevalue (encoded as "simple value":TYPE_FLOAT_SIMPLE).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.static intUNDEFINEDThe CBOR-encoded "undefined" value (encoded as "simple value":TYPE_FLOAT_SIMPLE).
-
-
-
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":TYPE_FLOAT_SIMPLE).- See Also:
- Constant Field Values
-
TRUE
static final int TRUE
The CBOR-encoded booleantruevalue (encoded as "simple value":TYPE_FLOAT_SIMPLE).- See Also:
- Constant Field Values
-
NULL
static final int NULL
The CBOR-encodednullvalue (encoded as "simple value":TYPE_FLOAT_SIMPLE).- See Also:
- Constant Field Values
-
UNDEFINED
static final int UNDEFINED
The CBOR-encoded "undefined" value (encoded as "simple value":TYPE_FLOAT_SIMPLE).- See Also:
- Constant Field Values
-
HALF_PRECISION_FLOAT
static final int HALF_PRECISION_FLOAT
Denotes a half-precision float (two-byte IEEE 754, seeTYPE_FLOAT_SIMPLE).- See Also:
- Constant Field Values
-
SINGLE_PRECISION_FLOAT
static final int SINGLE_PRECISION_FLOAT
Denotes a single-precision float (four-byte IEEE 754, seeTYPE_FLOAT_SIMPLE).- See Also:
- Constant Field Values
-
DOUBLE_PRECISION_FLOAT
static final int DOUBLE_PRECISION_FLOAT
Denotes a double-precision float (eight-byte IEEE 754, seeTYPE_FLOAT_SIMPLE).- See Also:
- Constant Field Values
-
BREAK
static final int BREAK
The CBOR-encoded "break" stop code for unlimited arrays/maps.- See Also:
- Constant Field Values
-
TAG_STANDARD_DATE_TIME
static final int TAG_STANDARD_DATE_TIME
Semantic tag value describing date/time values in the standard format (UTF8 string, RFC3339).- See Also:
- Constant Field Values
-
TAG_EPOCH_DATE_TIME
static final int TAG_EPOCH_DATE_TIME
Semantic tag value describing date/time values as Epoch timestamp (numeric, RFC3339).- See Also:
- Constant Field Values
-
TAG_POSITIVE_BIGINT
static final int TAG_POSITIVE_BIGINT
Semantic tag value describing a positive big integer value (byte string).- See Also:
- Constant Field Values
-
TAG_NEGATIVE_BIGINT
static final int TAG_NEGATIVE_BIGINT
Semantic tag value describing a negative big integer value (byte string).- See Also:
- Constant Field Values
-
TAG_DECIMAL_FRACTION
static final int TAG_DECIMAL_FRACTION
Semantic tag value describing a decimal fraction value (two-element array, base 10).- See Also:
- Constant Field Values
-
TAG_BIGDECIMAL
static final int TAG_BIGDECIMAL
Semantic tag value describing a big decimal value (two-element array, base 2).- See Also:
- Constant Field Values
-
TAG_EXPECTED_BASE64_URL_ENCODED
static final int TAG_EXPECTED_BASE64_URL_ENCODED
Semantic tag value describing an expected conversion to base64url encoding.- See Also:
- Constant Field Values
-
TAG_EXPECTED_BASE64_ENCODED
static final int TAG_EXPECTED_BASE64_ENCODED
Semantic tag value describing an expected conversion to base64 encoding.- See Also:
- Constant Field Values
-
TAG_EXPECTED_BASE16_ENCODED
static final int TAG_EXPECTED_BASE16_ENCODED
Semantic tag value describing an expected conversion to base16 encoding.- See Also:
- Constant Field Values
-
TAG_CBOR_ENCODED
static final int TAG_CBOR_ENCODED
Semantic tag value describing an encoded CBOR data item (byte string).- See Also:
- Constant Field Values
-
TAG_URI
static final int TAG_URI
Semantic tag value describing an URL (UTF8 string).- See Also:
- Constant Field Values
-
TAG_BASE64_URL_ENCODED
static final int TAG_BASE64_URL_ENCODED
Semantic tag value describing a base64url encoded string (UTF8 string).- See Also:
- Constant Field Values
-
TAG_BASE64_ENCODED
static final int TAG_BASE64_ENCODED
Semantic tag value describing a base64 encoded string (UTF8 string).- See Also:
- Constant Field Values
-
TAG_REGEXP
static final int TAG_REGEXP
Semantic tag value describing a regular expression string (UTF8 string, PCRE).- See Also:
- Constant Field Values
-
TAG_MIME_MESSAGE
static final int TAG_MIME_MESSAGE
Semantic tag value describing a MIME message (UTF8 string, RFC2045).- See Also:
- Constant Field Values
-
TAG_CBOR_MARKER
static final int TAG_CBOR_MARKER
Semantic tag value describing CBOR content.- See Also:
- Constant Field Values
-
-