public final class CborTag extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BASE64
CBOR tag indicating that the tagged text string is a base64-encoded data.
|
static int |
BASE64URL
CBOR tag indicating that the tagged text string is a base64url-encoded data.
|
static int |
BIGFLOAT
CBOR tag indicating that the tagged array is a bigfloat.
|
static int |
BIGNUM_NEG
CBOR tag indicating that the tagged byte string represents a negative bignum.
|
static int |
BIGNUM_POS
CBOR tag indicating that the tagged byte string represents a positive bignum.
|
static int |
CBOR_DATA_ITEM
CBOR tag indicating that the tagged byte string contains a CBOR-encoded data item.
|
static int |
EXPECTED_BASE16
CBOR tag indicating that the tagged byte string is expected to be base16 when encoded as
JSON.
|
static int |
EXPECTED_BASE64
CBOR tag indicating that the tagged byte string is expected to be base64 when encoded as
JSON.
|
static int |
FRACTION
CBOR tag indicating that the tagged array is a decimal fraction.
|
static int |
MAX_VALUE
The largest tag value supported by this implementation.
|
static int |
REGEX
CBOR tag indicating that the tagged text string is a regular expression in Perl Compatible
Regular Expressions (PCRE) / JavaScript syntax.
|
static int |
SELF_DESCRIBE_CBOR
CBOR tag for facilitating self-describing CBOR encodings.
|
static int |
TIME_DATE_STRING
CBOR tag indicating that the tagged string is a RFC3339-formatted timestamp.
|
static int |
TIMESTAMP_UNIX
CBOR tag indicating that the tagged integer represents the number of seconds since
1970-01-01T00:00Z. |
static int |
UNTAGGED
Indicates the absence of a CBOR tag.
|
static int |
URI
CBOR tag indicating that the tagged text string is a URI.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValid(long tag)
Indicates if the given tag value is considered valid.
|
public static final int UNTAGGED
public static final int TIME_DATE_STRING
public static final int TIMESTAMP_UNIX
1970-01-01T00:00Z.public static final int BIGNUM_POS
public static final int BIGNUM_NEG
public static final int FRACTION
m*(10^e)
. The exponent MUST be a normal integer with a major type of zero or one. The mantissa
may be either a normal integer of a bignum.public static final int BIGFLOAT
m*(2^e). The
exponent MUST be a normal integer with a major type of zero or one. The mantissa may be
either a normal integer of a bignum.public static final int EXPECTED_BASE64
public static final int EXPECTED_BASE16
public static final int CBOR_DATA_ITEM
public static final int URI
public static final int BASE64URL
public static final int BASE64
public static final int REGEX
public static final int SELF_DESCRIBE_CBOR
public static final int MAX_VALUE
Copyright © 2018–2023. All rights reserved.