public enum ContextUseCase extends Enum<ContextUseCase>
Enum to provide the following to FSM context:
Enum Constant and Description |
---|
CHANGE_PIN |
CREATE_WALLET |
DECRYPT_MESSAGE |
DETACHED |
ENCRYPT_MESSAGE |
LOAD_WALLET |
PROVIDE_ENTROPY |
REQUEST_ADDRESS |
REQUEST_CIPHER_KEY |
REQUEST_DETERMINISTIC_HIERARCHY |
REQUEST_PUBLIC_KEY |
SIGN_MESSAGE |
SIGN_TX |
SIMPLE_SIGN_TX |
START |
VERIFY_MESSAGE |
WIPE_DEVICE |
Modifier and Type | Method and Description |
---|---|
static ContextUseCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextUseCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextUseCase START
public static final ContextUseCase DETACHED
public static final ContextUseCase WIPE_DEVICE
public static final ContextUseCase LOAD_WALLET
public static final ContextUseCase PROVIDE_ENTROPY
public static final ContextUseCase CREATE_WALLET
public static final ContextUseCase REQUEST_ADDRESS
public static final ContextUseCase REQUEST_PUBLIC_KEY
public static final ContextUseCase REQUEST_DETERMINISTIC_HIERARCHY
public static final ContextUseCase SIMPLE_SIGN_TX
public static final ContextUseCase SIGN_TX
public static final ContextUseCase REQUEST_CIPHER_KEY
public static final ContextUseCase ENCRYPT_MESSAGE
public static final ContextUseCase DECRYPT_MESSAGE
public static final ContextUseCase SIGN_MESSAGE
public static final ContextUseCase VERIFY_MESSAGE
public static final ContextUseCase CHANGE_PIN
public static ContextUseCase[] values()
for (ContextUseCase c : ContextUseCase.values()) System.out.println(c);
public static ContextUseCase 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 nullCopyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.