public final class ASN1Constants extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static byte[] |
NO_VALUE
A byte array that should be used as the value for an ASN.1 element if it
does not have a value (i.e., the value length is zero bytes).
|
static byte |
TYE_MASK_APPLICATION_CLASS
已过时。
Use
TYPE_MASK_APPLICATION_CLASS instead. |
static byte |
TYE_MASK_CONTEXT_SPECIFIC_CLASS
已过时。
Use
TYPE_MASK_CONTEXT_SPECIFIC_CLASS instead. |
static byte |
TYE_MASK_PC_CONSTRUCTED
已过时。
Use
TYPE_MASK_PC_CONSTRUCTED instead. |
static byte |
TYE_MASK_PC_PRIMITIVE
已过时。
Use
TYPE_MASK_PC_PRIMITIVE instead. |
static byte |
TYE_MASK_PRIVATE_CLASS
已过时。
Use
TYPE_MASK_PRIVATE_CLASS instead. |
static byte |
TYE_MASK_UNIVERSAL_CLASS
已过时。
Use
TYPE_MASK_UNIVERSAL_CLASS instead. |
static byte |
TYPE_MASK_APPLICATION_CLASS
A mask that may be used when building a BER type in the application class.
|
static byte |
TYPE_MASK_CONTEXT_SPECIFIC_CLASS
A mask that may be used when building a BER type in the context-specific
class.
|
static byte |
TYPE_MASK_PC_CONSTRUCTED
A mask that may be used when building a BER type with a constructed value
(i.e., a value that is comprised of a concatenation of the encoded
representations of zero or more BER elements).
|
static byte |
TYPE_MASK_PC_PRIMITIVE
A mask that may be used when building a BER type with a primitive value
(i.e., a value that is not known to be comprised of a concatenation of the
encoded representations of zero or more BER elements).
|
static byte |
TYPE_MASK_PRIVATE_CLASS
A mask that may be used when building a BER type in the private class.
|
static byte |
TYPE_MASK_UNIVERSAL_CLASS
A mask that may be used when building a BER type in the universal class.
|
static byte |
UNIVERSAL_BIT_STRING_TYPE
The BER type for the universal bit string element.
|
static byte |
UNIVERSAL_BOOLEAN_TYPE
The BER type for the universal Boolean element.
|
static byte |
UNIVERSAL_ENUMERATED_TYPE
The BER type for the universal enumerated element.
|
static byte |
UNIVERSAL_GENERALIZED_TIME_TYPE
The BER type for the universal generalized time element.
|
static byte |
UNIVERSAL_IA5_STRING_TYPE
The BER type for the universal IA5 string element.
|
static byte |
UNIVERSAL_INTEGER_TYPE
The BER type for the universal integer element.
|
static byte |
UNIVERSAL_NULL_TYPE
The BER type for the universal null element.
|
static byte |
UNIVERSAL_NUMERIC_STRING_TYPE
The BER type for the universal numeric string element.
|
static byte |
UNIVERSAL_OBJECT_IDENTIFIER_TYPE
The BER type for the universal object identifier element.
|
static byte |
UNIVERSAL_OCTET_STRING_TYPE
The BER type for the universal octet string element.
|
static byte |
UNIVERSAL_PRINTABLE_STRING_TYPE
The BER type for the universal printable string element.
|
static byte |
UNIVERSAL_SEQUENCE_TYPE
The BER type for the universal sequence element.
|
static byte |
UNIVERSAL_SET_TYPE
The BER type for the universal set element.
|
static byte |
UNIVERSAL_UTC_TIME_TYPE
The BER type for the universal UTC time element.
|
static byte |
UNIVERSAL_UTF_8_STRING_TYPE
The BER type for the universal UTF-8 string element.
|
public static final byte UNIVERSAL_BOOLEAN_TYPE
public static final byte UNIVERSAL_INTEGER_TYPE
public static final byte UNIVERSAL_BIT_STRING_TYPE
public static final byte UNIVERSAL_OCTET_STRING_TYPE
public static final byte UNIVERSAL_NULL_TYPE
public static final byte UNIVERSAL_OBJECT_IDENTIFIER_TYPE
public static final byte UNIVERSAL_ENUMERATED_TYPE
public static final byte UNIVERSAL_UTF_8_STRING_TYPE
public static final byte UNIVERSAL_NUMERIC_STRING_TYPE
public static final byte UNIVERSAL_PRINTABLE_STRING_TYPE
public static final byte UNIVERSAL_IA5_STRING_TYPE
public static final byte UNIVERSAL_UTC_TIME_TYPE
public static final byte UNIVERSAL_GENERALIZED_TIME_TYPE
public static final byte UNIVERSAL_SEQUENCE_TYPE
public static final byte UNIVERSAL_SET_TYPE
@NonNull public static final byte[] NO_VALUE
public static final byte TYPE_MASK_UNIVERSAL_CLASS
TYPE_MASK_*_CLASS constants, one of the
TYPE_MASK_PC_* constants, and a byte that represents the desired
tag number. Note that this method only works for tag numbers between zero
and thirty, since tag numbers greater than thirty require a multi-byte
type, but none of the LDAP specifications attempt to use a tag number
greater than twenty-five, so it is highly unlikely that you will ever
encounter the need for a multi-byte type in LDAP.@Deprecated public static final byte TYE_MASK_UNIVERSAL_CLASS
TYPE_MASK_UNIVERSAL_CLASS instead.TYPE_MASK_*_CLASS constants, one of the
TYPE_MASK_PC_* constants, and a byte that represents the desired
tag number. Note that this method only works for tag numbers between zero
and thirty, since tag numbers greater than thirty require a multi-byte
type, but none of the LDAP specifications attempt to use a tag number
greater than twenty-five, so it is highly unlikely that you will ever
encounter the need for a multi-byte type in LDAP.public static final byte TYPE_MASK_APPLICATION_CLASS
TYPE_MASK_*_CLASS constants, one of the
TYPE_MASK_PC_* constants, and a byte that represents the desired
tag number. Note that this method only works for tag numbers between zero
and thirty, since tag numbers greater than thirty require a multi-byte
type, but none of the LDAP specifications attempt to use a tag number
greater than twenty-five, so it is highly unlikely that you will ever
encounter the need for a multi-byte type in LDAP.@Deprecated public static final byte TYE_MASK_APPLICATION_CLASS
TYPE_MASK_APPLICATION_CLASS instead.TYPE_MASK_*_CLASS constants, one of the
TYPE_MASK_PC_* constants, and a byte that represents the desired
tag number. Note that this method only works for tag numbers between zero
and thirty, since tag numbers greater than thirty require a multi-byte
type, but none of the LDAP specifications attempt to use a tag number
greater than twenty-five, so it is highly unlikely that you will ever
encounter the need for a multi-byte type in LDAP.public static final byte TYPE_MASK_CONTEXT_SPECIFIC_CLASS
TYPE_MASK_*_CLASS constants, one of the
TYPE_MASK_PC_* constants, and a byte that represents the desired
tag number. Note that this method only works for tag numbers between zero
and thirty, since tag numbers greater than thirty require a multi-byte
type, but none of the LDAP specifications attempt to use a tag number
greater than twenty-five, so it is highly unlikely that you will ever
encounter the need for a multi-byte type in LDAP.@Deprecated public static final byte TYE_MASK_CONTEXT_SPECIFIC_CLASS
TYPE_MASK_CONTEXT_SPECIFIC_CLASS instead.TYPE_MASK_*_CLASS constants, one of the
TYPE_MASK_PC_* constants, and a byte that represents the desired
tag number. Note that this method only works for tag numbers between zero
and thirty, since tag numbers greater than thirty require a multi-byte
type, but none of the LDAP specifications attempt to use a tag number
greater than twenty-five, so it is highly unlikely that you will ever
encounter the need for a multi-byte type in LDAP.public static final byte TYPE_MASK_PRIVATE_CLASS
TYPE_MASK_*_CLASS constants, one of the
TYPE_MASK_PC_* constants, and a byte that represents the desired
tag number. Note that this method only works for tag numbers between zero
and thirty, since tag numbers greater than thirty require a multi-byte
type, but none of the LDAP specifications attempt to use a tag number
greater than twenty-five, so it is highly unlikely that you will ever
encounter the need for a multi-byte type in LDAP.@Deprecated public static final byte TYE_MASK_PRIVATE_CLASS
TYPE_MASK_PRIVATE_CLASS instead.TYPE_MASK_*_CLASS constants, one of the
TYPE_MASK_PC_* constants, and a byte that represents the desired
tag number. Note that this method only works for tag numbers between zero
and thirty, since tag numbers greater than thirty require a multi-byte
type, but none of the LDAP specifications attempt to use a tag number
greater than twenty-five, so it is highly unlikely that you will ever
encounter the need for a multi-byte type in LDAP.public static final byte TYPE_MASK_PC_PRIMITIVE
TYPE_MASK_*_CLASS constants,
one of the TYPE_MASK_PC_* constants, and a byte that represents the
desired tag number. Note that this method only works for tag numbers
between zero and thirty, since tag numbers greater than thirty require a
multi-byte type, but none of the LDAP specifications attempt to use a tag
number greater than twenty-five, so it is highly unlikely that you will
ever encounter the need for a multi-byte type in LDAP.@Deprecated public static final byte TYE_MASK_PC_PRIMITIVE
TYPE_MASK_PC_PRIMITIVE instead.TYPE_MASK_*_CLASS constants,
one of the TYPE_MASK_PC_* constants, and a byte that represents the
desired tag number. Note that this method only works for tag numbers
between zero and thirty, since tag numbers greater than thirty require a
multi-byte type, but none of the LDAP specifications attempt to use a tag
number greater than twenty-five, so it is highly unlikely that you will
ever encounter the need for a multi-byte type in LDAP.public static final byte TYPE_MASK_PC_CONSTRUCTED
TYPE_MASK_*_CLASS constants, one of
the TYPE_MASK_PC_* constants, and a byte that represents the
desired tag number. Note that this method only works for tag numbers
between zero and thirty, since tag numbers greater than thirty require a
multi-byte type, but none of the LDAP specifications attempt to use a tag
number greater than twenty-five, so it is highly unlikely that you will
ever encounter the need for a multi-byte type in LDAP.@Deprecated public static final byte TYE_MASK_PC_CONSTRUCTED
TYPE_MASK_PC_CONSTRUCTED instead.TYPE_MASK_*_CLASS constants, one of
the TYPE_MASK_PC_* constants, and a byte that represents the
desired tag number. Note that this method only works for tag numbers
between zero and thirty, since tag numbers greater than thirty require a
multi-byte type, but none of the LDAP specifications attempt to use a tag
number greater than twenty-five, so it is highly unlikely that you will
ever encounter the need for a multi-byte type in LDAP.Copyright © 2022. All rights reserved.