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