public static interface TrezorStorage.StorageOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getHomescreen()
image used as homescreen (logo + label is used when not set)
|
boolean |
getImported()
was storage imported from an external source?
|
String |
getLabel()
device label
|
com.google.protobuf.ByteString |
getLabelBytes()
device label
|
String |
getLanguage()
current language
|
com.google.protobuf.ByteString |
getLanguageBytes()
current language
|
String |
getMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
|
com.google.protobuf.ByteString |
getMnemonicBytes()
BIP-39 mnemonic (node cannot be used if this is present)
|
TrezorType.HDNodeType |
getNode()
BIP-32 node (mnemonic cannot be used if this is present)
|
TrezorType.HDNodeTypeOrBuilder |
getNodeOrBuilder()
BIP-32 node (mnemonic cannot be used if this is present)
|
boolean |
getPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
|
String |
getPin()
current PIN
|
com.google.protobuf.ByteString |
getPinBytes()
current PIN
|
int |
getPinFailedAttempts()
number of failed PIN attempts
|
int |
getU2FCounter()
sequence number for u2f authentications
|
int |
getVersion()
version of storage
|
boolean |
hasHomescreen()
image used as homescreen (logo + label is used when not set)
|
boolean |
hasImported()
was storage imported from an external source?
|
boolean |
hasLabel()
device label
|
boolean |
hasLanguage()
current language
|
boolean |
hasMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
|
boolean |
hasNode()
BIP-32 node (mnemonic cannot be used if this is present)
|
boolean |
hasPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
|
boolean |
hasPin()
current PIN
|
boolean |
hasPinFailedAttempts()
number of failed PIN attempts
|
boolean |
hasU2FCounter()
sequence number for u2f authentications
|
boolean |
hasVersion()
version of storage
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasVersion()
version of storage
required uint32 version = 1;
int getVersion()
version of storage
required uint32 version = 1;
boolean hasNode()
BIP-32 node (mnemonic cannot be used if this is present)
optional .HDNodeType node = 2;
TrezorType.HDNodeType getNode()
BIP-32 node (mnemonic cannot be used if this is present)
optional .HDNodeType node = 2;
TrezorType.HDNodeTypeOrBuilder getNodeOrBuilder()
BIP-32 node (mnemonic cannot be used if this is present)
optional .HDNodeType node = 2;
boolean hasMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
optional string mnemonic = 3;
String getMnemonic()
BIP-39 mnemonic (node cannot be used if this is present)
optional string mnemonic = 3;
com.google.protobuf.ByteString getMnemonicBytes()
BIP-39 mnemonic (node cannot be used if this is present)
optional string mnemonic = 3;
boolean hasPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
optional bool passphrase_protection = 4;
boolean getPassphraseProtection()
whether to require passphrase to decrypt node or stretch mnemonic
optional bool passphrase_protection = 4;
boolean hasPinFailedAttempts()
number of failed PIN attempts
optional uint32 pin_failed_attempts = 5;
int getPinFailedAttempts()
number of failed PIN attempts
optional uint32 pin_failed_attempts = 5;
boolean hasPin()
current PIN
optional string pin = 6;
String getPin()
current PIN
optional string pin = 6;
com.google.protobuf.ByteString getPinBytes()
current PIN
optional string pin = 6;
boolean hasLanguage()
current language
optional string language = 7;
String getLanguage()
current language
optional string language = 7;
com.google.protobuf.ByteString getLanguageBytes()
current language
optional string language = 7;
boolean hasLabel()
device label
optional string label = 8;
String getLabel()
device label
optional string label = 8;
com.google.protobuf.ByteString getLabelBytes()
device label
optional string label = 8;
boolean hasImported()
was storage imported from an external source?
optional bool imported = 9;
boolean getImported()
was storage imported from an external source?
optional bool imported = 9;
boolean hasHomescreen()
image used as homescreen (logo + label is used when not set)
optional bytes homescreen = 10;
com.google.protobuf.ByteString getHomescreen()
image used as homescreen (logo + label is used when not set)
optional bytes homescreen = 10;
boolean hasU2FCounter()
sequence number for u2f authentications
optional uint32 u2f_counter = 11;
int getU2FCounter()
sequence number for u2f authentications
optional uint32 u2f_counter = 11;
Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.