public static enum MSClassmark.MSClassmark2.A52Algorithm extends Enum<MSClassmark.MSClassmark2.A52Algorithm>
The API offered by this class is as if the type were specified in ASN.1 as follows.
A52Algorithm ::= ENUMERATED { NOT_AVAILABLE (0), AVAILABLE (1) }
Enum Constant and Description |
---|
AVAILABLE
MSClassmark2 A5/2 Algorithm constant corresponding to available.
|
NOT_AVAILABLE
MSClassmark2 A5/2 Algorithm constant corresponding to not available.
|
Modifier and Type | Method and Description |
---|---|
static MSClassmark.MSClassmark2.A52Algorithm |
fromValue(int value)
Returns the enumeration constant for a given encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static MSClassmark.MSClassmark2.A52Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MSClassmark.MSClassmark2.A52Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MSClassmark.MSClassmark2.A52Algorithm NOT_AVAILABLE
public static final MSClassmark.MSClassmark2.A52Algorithm AVAILABLE
public static MSClassmark.MSClassmark2.A52Algorithm[] values()
for (MSClassmark.MSClassmark2.A52Algorithm c : MSClassmark.MSClassmark2.A52Algorithm.values()) System.out.println(c);
public static MSClassmark.MSClassmark2.A52Algorithm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int intValue()
public static MSClassmark.MSClassmark2.A52Algorithm fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value