Enum Constant and Description |
---|
NO_CVM |
SIGNATURE |
VERIFIED_BY_DEVICE |
VERIFIED_BY_PIN |
VERIFIED_BY_PIN_SIG |
Modifier and Type | Method and Description |
---|---|
static CVMType |
fromName(java.lang.String name)
Get a
CVMType from a given name |
java.lang.String |
getName()
Gets the string name of the
CVMType |
static CVMType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CVMType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CVMType VERIFIED_BY_PIN
public static final CVMType VERIFIED_BY_PIN_SIG
public static final CVMType SIGNATURE
public static final CVMType VERIFIED_BY_DEVICE
public static final CVMType NO_CVM
public static CVMType[] values()
for (CVMType c : CVMType.values()) System.out.println(c);
public static CVMType 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 java.lang.String getName()
CVMType
CVMType
Copyright © 2019 Yello. All rights reserved.