|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<UniversalDERTag>
org.ldaptive.asn1.UniversalDERTag
public enum UniversalDERTag
Enumeration with common BER/DER universal tag types.
| Enum Constant Summary | |
|---|---|
BITSTR
BITSTRING type. |
|
BMPSTR
BMPString type. |
|
BOOL
BOOLEAN type. |
|
CHARSTR
CharacterString type. |
|
EMBPDV
EMBEDDED PDV type. |
|
ENUM
ENUMERATED type. |
|
EXT
EXTERNAL type. |
|
GENSTR
GeneralString type. |
|
GENTIME
GeneralizedTime type. |
|
GRAPHICSTR
GraphicString type. |
|
IA5STR
IA5String type. |
|
INT
INTEGER type. |
|
ISO646STR
ISO646String type. |
|
NULL
NULL type. |
|
NUMSTR
NumericString type. |
|
OCTSTR
OCTETSTRING type. |
|
ODESC
ObjectDescriptor type. |
|
OID
OBJECT IDENTIFIER type. |
|
PRINTSTR
PrintableString type. |
|
REAL
REAL type. |
|
ROID
RELATIVE-OID type. |
|
SEQ
SEQUENCE type. |
|
SET
SET type. |
|
T61STR
T61String type. |
|
UNISTR
UniversalString type. |
|
UTCTIME
UTCTime type. |
|
UTF8STR
UTF8String type. |
|
VTEXSTR
VideotexString type. |
|
| Field Summary | |
|---|---|
static int |
TAG_CLASS
Universal tag class is 00b in first two high-order bytes. |
| Fields inherited from interface org.ldaptive.asn1.DERTag |
|---|
ASN_CONSTRUCTED |
| Method Summary | |
|---|---|
static UniversalDERTag |
fromTagName(String name)
Looks up a universal tag from a tag name. |
static UniversalDERTag |
fromTagNo(int number)
Looks up a universal tag from a tag number. |
int |
getTagByte()
Gets the value of this tag for encoding. |
int |
getTagNo()
Gets the decimal value of the tag. |
boolean |
isConstructed()
Determines whether the tag is constructed or primitive. |
static UniversalDERTag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UniversalDERTag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ldaptive.asn1.DERTag |
|---|
name |
| Enum Constant Detail |
|---|
public static final UniversalDERTag BOOL
public static final UniversalDERTag INT
public static final UniversalDERTag BITSTR
public static final UniversalDERTag OCTSTR
public static final UniversalDERTag NULL
public static final UniversalDERTag OID
public static final UniversalDERTag ODESC
public static final UniversalDERTag EXT
public static final UniversalDERTag REAL
public static final UniversalDERTag ENUM
public static final UniversalDERTag EMBPDV
public static final UniversalDERTag UTF8STR
public static final UniversalDERTag ROID
public static final UniversalDERTag SEQ
public static final UniversalDERTag SET
public static final UniversalDERTag NUMSTR
public static final UniversalDERTag PRINTSTR
public static final UniversalDERTag T61STR
public static final UniversalDERTag VTEXSTR
public static final UniversalDERTag IA5STR
public static final UniversalDERTag UTCTIME
public static final UniversalDERTag GENTIME
public static final UniversalDERTag GRAPHICSTR
public static final UniversalDERTag ISO646STR
public static final UniversalDERTag GENSTR
public static final UniversalDERTag UNISTR
public static final UniversalDERTag CHARSTR
public static final UniversalDERTag BMPSTR
| Field Detail |
|---|
public static final int TAG_CLASS
| Method Detail |
|---|
public static UniversalDERTag[] values()
for (UniversalDERTag c : UniversalDERTag.values()) System.out.println(c);
public static UniversalDERTag valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getTagNo()
getTagNo in interface DERTagpublic boolean isConstructed()
isConstructed in interface DERTagpublic int getTagByte()
getTagByte in interface DERTagpublic static UniversalDERTag fromTagNo(int number)
number - tag number.
IllegalArgumentException - if tag is unknownpublic static UniversalDERTag fromTagName(String name)
valueOf(String) in that it does not throw for unknown names.
name - tag name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||