| Enum Constant and Description |
|---|
APPLICATION
The type is only valid for one specific application
|
CONTEXT
Meaning of this type depends on the context (such as within a sequence, set or choice)
|
PRIVATE
Defined in private specifications
|
UNIVERSAL
The type is native to ASN.1
|
| Modifier and Type | Method and Description |
|---|---|
static Asn1Class |
fromConstant(int value) |
byte |
getConstant() |
static Asn1Class |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Asn1Class[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Asn1Class UNIVERSAL
public static final Asn1Class APPLICATION
public static final Asn1Class CONTEXT
public static final Asn1Class PRIVATE
public static Asn1Class[] values()
for (Asn1Class c : Asn1Class.values()) System.out.println(c);
public static Asn1Class valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte getConstant()
public static Asn1Class fromConstant(int value)
Copyright © 2014-2021 Tomitribe Corporation. All Rights Reserved.