Interface CborConstants


public interface CborConstants
Constant values used by the CBOR format.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The CBOR-encoded "break" stop code for unlimited arrays/maps.
    static final int
    Denotes a double-precision float (eight-byte IEEE 754, see #MT_FLOAT).
    static final int
    Denotes a eight-byte value (uint64).
    static final int
    The CBOR-encoded boolean false value (encoded as "simple value": #MT_SIMPLE).
    static final int
    Denotes a four-byte value (uint32).
    static final int
    Denotes a half-precision float (two-byte IEEE 754, see #MT_FLOAT).
    static final int
    The CBOR-encoded null value (encoded as "simple value": #MT_SIMPLE).
    static final int
    Denotes a one-byte value (uint8).
    static final int
    Denotes a single-precision float (four-byte IEEE 754, see #MT_FLOAT).
    static final int
    Semantic tag value describing a base64 encoded string (UTF8 string).
    static final int
    Semantic tag value describing a base64url encoded string (UTF8 string).
    static final int
    Semantic tag value describing a big decimal value (two-element array, base 2).
    static final int
    Semantic tag value describing an encoded CBOR data item (byte string).
    static final int
    Semantic tag value describing CBOR content.
    static final int
    Semantic tag value describing a decimal fraction value (two-element array, base 10).
    static final int
    Semantic tag value describing date/time values as Epoch timestamp (numeric, RFC3339).
    static final int
    Semantic tag value describing an expected conversion to base16 encoding.
    static final int
    Semantic tag value describing an expected conversion to base64 encoding.
    static final int
    Semantic tag value describing an expected conversion to base64url encoding.
    static final int
    Semantic tag value describing a MIME message (UTF8 string, RFC2045).
    static final int
    Semantic tag value describing a negative big integer value (byte string).
    static final int
    Semantic tag value describing a positive big integer value (byte string).
    static final int
    Semantic tag value describing a regular expression string (UTF8 string, PCRE).
    static final int
    Semantic tag value describing date/time values in the standard format (UTF8 string, RFC3339).
    static final int
    Semantic tag value describing an URL (UTF8 string).
    static final int
    The CBOR-encoded boolean true value (encoded as "simple value": #MT_SIMPLE).
    static final int
    Denotes a two-byte value (uint16).
    static final int
    Major type 4: array of items.
    static final int
    Major type 2: byte string.
    static final int
    Major type 7: floating point, simple data types.
    static final int
    Major type 5: map of pairs.
    static final int
    Major type 1: negative integers.
    static final int
    Major type 6: semantic tags.
    static final int
    Major type 3: text/UTF8 string.
    static final int
    Major type 0: unsigned integers.
    static final int
    The CBOR-encoded "undefined" value (encoded as "simple value": #MT_SIMPLE).
  • Field Details

    • TYPE_UNSIGNED_INTEGER

      static final int TYPE_UNSIGNED_INTEGER
      Major type 0: unsigned integers.
      See Also:
    • TYPE_NEGATIVE_INTEGER

      static final int TYPE_NEGATIVE_INTEGER
      Major type 1: negative integers.
      See Also:
    • TYPE_BYTE_STRING

      static final int TYPE_BYTE_STRING
      Major type 2: byte string.
      See Also:
    • TYPE_TEXT_STRING

      static final int TYPE_TEXT_STRING
      Major type 3: text/UTF8 string.
      See Also:
    • TYPE_ARRAY

      static final int TYPE_ARRAY
      Major type 4: array of items.
      See Also:
    • TYPE_MAP

      static final int TYPE_MAP
      Major type 5: map of pairs.
      See Also:
    • TYPE_TAG

      static final int TYPE_TAG
      Major type 6: semantic tags.
      See Also:
    • TYPE_FLOAT_SIMPLE

      static final int TYPE_FLOAT_SIMPLE
      Major type 7: floating point, simple data types.
      See Also:
    • ONE_BYTE

      static final int ONE_BYTE
      Denotes a one-byte value (uint8).
      See Also:
    • TWO_BYTES

      static final int TWO_BYTES
      Denotes a two-byte value (uint16).
      See Also:
    • FOUR_BYTES

      static final int FOUR_BYTES
      Denotes a four-byte value (uint32).
      See Also:
    • EIGHT_BYTES

      static final int EIGHT_BYTES
      Denotes a eight-byte value (uint64).
      See Also:
    • FALSE

      static final int FALSE
      The CBOR-encoded boolean false value (encoded as "simple value": #MT_SIMPLE).
      See Also:
    • TRUE

      static final int TRUE
      The CBOR-encoded boolean true value (encoded as "simple value": #MT_SIMPLE).
      See Also:
    • NULL

      static final int NULL
      The CBOR-encoded null value (encoded as "simple value": #MT_SIMPLE).
      See Also:
    • UNDEFINED

      static final int UNDEFINED
      The CBOR-encoded "undefined" value (encoded as "simple value": #MT_SIMPLE).
      See Also:
    • HALF_PRECISION_FLOAT

      static final int HALF_PRECISION_FLOAT
      Denotes a half-precision float (two-byte IEEE 754, see #MT_FLOAT).
      See Also:
    • SINGLE_PRECISION_FLOAT

      static final int SINGLE_PRECISION_FLOAT
      Denotes a single-precision float (four-byte IEEE 754, see #MT_FLOAT).
      See Also:
    • DOUBLE_PRECISION_FLOAT

      static final int DOUBLE_PRECISION_FLOAT
      Denotes a double-precision float (eight-byte IEEE 754, see #MT_FLOAT).
      See Also:
    • BREAK

      static final int BREAK
      The CBOR-encoded "break" stop code for unlimited arrays/maps.
      See Also:
    • 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:
    • 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:
    • TAG_POSITIVE_BIGINT

      static final int TAG_POSITIVE_BIGINT
      Semantic tag value describing a positive big integer value (byte string).
      See Also:
    • TAG_NEGATIVE_BIGINT

      static final int TAG_NEGATIVE_BIGINT
      Semantic tag value describing a negative big integer value (byte string).
      See Also:
    • TAG_DECIMAL_FRACTION

      static final int TAG_DECIMAL_FRACTION
      Semantic tag value describing a decimal fraction value (two-element array, base 10).
      See Also:
    • TAG_BIGDECIMAL

      static final int TAG_BIGDECIMAL
      Semantic tag value describing a big decimal value (two-element array, base 2).
      See Also:
    • 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:
    • TAG_EXPECTED_BASE64_ENCODED

      static final int TAG_EXPECTED_BASE64_ENCODED
      Semantic tag value describing an expected conversion to base64 encoding.
      See Also:
    • TAG_EXPECTED_BASE16_ENCODED

      static final int TAG_EXPECTED_BASE16_ENCODED
      Semantic tag value describing an expected conversion to base16 encoding.
      See Also:
    • TAG_CBOR_ENCODED

      static final int TAG_CBOR_ENCODED
      Semantic tag value describing an encoded CBOR data item (byte string).
      See Also:
    • TAG_URI

      static final int TAG_URI
      Semantic tag value describing an URL (UTF8 string).
      See Also:
    • TAG_BASE64_URL_ENCODED

      static final int TAG_BASE64_URL_ENCODED
      Semantic tag value describing a base64url encoded string (UTF8 string).
      See Also:
    • TAG_BASE64_ENCODED

      static final int TAG_BASE64_ENCODED
      Semantic tag value describing a base64 encoded string (UTF8 string).
      See Also:
    • TAG_REGEXP

      static final int TAG_REGEXP
      Semantic tag value describing a regular expression string (UTF8 string, PCRE).
      See Also:
    • TAG_MIME_MESSAGE

      static final int TAG_MIME_MESSAGE
      Semantic tag value describing a MIME message (UTF8 string, RFC2045).
      See Also:
    • TAG_CBOR_MARKER

      static final int TAG_CBOR_MARKER
      Semantic tag value describing CBOR content.
      See Also: