public class CreateWalletSpecification extends Object
Value object to provide the following to hardware wallet FSM:
Constructor and Description |
---|
CreateWalletSpecification(String language,
String label,
boolean displayRandom,
boolean pinProtection,
int strength) |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
String |
getLanguage() |
int |
getStrength() |
boolean |
isDisplayRandom() |
boolean |
isPinProtection() |
public CreateWalletSpecification(String language, String label, boolean displayRandom, boolean pinProtection, int strength)
language
- The language to use (e.g. "english")label
- The label to display below the logo (e.g "Fred")displayRandom
- True if the device should display the entropy generated by the device before asking for additional entropypinProtection
- True if the device should use PIN protectionstrength
- The bits of entropy in the seed phrase (128, 192, 256) corresponding to 12, 18, 24 wordspublic String getLanguage()
public String getLabel()
public boolean isDisplayRandom()
public boolean isPinProtection()
public int getStrength()
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.