public enum CS1Criticality extends Enum<CS1Criticality>
Criticality ::= ENUMERATED { ignore(0), abort(1) }
Used as field type by CS1ExtensionField
.
Modifier and Type | Method and Description |
---|---|
static CS1Criticality |
fromValue(int value)
Returns the enumeration constant for a given ASN.1 encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static CS1Criticality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CS1Criticality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CS1Criticality ignore
public static final CS1Criticality abort
public static CS1Criticality[] values()
for (CS1Criticality c : CS1Criticality.values()) System.out.println(c);
public static CS1Criticality 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 static CS1Criticality fromValue(int value)
value
- integer ASN.1 encoded valuepublic int intValue()