messages

package
v0.0.0-...-7d2f2d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const Default_EncryptMessage_CoinName string = "Bitcoin"
View Source
const Default_EstimateTxSize_CoinName string = "Bitcoin"
View Source
const Default_GetAddress_CoinName string = "Bitcoin"
View Source
const Default_GetAddress_ScriptType types.InputScriptType = types.InputScriptType_SPENDADDRESS
View Source
const Default_GetPublicKey_CoinName string = "Bitcoin"
View Source
const Default_LoadDevice_Language string = "english"
View Source
const Default_RecoveryDevice_Language string = "english"
View Source
const Default_ResetDevice_Language string = "english"
View Source
const Default_ResetDevice_Strength uint32 = 256
View Source
const Default_SignMessage_CoinName string = "Bitcoin"
View Source
const Default_SignMessage_ScriptType types.InputScriptType = types.InputScriptType_SPENDADDRESS
View Source
const Default_SignTx_CoinName string = "Bitcoin"
View Source
const Default_SignTx_LockTime uint32 = 0
View Source
const Default_SignTx_Version uint32 = 1
View Source
const Default_SimpleSignTx_CoinName string = "Bitcoin"
View Source
const Default_SimpleSignTx_LockTime uint32 = 0
View Source
const Default_SimpleSignTx_Version uint32 = 1
View Source
const Default_VerifyMessage_CoinName string = "Bitcoin"

Variables

View Source
var MessageType_name = map[int32]string{
	0:   "MessageType_Initialize",
	1:   "MessageType_Ping",
	2:   "MessageType_Success",
	3:   "MessageType_Failure",
	4:   "MessageType_ChangePin",
	5:   "MessageType_WipeDevice",
	6:   "MessageType_FirmwareErase",
	7:   "MessageType_FirmwareUpload",
	8:   "MessageType_FirmwareRequest",
	9:   "MessageType_GetEntropy",
	10:  "MessageType_Entropy",
	11:  "MessageType_GetPublicKey",
	12:  "MessageType_PublicKey",
	13:  "MessageType_LoadDevice",
	14:  "MessageType_ResetDevice",
	15:  "MessageType_SignTx",
	16:  "MessageType_SimpleSignTx",
	17:  "MessageType_Features",
	18:  "MessageType_PinMatrixRequest",
	19:  "MessageType_PinMatrixAck",
	20:  "MessageType_Cancel",
	21:  "MessageType_TxRequest",
	22:  "MessageType_TxAck",
	23:  "MessageType_CipherKeyValue",
	24:  "MessageType_ClearSession",
	25:  "MessageType_ApplySettings",
	26:  "MessageType_ButtonRequest",
	27:  "MessageType_ButtonAck",
	28:  "MessageType_ApplyFlags",
	29:  "MessageType_GetAddress",
	30:  "MessageType_Address",
	32:  "MessageType_SelfTest",
	34:  "MessageType_BackupDevice",
	35:  "MessageType_EntropyRequest",
	36:  "MessageType_EntropyAck",
	38:  "MessageType_SignMessage",
	39:  "MessageType_VerifyMessage",
	40:  "MessageType_MessageSignature",
	41:  "MessageType_PassphraseRequest",
	42:  "MessageType_PassphraseAck",
	43:  "MessageType_EstimateTxSize",
	44:  "MessageType_TxSize",
	45:  "MessageType_RecoveryDevice",
	46:  "MessageType_WordRequest",
	47:  "MessageType_WordAck",
	48:  "MessageType_CipheredKeyValue",
	49:  "MessageType_EncryptMessage",
	50:  "MessageType_EncryptedMessage",
	51:  "MessageType_DecryptMessage",
	52:  "MessageType_DecryptedMessage",
	53:  "MessageType_SignIdentity",
	54:  "MessageType_SignedIdentity",
	55:  "MessageType_GetFeatures",
	56:  "MessageType_EthereumGetAddress",
	57:  "MessageType_EthereumAddress",
	58:  "MessageType_EthereumSignTx",
	59:  "MessageType_EthereumTxRequest",
	60:  "MessageType_EthereumTxAck",
	61:  "MessageType_GetECDHSessionKey",
	62:  "MessageType_ECDHSessionKey",
	63:  "MessageType_SetU2FCounter",
	64:  "MessageType_EthereumSignMessage",
	65:  "MessageType_EthereumVerifyMessage",
	66:  "MessageType_EthereumMessageSignature",
	67:  "MessageType_NEMGetAddress",
	68:  "MessageType_NEMAddress",
	69:  "MessageType_NEMSignTx",
	70:  "MessageType_NEMSignedTx",
	71:  "MessageType_CosiCommit",
	72:  "MessageType_CosiCommitment",
	73:  "MessageType_CosiSign",
	74:  "MessageType_CosiSignature",
	75:  "MessageType_NEMDecryptMessage",
	76:  "MessageType_NEMDecryptedMessage",
	100: "MessageType_DebugLinkDecision",
	101: "MessageType_DebugLinkGetState",
	102: "MessageType_DebugLinkState",
	103: "MessageType_DebugLinkStop",
	104: "MessageType_DebugLinkLog",
	110: "MessageType_DebugLinkMemoryRead",
	111: "MessageType_DebugLinkMemory",
	112: "MessageType_DebugLinkMemoryWrite",
	113: "MessageType_DebugLinkFlashErase",
}
View Source
var MessageType_value = map[string]int32{
	"MessageType_Initialize":               0,
	"MessageType_Ping":                     1,
	"MessageType_Success":                  2,
	"MessageType_Failure":                  3,
	"MessageType_ChangePin":                4,
	"MessageType_WipeDevice":               5,
	"MessageType_FirmwareErase":            6,
	"MessageType_FirmwareUpload":           7,
	"MessageType_FirmwareRequest":          8,
	"MessageType_GetEntropy":               9,
	"MessageType_Entropy":                  10,
	"MessageType_GetPublicKey":             11,
	"MessageType_PublicKey":                12,
	"MessageType_LoadDevice":               13,
	"MessageType_ResetDevice":              14,
	"MessageType_SignTx":                   15,
	"MessageType_SimpleSignTx":             16,
	"MessageType_Features":                 17,
	"MessageType_PinMatrixRequest":         18,
	"MessageType_PinMatrixAck":             19,
	"MessageType_Cancel":                   20,
	"MessageType_TxRequest":                21,
	"MessageType_TxAck":                    22,
	"MessageType_CipherKeyValue":           23,
	"MessageType_ClearSession":             24,
	"MessageType_ApplySettings":            25,
	"MessageType_ButtonRequest":            26,
	"MessageType_ButtonAck":                27,
	"MessageType_ApplyFlags":               28,
	"MessageType_GetAddress":               29,
	"MessageType_Address":                  30,
	"MessageType_SelfTest":                 32,
	"MessageType_BackupDevice":             34,
	"MessageType_EntropyRequest":           35,
	"MessageType_EntropyAck":               36,
	"MessageType_SignMessage":              38,
	"MessageType_VerifyMessage":            39,
	"MessageType_MessageSignature":         40,
	"MessageType_PassphraseRequest":        41,
	"MessageType_PassphraseAck":            42,
	"MessageType_EstimateTxSize":           43,
	"MessageType_TxSize":                   44,
	"MessageType_RecoveryDevice":           45,
	"MessageType_WordRequest":              46,
	"MessageType_WordAck":                  47,
	"MessageType_CipheredKeyValue":         48,
	"MessageType_EncryptMessage":           49,
	"MessageType_EncryptedMessage":         50,
	"MessageType_DecryptMessage":           51,
	"MessageType_DecryptedMessage":         52,
	"MessageType_SignIdentity":             53,
	"MessageType_SignedIdentity":           54,
	"MessageType_GetFeatures":              55,
	"MessageType_EthereumGetAddress":       56,
	"MessageType_EthereumAddress":          57,
	"MessageType_EthereumSignTx":           58,
	"MessageType_EthereumTxRequest":        59,
	"MessageType_EthereumTxAck":            60,
	"MessageType_GetECDHSessionKey":        61,
	"MessageType_ECDHSessionKey":           62,
	"MessageType_SetU2FCounter":            63,
	"MessageType_EthereumSignMessage":      64,
	"MessageType_EthereumVerifyMessage":    65,
	"MessageType_EthereumMessageSignature": 66,
	"MessageType_NEMGetAddress":            67,
	"MessageType_NEMAddress":               68,
	"MessageType_NEMSignTx":                69,
	"MessageType_NEMSignedTx":              70,
	"MessageType_CosiCommit":               71,
	"MessageType_CosiCommitment":           72,
	"MessageType_CosiSign":                 73,
	"MessageType_CosiSignature":            74,
	"MessageType_NEMDecryptMessage":        75,
	"MessageType_NEMDecryptedMessage":      76,
	"MessageType_DebugLinkDecision":        100,
	"MessageType_DebugLinkGetState":        101,
	"MessageType_DebugLinkState":           102,
	"MessageType_DebugLinkStop":            103,
	"MessageType_DebugLinkLog":             104,
	"MessageType_DebugLinkMemoryRead":      110,
	"MessageType_DebugLinkMemory":          111,
	"MessageType_DebugLinkMemoryWrite":     112,
	"MessageType_DebugLinkFlashErase":      113,
}

Functions

This section is empty.

Types

type Address

type Address struct {
	Address              *string  `protobuf:"bytes,1,req,name=address" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Contains address derived from device private seed @prev GetAddress

func (*Address) Descriptor

func (*Address) Descriptor() ([]byte, []int)

func (*Address) GetAddress

func (m *Address) GetAddress() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) String

func (m *Address) String() string

func (*Address) XXX_DiscardUnknown

func (m *Address) XXX_DiscardUnknown()

func (*Address) XXX_Marshal

func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Address) XXX_Merge

func (dst *Address) XXX_Merge(src proto.Message)

func (*Address) XXX_Size

func (m *Address) XXX_Size() int

func (*Address) XXX_Unmarshal

func (m *Address) XXX_Unmarshal(b []byte) error

type ApplyFlags

type ApplyFlags struct {
	Flags                *uint32  `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: set flags of the device @next Success @next Failure

func (*ApplyFlags) Descriptor

func (*ApplyFlags) Descriptor() ([]byte, []int)

func (*ApplyFlags) GetFlags

func (m *ApplyFlags) GetFlags() uint32

func (*ApplyFlags) ProtoMessage

func (*ApplyFlags) ProtoMessage()

func (*ApplyFlags) Reset

func (m *ApplyFlags) Reset()

func (*ApplyFlags) String

func (m *ApplyFlags) String() string

func (*ApplyFlags) XXX_DiscardUnknown

func (m *ApplyFlags) XXX_DiscardUnknown()

func (*ApplyFlags) XXX_Marshal

func (m *ApplyFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplyFlags) XXX_Merge

func (dst *ApplyFlags) XXX_Merge(src proto.Message)

func (*ApplyFlags) XXX_Size

func (m *ApplyFlags) XXX_Size() int

func (*ApplyFlags) XXX_Unmarshal

func (m *ApplyFlags) XXX_Unmarshal(b []byte) error

type ApplySettings

type ApplySettings struct {
	Language             *string  `protobuf:"bytes,1,opt,name=language" json:"language,omitempty"`
	Label                *string  `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
	UsePassphrase        *bool    `protobuf:"varint,3,opt,name=use_passphrase,json=usePassphrase" json:"use_passphrase,omitempty"`
	Homescreen           []byte   `protobuf:"bytes,4,opt,name=homescreen" json:"homescreen,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: change language and/or label of the device @next Success @next Failure @next ButtonRequest @next PinMatrixRequest

func (*ApplySettings) Descriptor

func (*ApplySettings) Descriptor() ([]byte, []int)

func (*ApplySettings) GetHomescreen

func (m *ApplySettings) GetHomescreen() []byte

func (*ApplySettings) GetLabel

func (m *ApplySettings) GetLabel() string

func (*ApplySettings) GetLanguage

func (m *ApplySettings) GetLanguage() string

func (*ApplySettings) GetUsePassphrase

func (m *ApplySettings) GetUsePassphrase() bool

func (*ApplySettings) ProtoMessage

func (*ApplySettings) ProtoMessage()

func (*ApplySettings) Reset

func (m *ApplySettings) Reset()

func (*ApplySettings) String

func (m *ApplySettings) String() string

func (*ApplySettings) XXX_DiscardUnknown

func (m *ApplySettings) XXX_DiscardUnknown()

func (*ApplySettings) XXX_Marshal

func (m *ApplySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplySettings) XXX_Merge

func (dst *ApplySettings) XXX_Merge(src proto.Message)

func (*ApplySettings) XXX_Size

func (m *ApplySettings) XXX_Size() int

func (*ApplySettings) XXX_Unmarshal

func (m *ApplySettings) XXX_Unmarshal(b []byte) error

type BackupDevice

type BackupDevice struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Perform backup of the device seed if not backed up using ResetDevice @next ButtonRequest

func (*BackupDevice) Descriptor

func (*BackupDevice) Descriptor() ([]byte, []int)

func (*BackupDevice) ProtoMessage

func (*BackupDevice) ProtoMessage()

func (*BackupDevice) Reset

func (m *BackupDevice) Reset()

func (*BackupDevice) String

func (m *BackupDevice) String() string

func (*BackupDevice) XXX_DiscardUnknown

func (m *BackupDevice) XXX_DiscardUnknown()

func (*BackupDevice) XXX_Marshal

func (m *BackupDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BackupDevice) XXX_Merge

func (dst *BackupDevice) XXX_Merge(src proto.Message)

func (*BackupDevice) XXX_Size

func (m *BackupDevice) XXX_Size() int

func (*BackupDevice) XXX_Unmarshal

func (m *BackupDevice) XXX_Unmarshal(b []byte) error

type ButtonAck

type ButtonAck struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Computer agrees to wait for HW button press @prev ButtonRequest

func (*ButtonAck) Descriptor

func (*ButtonAck) Descriptor() ([]byte, []int)

func (*ButtonAck) ProtoMessage

func (*ButtonAck) ProtoMessage()

func (*ButtonAck) Reset

func (m *ButtonAck) Reset()

func (*ButtonAck) String

func (m *ButtonAck) String() string

func (*ButtonAck) XXX_DiscardUnknown

func (m *ButtonAck) XXX_DiscardUnknown()

func (*ButtonAck) XXX_Marshal

func (m *ButtonAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ButtonAck) XXX_Merge

func (dst *ButtonAck) XXX_Merge(src proto.Message)

func (*ButtonAck) XXX_Size

func (m *ButtonAck) XXX_Size() int

func (*ButtonAck) XXX_Unmarshal

func (m *ButtonAck) XXX_Unmarshal(b []byte) error

type ButtonRequest

type ButtonRequest struct {
	Code                 *types.ButtonRequestType `protobuf:"varint,1,opt,name=code,enum=ButtonRequestType" json:"code,omitempty"`
	Data                 *string                  `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

* Response: Device is waiting for HW button press. @next ButtonAck @next Cancel

func (*ButtonRequest) Descriptor

func (*ButtonRequest) Descriptor() ([]byte, []int)

func (*ButtonRequest) GetCode

func (m *ButtonRequest) GetCode() types.ButtonRequestType

func (*ButtonRequest) GetData

func (m *ButtonRequest) GetData() string

func (*ButtonRequest) ProtoMessage

func (*ButtonRequest) ProtoMessage()

func (*ButtonRequest) Reset

func (m *ButtonRequest) Reset()

func (*ButtonRequest) String

func (m *ButtonRequest) String() string

func (*ButtonRequest) XXX_DiscardUnknown

func (m *ButtonRequest) XXX_DiscardUnknown()

func (*ButtonRequest) XXX_Marshal

func (m *ButtonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ButtonRequest) XXX_Merge

func (dst *ButtonRequest) XXX_Merge(src proto.Message)

func (*ButtonRequest) XXX_Size

func (m *ButtonRequest) XXX_Size() int

func (*ButtonRequest) XXX_Unmarshal

func (m *ButtonRequest) XXX_Unmarshal(b []byte) error

type Cancel

type Cancel struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Abort last operation that required user interaction @prev ButtonRequest @prev PinMatrixRequest @prev PassphraseRequest

func (*Cancel) Descriptor

func (*Cancel) Descriptor() ([]byte, []int)

func (*Cancel) ProtoMessage

func (*Cancel) ProtoMessage()

func (*Cancel) Reset

func (m *Cancel) Reset()

func (*Cancel) String

func (m *Cancel) String() string

func (*Cancel) XXX_DiscardUnknown

func (m *Cancel) XXX_DiscardUnknown()

func (*Cancel) XXX_Marshal

func (m *Cancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cancel) XXX_Merge

func (dst *Cancel) XXX_Merge(src proto.Message)

func (*Cancel) XXX_Size

func (m *Cancel) XXX_Size() int

func (*Cancel) XXX_Unmarshal

func (m *Cancel) XXX_Unmarshal(b []byte) error

type ChangePin

type ChangePin struct {
	Remove               *bool    `protobuf:"varint,1,opt,name=remove" json:"remove,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Starts workflow for setting/changing/removing the PIN @next ButtonRequest @next PinMatrixRequest

func (*ChangePin) Descriptor

func (*ChangePin) Descriptor() ([]byte, []int)

func (*ChangePin) GetRemove

func (m *ChangePin) GetRemove() bool

func (*ChangePin) ProtoMessage

func (*ChangePin) ProtoMessage()

func (*ChangePin) Reset

func (m *ChangePin) Reset()

func (*ChangePin) String

func (m *ChangePin) String() string

func (*ChangePin) XXX_DiscardUnknown

func (m *ChangePin) XXX_DiscardUnknown()

func (*ChangePin) XXX_Marshal

func (m *ChangePin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangePin) XXX_Merge

func (dst *ChangePin) XXX_Merge(src proto.Message)

func (*ChangePin) XXX_Size

func (m *ChangePin) XXX_Size() int

func (*ChangePin) XXX_Unmarshal

func (m *ChangePin) XXX_Unmarshal(b []byte) error

type CipherKeyValue

type CipherKeyValue struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Key                  *string  `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
	Value                []byte   `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	Encrypt              *bool    `protobuf:"varint,4,opt,name=encrypt" json:"encrypt,omitempty"`
	AskOnEncrypt         *bool    `protobuf:"varint,5,opt,name=ask_on_encrypt,json=askOnEncrypt" json:"ask_on_encrypt,omitempty"`
	AskOnDecrypt         *bool    `protobuf:"varint,6,opt,name=ask_on_decrypt,json=askOnDecrypt" json:"ask_on_decrypt,omitempty"`
	Iv                   []byte   `protobuf:"bytes,7,opt,name=iv" json:"iv,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to encrypt or decrypt value of given key @next CipheredKeyValue @next Failure

func (*CipherKeyValue) Descriptor

func (*CipherKeyValue) Descriptor() ([]byte, []int)

func (*CipherKeyValue) GetAddressN

func (m *CipherKeyValue) GetAddressN() []uint32

func (*CipherKeyValue) GetAskOnDecrypt

func (m *CipherKeyValue) GetAskOnDecrypt() bool

func (*CipherKeyValue) GetAskOnEncrypt

func (m *CipherKeyValue) GetAskOnEncrypt() bool

func (*CipherKeyValue) GetEncrypt

func (m *CipherKeyValue) GetEncrypt() bool

func (*CipherKeyValue) GetIv

func (m *CipherKeyValue) GetIv() []byte

func (*CipherKeyValue) GetKey

func (m *CipherKeyValue) GetKey() string

func (*CipherKeyValue) GetValue

func (m *CipherKeyValue) GetValue() []byte

func (*CipherKeyValue) ProtoMessage

func (*CipherKeyValue) ProtoMessage()

func (*CipherKeyValue) Reset

func (m *CipherKeyValue) Reset()

func (*CipherKeyValue) String

func (m *CipherKeyValue) String() string

func (*CipherKeyValue) XXX_DiscardUnknown

func (m *CipherKeyValue) XXX_DiscardUnknown()

func (*CipherKeyValue) XXX_Marshal

func (m *CipherKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CipherKeyValue) XXX_Merge

func (dst *CipherKeyValue) XXX_Merge(src proto.Message)

func (*CipherKeyValue) XXX_Size

func (m *CipherKeyValue) XXX_Size() int

func (*CipherKeyValue) XXX_Unmarshal

func (m *CipherKeyValue) XXX_Unmarshal(b []byte) error

type CipheredKeyValue

type CipheredKeyValue struct {
	Value                []byte   `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Return ciphered/deciphered value @prev CipherKeyValue

func (*CipheredKeyValue) Descriptor

func (*CipheredKeyValue) Descriptor() ([]byte, []int)

func (*CipheredKeyValue) GetValue

func (m *CipheredKeyValue) GetValue() []byte

func (*CipheredKeyValue) ProtoMessage

func (*CipheredKeyValue) ProtoMessage()

func (*CipheredKeyValue) Reset

func (m *CipheredKeyValue) Reset()

func (*CipheredKeyValue) String

func (m *CipheredKeyValue) String() string

func (*CipheredKeyValue) XXX_DiscardUnknown

func (m *CipheredKeyValue) XXX_DiscardUnknown()

func (*CipheredKeyValue) XXX_Marshal

func (m *CipheredKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CipheredKeyValue) XXX_Merge

func (dst *CipheredKeyValue) XXX_Merge(src proto.Message)

func (*CipheredKeyValue) XXX_Size

func (m *CipheredKeyValue) XXX_Size() int

func (*CipheredKeyValue) XXX_Unmarshal

func (m *CipheredKeyValue) XXX_Unmarshal(b []byte) error

type ClearSession

type ClearSession struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: clear session (removes cached PIN, passphrase, etc). @next Success

func (*ClearSession) Descriptor

func (*ClearSession) Descriptor() ([]byte, []int)

func (*ClearSession) ProtoMessage

func (*ClearSession) ProtoMessage()

func (*ClearSession) Reset

func (m *ClearSession) Reset()

func (*ClearSession) String

func (m *ClearSession) String() string

func (*ClearSession) XXX_DiscardUnknown

func (m *ClearSession) XXX_DiscardUnknown()

func (*ClearSession) XXX_Marshal

func (m *ClearSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClearSession) XXX_Merge

func (dst *ClearSession) XXX_Merge(src proto.Message)

func (*ClearSession) XXX_Size

func (m *ClearSession) XXX_Size() int

func (*ClearSession) XXX_Unmarshal

func (m *ClearSession) XXX_Unmarshal(b []byte) error

type CosiCommit

type CosiCommit struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to commit to CoSi signing @next CosiCommitment @next Failure

func (*CosiCommit) Descriptor

func (*CosiCommit) Descriptor() ([]byte, []int)

func (*CosiCommit) GetAddressN

func (m *CosiCommit) GetAddressN() []uint32

func (*CosiCommit) GetData

func (m *CosiCommit) GetData() []byte

func (*CosiCommit) ProtoMessage

func (*CosiCommit) ProtoMessage()

func (*CosiCommit) Reset

func (m *CosiCommit) Reset()

func (*CosiCommit) String

func (m *CosiCommit) String() string

func (*CosiCommit) XXX_DiscardUnknown

func (m *CosiCommit) XXX_DiscardUnknown()

func (*CosiCommit) XXX_Marshal

func (m *CosiCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CosiCommit) XXX_Merge

func (dst *CosiCommit) XXX_Merge(src proto.Message)

func (*CosiCommit) XXX_Size

func (m *CosiCommit) XXX_Size() int

func (*CosiCommit) XXX_Unmarshal

func (m *CosiCommit) XXX_Unmarshal(b []byte) error

type CosiCommitment

type CosiCommitment struct {
	Commitment           []byte   `protobuf:"bytes,1,opt,name=commitment" json:"commitment,omitempty"`
	Pubkey               []byte   `protobuf:"bytes,2,opt,name=pubkey" json:"pubkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Contains a CoSi commitment @prev CosiCommit

func (*CosiCommitment) Descriptor

func (*CosiCommitment) Descriptor() ([]byte, []int)

func (*CosiCommitment) GetCommitment

func (m *CosiCommitment) GetCommitment() []byte

func (*CosiCommitment) GetPubkey

func (m *CosiCommitment) GetPubkey() []byte

func (*CosiCommitment) ProtoMessage

func (*CosiCommitment) ProtoMessage()

func (*CosiCommitment) Reset

func (m *CosiCommitment) Reset()

func (*CosiCommitment) String

func (m *CosiCommitment) String() string

func (*CosiCommitment) XXX_DiscardUnknown

func (m *CosiCommitment) XXX_DiscardUnknown()

func (*CosiCommitment) XXX_Marshal

func (m *CosiCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CosiCommitment) XXX_Merge

func (dst *CosiCommitment) XXX_Merge(src proto.Message)

func (*CosiCommitment) XXX_Size

func (m *CosiCommitment) XXX_Size() int

func (*CosiCommitment) XXX_Unmarshal

func (m *CosiCommitment) XXX_Unmarshal(b []byte) error

type CosiSign

type CosiSign struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
	GlobalCommitment     []byte   `protobuf:"bytes,3,opt,name=global_commitment,json=globalCommitment" json:"global_commitment,omitempty"`
	GlobalPubkey         []byte   `protobuf:"bytes,4,opt,name=global_pubkey,json=globalPubkey" json:"global_pubkey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to sign using CoSi @next CosiSignature @next Failure

func (*CosiSign) Descriptor

func (*CosiSign) Descriptor() ([]byte, []int)

func (*CosiSign) GetAddressN

func (m *CosiSign) GetAddressN() []uint32

func (*CosiSign) GetData

func (m *CosiSign) GetData() []byte

func (*CosiSign) GetGlobalCommitment

func (m *CosiSign) GetGlobalCommitment() []byte

func (*CosiSign) GetGlobalPubkey

func (m *CosiSign) GetGlobalPubkey() []byte

func (*CosiSign) ProtoMessage

func (*CosiSign) ProtoMessage()

func (*CosiSign) Reset

func (m *CosiSign) Reset()

func (*CosiSign) String

func (m *CosiSign) String() string

func (*CosiSign) XXX_DiscardUnknown

func (m *CosiSign) XXX_DiscardUnknown()

func (*CosiSign) XXX_Marshal

func (m *CosiSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CosiSign) XXX_Merge

func (dst *CosiSign) XXX_Merge(src proto.Message)

func (*CosiSign) XXX_Size

func (m *CosiSign) XXX_Size() int

func (*CosiSign) XXX_Unmarshal

func (m *CosiSign) XXX_Unmarshal(b []byte) error

type CosiSignature

type CosiSignature struct {
	Signature            []byte   `protobuf:"bytes,1,opt,name=signature" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Contains a CoSi signature @prev CosiSign

func (*CosiSignature) Descriptor

func (*CosiSignature) Descriptor() ([]byte, []int)

func (*CosiSignature) GetSignature

func (m *CosiSignature) GetSignature() []byte

func (*CosiSignature) ProtoMessage

func (*CosiSignature) ProtoMessage()

func (*CosiSignature) Reset

func (m *CosiSignature) Reset()

func (*CosiSignature) String

func (m *CosiSignature) String() string

func (*CosiSignature) XXX_DiscardUnknown

func (m *CosiSignature) XXX_DiscardUnknown()

func (*CosiSignature) XXX_Marshal

func (m *CosiSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CosiSignature) XXX_Merge

func (dst *CosiSignature) XXX_Merge(src proto.Message)

func (*CosiSignature) XXX_Size

func (m *CosiSignature) XXX_Size() int

func (*CosiSignature) XXX_Unmarshal

func (m *CosiSignature) XXX_Unmarshal(b []byte) error

type DebugLinkDecision

type DebugLinkDecision struct {
	YesNo                *bool    `protobuf:"varint,1,req,name=yes_no,json=yesNo" json:"yes_no,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: "Press" the button on the device @next Success

func (*DebugLinkDecision) Descriptor

func (*DebugLinkDecision) Descriptor() ([]byte, []int)

func (*DebugLinkDecision) GetYesNo

func (m *DebugLinkDecision) GetYesNo() bool

func (*DebugLinkDecision) ProtoMessage

func (*DebugLinkDecision) ProtoMessage()

func (*DebugLinkDecision) Reset

func (m *DebugLinkDecision) Reset()

func (*DebugLinkDecision) String

func (m *DebugLinkDecision) String() string

func (*DebugLinkDecision) XXX_DiscardUnknown

func (m *DebugLinkDecision) XXX_DiscardUnknown()

func (*DebugLinkDecision) XXX_Marshal

func (m *DebugLinkDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLinkDecision) XXX_Merge

func (dst *DebugLinkDecision) XXX_Merge(src proto.Message)

func (*DebugLinkDecision) XXX_Size

func (m *DebugLinkDecision) XXX_Size() int

func (*DebugLinkDecision) XXX_Unmarshal

func (m *DebugLinkDecision) XXX_Unmarshal(b []byte) error

type DebugLinkFlashErase

type DebugLinkFlashErase struct {
	Sector               *uint32  `protobuf:"varint,1,opt,name=sector" json:"sector,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Erase block of flash on device WARNING: Writing to the wrong location can irreparably break the device.

func (*DebugLinkFlashErase) Descriptor

func (*DebugLinkFlashErase) Descriptor() ([]byte, []int)

func (*DebugLinkFlashErase) GetSector

func (m *DebugLinkFlashErase) GetSector() uint32

func (*DebugLinkFlashErase) ProtoMessage

func (*DebugLinkFlashErase) ProtoMessage()

func (*DebugLinkFlashErase) Reset

func (m *DebugLinkFlashErase) Reset()

func (*DebugLinkFlashErase) String

func (m *DebugLinkFlashErase) String() string

func (*DebugLinkFlashErase) XXX_DiscardUnknown

func (m *DebugLinkFlashErase) XXX_DiscardUnknown()

func (*DebugLinkFlashErase) XXX_Marshal

func (m *DebugLinkFlashErase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLinkFlashErase) XXX_Merge

func (dst *DebugLinkFlashErase) XXX_Merge(src proto.Message)

func (*DebugLinkFlashErase) XXX_Size

func (m *DebugLinkFlashErase) XXX_Size() int

func (*DebugLinkFlashErase) XXX_Unmarshal

func (m *DebugLinkFlashErase) XXX_Unmarshal(b []byte) error

type DebugLinkGetState

type DebugLinkGetState struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Computer asks for device state @next DebugLinkState

func (*DebugLinkGetState) Descriptor

func (*DebugLinkGetState) Descriptor() ([]byte, []int)

func (*DebugLinkGetState) ProtoMessage

func (*DebugLinkGetState) ProtoMessage()

func (*DebugLinkGetState) Reset

func (m *DebugLinkGetState) Reset()

func (*DebugLinkGetState) String

func (m *DebugLinkGetState) String() string

func (*DebugLinkGetState) XXX_DiscardUnknown

func (m *DebugLinkGetState) XXX_DiscardUnknown()

func (*DebugLinkGetState) XXX_Marshal

func (m *DebugLinkGetState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLinkGetState) XXX_Merge

func (dst *DebugLinkGetState) XXX_Merge(src proto.Message)

func (*DebugLinkGetState) XXX_Size

func (m *DebugLinkGetState) XXX_Size() int

func (*DebugLinkGetState) XXX_Unmarshal

func (m *DebugLinkGetState) XXX_Unmarshal(b []byte) error

type DebugLinkLog

type DebugLinkLog struct {
	Level                *uint32  `protobuf:"varint,1,opt,name=level" json:"level,omitempty"`
	Bucket               *string  `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"`
	Text                 *string  `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Device wants host to log event

func (*DebugLinkLog) Descriptor

func (*DebugLinkLog) Descriptor() ([]byte, []int)

func (*DebugLinkLog) GetBucket

func (m *DebugLinkLog) GetBucket() string

func (*DebugLinkLog) GetLevel

func (m *DebugLinkLog) GetLevel() uint32

func (*DebugLinkLog) GetText

func (m *DebugLinkLog) GetText() string

func (*DebugLinkLog) ProtoMessage

func (*DebugLinkLog) ProtoMessage()

func (*DebugLinkLog) Reset

func (m *DebugLinkLog) Reset()

func (*DebugLinkLog) String

func (m *DebugLinkLog) String() string

func (*DebugLinkLog) XXX_DiscardUnknown

func (m *DebugLinkLog) XXX_DiscardUnknown()

func (*DebugLinkLog) XXX_Marshal

func (m *DebugLinkLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLinkLog) XXX_Merge

func (dst *DebugLinkLog) XXX_Merge(src proto.Message)

func (*DebugLinkLog) XXX_Size

func (m *DebugLinkLog) XXX_Size() int

func (*DebugLinkLog) XXX_Unmarshal

func (m *DebugLinkLog) XXX_Unmarshal(b []byte) error

type DebugLinkMemory

type DebugLinkMemory struct {
	Memory               []byte   `protobuf:"bytes,1,opt,name=memory" json:"memory,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Device sends memory back @prev DebugLinkMemoryRead

func (*DebugLinkMemory) Descriptor

func (*DebugLinkMemory) Descriptor() ([]byte, []int)

func (*DebugLinkMemory) GetMemory

func (m *DebugLinkMemory) GetMemory() []byte

func (*DebugLinkMemory) ProtoMessage

func (*DebugLinkMemory) ProtoMessage()

func (*DebugLinkMemory) Reset

func (m *DebugLinkMemory) Reset()

func (*DebugLinkMemory) String

func (m *DebugLinkMemory) String() string

func (*DebugLinkMemory) XXX_DiscardUnknown

func (m *DebugLinkMemory) XXX_DiscardUnknown()

func (*DebugLinkMemory) XXX_Marshal

func (m *DebugLinkMemory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLinkMemory) XXX_Merge

func (dst *DebugLinkMemory) XXX_Merge(src proto.Message)

func (*DebugLinkMemory) XXX_Size

func (m *DebugLinkMemory) XXX_Size() int

func (*DebugLinkMemory) XXX_Unmarshal

func (m *DebugLinkMemory) XXX_Unmarshal(b []byte) error

type DebugLinkMemoryRead

type DebugLinkMemoryRead struct {
	Address              *uint32  `protobuf:"varint,1,opt,name=address" json:"address,omitempty"`
	Length               *uint32  `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Read memory from device @next DebugLinkMemory

func (*DebugLinkMemoryRead) Descriptor

func (*DebugLinkMemoryRead) Descriptor() ([]byte, []int)

func (*DebugLinkMemoryRead) GetAddress

func (m *DebugLinkMemoryRead) GetAddress() uint32

func (*DebugLinkMemoryRead) GetLength

func (m *DebugLinkMemoryRead) GetLength() uint32

func (*DebugLinkMemoryRead) ProtoMessage

func (*DebugLinkMemoryRead) ProtoMessage()

func (*DebugLinkMemoryRead) Reset

func (m *DebugLinkMemoryRead) Reset()

func (*DebugLinkMemoryRead) String

func (m *DebugLinkMemoryRead) String() string

func (*DebugLinkMemoryRead) XXX_DiscardUnknown

func (m *DebugLinkMemoryRead) XXX_DiscardUnknown()

func (*DebugLinkMemoryRead) XXX_Marshal

func (m *DebugLinkMemoryRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLinkMemoryRead) XXX_Merge

func (dst *DebugLinkMemoryRead) XXX_Merge(src proto.Message)

func (*DebugLinkMemoryRead) XXX_Size

func (m *DebugLinkMemoryRead) XXX_Size() int

func (*DebugLinkMemoryRead) XXX_Unmarshal

func (m *DebugLinkMemoryRead) XXX_Unmarshal(b []byte) error

type DebugLinkMemoryWrite

type DebugLinkMemoryWrite struct {
	Address              *uint32  `protobuf:"varint,1,opt,name=address" json:"address,omitempty"`
	Memory               []byte   `protobuf:"bytes,2,opt,name=memory" json:"memory,omitempty"`
	Flash                *bool    `protobuf:"varint,3,opt,name=flash" json:"flash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Write memory to device. WARNING: Writing to the wrong location can irreparably break the device.

func (*DebugLinkMemoryWrite) Descriptor

func (*DebugLinkMemoryWrite) Descriptor() ([]byte, []int)

func (*DebugLinkMemoryWrite) GetAddress

func (m *DebugLinkMemoryWrite) GetAddress() uint32

func (*DebugLinkMemoryWrite) GetFlash

func (m *DebugLinkMemoryWrite) GetFlash() bool

func (*DebugLinkMemoryWrite) GetMemory

func (m *DebugLinkMemoryWrite) GetMemory() []byte

func (*DebugLinkMemoryWrite) ProtoMessage

func (*DebugLinkMemoryWrite) ProtoMessage()

func (*DebugLinkMemoryWrite) Reset

func (m *DebugLinkMemoryWrite) Reset()

func (*DebugLinkMemoryWrite) String

func (m *DebugLinkMemoryWrite) String() string

func (*DebugLinkMemoryWrite) XXX_DiscardUnknown

func (m *DebugLinkMemoryWrite) XXX_DiscardUnknown()

func (*DebugLinkMemoryWrite) XXX_Marshal

func (m *DebugLinkMemoryWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLinkMemoryWrite) XXX_Merge

func (dst *DebugLinkMemoryWrite) XXX_Merge(src proto.Message)

func (*DebugLinkMemoryWrite) XXX_Size

func (m *DebugLinkMemoryWrite) XXX_Size() int

func (*DebugLinkMemoryWrite) XXX_Unmarshal

func (m *DebugLinkMemoryWrite) XXX_Unmarshal(b []byte) error

type DebugLinkState

type DebugLinkState struct {
	Layout               []byte            `protobuf:"bytes,1,opt,name=layout" json:"layout,omitempty"`
	Pin                  *string           `protobuf:"bytes,2,opt,name=pin" json:"pin,omitempty"`
	Matrix               *string           `protobuf:"bytes,3,opt,name=matrix" json:"matrix,omitempty"`
	Mnemonic             *string           `protobuf:"bytes,4,opt,name=mnemonic" json:"mnemonic,omitempty"`
	Node                 *types.HDNodeType `protobuf:"bytes,5,opt,name=node" json:"node,omitempty"`
	PassphraseProtection *bool             `protobuf:"varint,6,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
	ResetWord            *string           `protobuf:"bytes,7,opt,name=reset_word,json=resetWord" json:"reset_word,omitempty"`
	ResetEntropy         []byte            `protobuf:"bytes,8,opt,name=reset_entropy,json=resetEntropy" json:"reset_entropy,omitempty"`
	RecoveryFakeWord     *string           `protobuf:"bytes,9,opt,name=recovery_fake_word,json=recoveryFakeWord" json:"recovery_fake_word,omitempty"`
	RecoveryWordPos      *uint32           `protobuf:"varint,10,opt,name=recovery_word_pos,json=recoveryWordPos" json:"recovery_word_pos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

* Response: Device current state @prev DebugLinkGetState

func (*DebugLinkState) Descriptor

func (*DebugLinkState) Descriptor() ([]byte, []int)

func (*DebugLinkState) GetLayout

func (m *DebugLinkState) GetLayout() []byte

func (*DebugLinkState) GetMatrix

func (m *DebugLinkState) GetMatrix() string

func (*DebugLinkState) GetMnemonic

func (m *DebugLinkState) GetMnemonic() string

func (*DebugLinkState) GetNode

func (m *DebugLinkState) GetNode() *types.HDNodeType

func (*DebugLinkState) GetPassphraseProtection

func (m *DebugLinkState) GetPassphraseProtection() bool

func (*DebugLinkState) GetPin

func (m *DebugLinkState) GetPin() string

func (*DebugLinkState) GetRecoveryFakeWord

func (m *DebugLinkState) GetRecoveryFakeWord() string

func (*DebugLinkState) GetRecoveryWordPos

func (m *DebugLinkState) GetRecoveryWordPos() uint32

func (*DebugLinkState) GetResetEntropy

func (m *DebugLinkState) GetResetEntropy() []byte

func (*DebugLinkState) GetResetWord

func (m *DebugLinkState) GetResetWord() string

func (*DebugLinkState) ProtoMessage

func (*DebugLinkState) ProtoMessage()

func (*DebugLinkState) Reset

func (m *DebugLinkState) Reset()

func (*DebugLinkState) String

func (m *DebugLinkState) String() string

func (*DebugLinkState) XXX_DiscardUnknown

func (m *DebugLinkState) XXX_DiscardUnknown()

func (*DebugLinkState) XXX_Marshal

func (m *DebugLinkState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLinkState) XXX_Merge

func (dst *DebugLinkState) XXX_Merge(src proto.Message)

func (*DebugLinkState) XXX_Size

func (m *DebugLinkState) XXX_Size() int

func (*DebugLinkState) XXX_Unmarshal

func (m *DebugLinkState) XXX_Unmarshal(b []byte) error

type DebugLinkStop

type DebugLinkStop struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to restart

func (*DebugLinkStop) Descriptor

func (*DebugLinkStop) Descriptor() ([]byte, []int)

func (*DebugLinkStop) ProtoMessage

func (*DebugLinkStop) ProtoMessage()

func (*DebugLinkStop) Reset

func (m *DebugLinkStop) Reset()

func (*DebugLinkStop) String

func (m *DebugLinkStop) String() string

func (*DebugLinkStop) XXX_DiscardUnknown

func (m *DebugLinkStop) XXX_DiscardUnknown()

func (*DebugLinkStop) XXX_Marshal

func (m *DebugLinkStop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DebugLinkStop) XXX_Merge

func (dst *DebugLinkStop) XXX_Merge(src proto.Message)

func (*DebugLinkStop) XXX_Size

func (m *DebugLinkStop) XXX_Size() int

func (*DebugLinkStop) XXX_Unmarshal

func (m *DebugLinkStop) XXX_Unmarshal(b []byte) error

type DecryptMessage

type DecryptMessage struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Nonce                []byte   `protobuf:"bytes,2,opt,name=nonce" json:"nonce,omitempty"`
	Message              []byte   `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	Hmac                 []byte   `protobuf:"bytes,4,opt,name=hmac" json:"hmac,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to decrypt message @next Success @next Failure

func (*DecryptMessage) Descriptor

func (*DecryptMessage) Descriptor() ([]byte, []int)

func (*DecryptMessage) GetAddressN

func (m *DecryptMessage) GetAddressN() []uint32

func (*DecryptMessage) GetHmac

func (m *DecryptMessage) GetHmac() []byte

func (*DecryptMessage) GetMessage

func (m *DecryptMessage) GetMessage() []byte

func (*DecryptMessage) GetNonce

func (m *DecryptMessage) GetNonce() []byte

func (*DecryptMessage) ProtoMessage

func (*DecryptMessage) ProtoMessage()

func (*DecryptMessage) Reset

func (m *DecryptMessage) Reset()

func (*DecryptMessage) String

func (m *DecryptMessage) String() string

func (*DecryptMessage) XXX_DiscardUnknown

func (m *DecryptMessage) XXX_DiscardUnknown()

func (*DecryptMessage) XXX_Marshal

func (m *DecryptMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecryptMessage) XXX_Merge

func (dst *DecryptMessage) XXX_Merge(src proto.Message)

func (*DecryptMessage) XXX_Size

func (m *DecryptMessage) XXX_Size() int

func (*DecryptMessage) XXX_Unmarshal

func (m *DecryptMessage) XXX_Unmarshal(b []byte) error

type DecryptedMessage

type DecryptedMessage struct {
	Message              []byte   `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
	Address              *string  `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Decrypted message @prev DecryptedMessage

func (*DecryptedMessage) Descriptor

func (*DecryptedMessage) Descriptor() ([]byte, []int)

func (*DecryptedMessage) GetAddress

func (m *DecryptedMessage) GetAddress() string

func (*DecryptedMessage) GetMessage

func (m *DecryptedMessage) GetMessage() []byte

func (*DecryptedMessage) ProtoMessage

func (*DecryptedMessage) ProtoMessage()

func (*DecryptedMessage) Reset

func (m *DecryptedMessage) Reset()

func (*DecryptedMessage) String

func (m *DecryptedMessage) String() string

func (*DecryptedMessage) XXX_DiscardUnknown

func (m *DecryptedMessage) XXX_DiscardUnknown()

func (*DecryptedMessage) XXX_Marshal

func (m *DecryptedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecryptedMessage) XXX_Merge

func (dst *DecryptedMessage) XXX_Merge(src proto.Message)

func (*DecryptedMessage) XXX_Size

func (m *DecryptedMessage) XXX_Size() int

func (*DecryptedMessage) XXX_Unmarshal

func (m *DecryptedMessage) XXX_Unmarshal(b []byte) error

type ECDHSessionKey

type ECDHSessionKey struct {
	SessionKey           []byte   `protobuf:"bytes,1,opt,name=session_key,json=sessionKey" json:"session_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Device provides ECDH session key @prev GetECDHSessionKey

func (*ECDHSessionKey) Descriptor

func (*ECDHSessionKey) Descriptor() ([]byte, []int)

func (*ECDHSessionKey) GetSessionKey

func (m *ECDHSessionKey) GetSessionKey() []byte

func (*ECDHSessionKey) ProtoMessage

func (*ECDHSessionKey) ProtoMessage()

func (*ECDHSessionKey) Reset

func (m *ECDHSessionKey) Reset()

func (*ECDHSessionKey) String

func (m *ECDHSessionKey) String() string

func (*ECDHSessionKey) XXX_DiscardUnknown

func (m *ECDHSessionKey) XXX_DiscardUnknown()

func (*ECDHSessionKey) XXX_Marshal

func (m *ECDHSessionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ECDHSessionKey) XXX_Merge

func (dst *ECDHSessionKey) XXX_Merge(src proto.Message)

func (*ECDHSessionKey) XXX_Size

func (m *ECDHSessionKey) XXX_Size() int

func (*ECDHSessionKey) XXX_Unmarshal

func (m *ECDHSessionKey) XXX_Unmarshal(b []byte) error

type EncryptMessage

type EncryptMessage struct {
	Pubkey               []byte   `protobuf:"bytes,1,opt,name=pubkey" json:"pubkey,omitempty"`
	Message              []byte   `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	DisplayOnly          *bool    `protobuf:"varint,3,opt,name=display_only,json=displayOnly" json:"display_only,omitempty"`
	AddressN             []uint32 `protobuf:"varint,4,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	CoinName             *string  `protobuf:"bytes,5,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to encrypt message @next EncryptedMessage @next Failure

func (*EncryptMessage) Descriptor

func (*EncryptMessage) Descriptor() ([]byte, []int)

func (*EncryptMessage) GetAddressN

func (m *EncryptMessage) GetAddressN() []uint32

func (*EncryptMessage) GetCoinName

func (m *EncryptMessage) GetCoinName() string

func (*EncryptMessage) GetDisplayOnly

func (m *EncryptMessage) GetDisplayOnly() bool

func (*EncryptMessage) GetMessage

func (m *EncryptMessage) GetMessage() []byte

func (*EncryptMessage) GetPubkey

func (m *EncryptMessage) GetPubkey() []byte

func (*EncryptMessage) ProtoMessage

func (*EncryptMessage) ProtoMessage()

func (*EncryptMessage) Reset

func (m *EncryptMessage) Reset()

func (*EncryptMessage) String

func (m *EncryptMessage) String() string

func (*EncryptMessage) XXX_DiscardUnknown

func (m *EncryptMessage) XXX_DiscardUnknown()

func (*EncryptMessage) XXX_Marshal

func (m *EncryptMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncryptMessage) XXX_Merge

func (dst *EncryptMessage) XXX_Merge(src proto.Message)

func (*EncryptMessage) XXX_Size

func (m *EncryptMessage) XXX_Size() int

func (*EncryptMessage) XXX_Unmarshal

func (m *EncryptMessage) XXX_Unmarshal(b []byte) error

type EncryptedMessage

type EncryptedMessage struct {
	Nonce                []byte   `protobuf:"bytes,1,opt,name=nonce" json:"nonce,omitempty"`
	Message              []byte   `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	Hmac                 []byte   `protobuf:"bytes,3,opt,name=hmac" json:"hmac,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Encrypted message @prev EncryptMessage

func (*EncryptedMessage) Descriptor

func (*EncryptedMessage) Descriptor() ([]byte, []int)

func (*EncryptedMessage) GetHmac

func (m *EncryptedMessage) GetHmac() []byte

func (*EncryptedMessage) GetMessage

func (m *EncryptedMessage) GetMessage() []byte

func (*EncryptedMessage) GetNonce

func (m *EncryptedMessage) GetNonce() []byte

func (*EncryptedMessage) ProtoMessage

func (*EncryptedMessage) ProtoMessage()

func (*EncryptedMessage) Reset

func (m *EncryptedMessage) Reset()

func (*EncryptedMessage) String

func (m *EncryptedMessage) String() string

func (*EncryptedMessage) XXX_DiscardUnknown

func (m *EncryptedMessage) XXX_DiscardUnknown()

func (*EncryptedMessage) XXX_Marshal

func (m *EncryptedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncryptedMessage) XXX_Merge

func (dst *EncryptedMessage) XXX_Merge(src proto.Message)

func (*EncryptedMessage) XXX_Size

func (m *EncryptedMessage) XXX_Size() int

func (*EncryptedMessage) XXX_Unmarshal

func (m *EncryptedMessage) XXX_Unmarshal(b []byte) error

type Entropy

type Entropy struct {
	Entropy              []byte   `protobuf:"bytes,1,req,name=entropy" json:"entropy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Reply with random data generated by internal RNG @prev GetEntropy

func (*Entropy) Descriptor

func (*Entropy) Descriptor() ([]byte, []int)

func (*Entropy) GetEntropy

func (m *Entropy) GetEntropy() []byte

func (*Entropy) ProtoMessage

func (*Entropy) ProtoMessage()

func (*Entropy) Reset

func (m *Entropy) Reset()

func (*Entropy) String

func (m *Entropy) String() string

func (*Entropy) XXX_DiscardUnknown

func (m *Entropy) XXX_DiscardUnknown()

func (*Entropy) XXX_Marshal

func (m *Entropy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entropy) XXX_Merge

func (dst *Entropy) XXX_Merge(src proto.Message)

func (*Entropy) XXX_Size

func (m *Entropy) XXX_Size() int

func (*Entropy) XXX_Unmarshal

func (m *Entropy) XXX_Unmarshal(b []byte) error

type EntropyAck

type EntropyAck struct {
	Entropy              []byte   `protobuf:"bytes,1,opt,name=entropy" json:"entropy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Provide additional entropy for seed generation function @prev EntropyRequest @next ButtonRequest

func (*EntropyAck) Descriptor

func (*EntropyAck) Descriptor() ([]byte, []int)

func (*EntropyAck) GetEntropy

func (m *EntropyAck) GetEntropy() []byte

func (*EntropyAck) ProtoMessage

func (*EntropyAck) ProtoMessage()

func (*EntropyAck) Reset

func (m *EntropyAck) Reset()

func (*EntropyAck) String

func (m *EntropyAck) String() string

func (*EntropyAck) XXX_DiscardUnknown

func (m *EntropyAck) XXX_DiscardUnknown()

func (*EntropyAck) XXX_Marshal

func (m *EntropyAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntropyAck) XXX_Merge

func (dst *EntropyAck) XXX_Merge(src proto.Message)

func (*EntropyAck) XXX_Size

func (m *EntropyAck) XXX_Size() int

func (*EntropyAck) XXX_Unmarshal

func (m *EntropyAck) XXX_Unmarshal(b []byte) error

type EntropyRequest

type EntropyRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Ask for additional entropy from host computer @prev ResetDevice @next EntropyAck

func (*EntropyRequest) Descriptor

func (*EntropyRequest) Descriptor() ([]byte, []int)

func (*EntropyRequest) ProtoMessage

func (*EntropyRequest) ProtoMessage()

func (*EntropyRequest) Reset

func (m *EntropyRequest) Reset()

func (*EntropyRequest) String

func (m *EntropyRequest) String() string

func (*EntropyRequest) XXX_DiscardUnknown

func (m *EntropyRequest) XXX_DiscardUnknown()

func (*EntropyRequest) XXX_Marshal

func (m *EntropyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntropyRequest) XXX_Merge

func (dst *EntropyRequest) XXX_Merge(src proto.Message)

func (*EntropyRequest) XXX_Size

func (m *EntropyRequest) XXX_Size() int

func (*EntropyRequest) XXX_Unmarshal

func (m *EntropyRequest) XXX_Unmarshal(b []byte) error

type EstimateTxSize

type EstimateTxSize struct {
	OutputsCount         *uint32  `protobuf:"varint,1,req,name=outputs_count,json=outputsCount" json:"outputs_count,omitempty"`
	InputsCount          *uint32  `protobuf:"varint,2,req,name=inputs_count,json=inputsCount" json:"inputs_count,omitempty"`
	CoinName             *string  `protobuf:"bytes,3,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Estimated size of the transaction This behaves exactly like SignTx, which means that it can ask using TxRequest This call is non-blocking (except possible PassphraseRequest to unlock the seed) @next TxSize @next Failure

func (*EstimateTxSize) Descriptor

func (*EstimateTxSize) Descriptor() ([]byte, []int)

func (*EstimateTxSize) GetCoinName

func (m *EstimateTxSize) GetCoinName() string

func (*EstimateTxSize) GetInputsCount

func (m *EstimateTxSize) GetInputsCount() uint32

func (*EstimateTxSize) GetOutputsCount

func (m *EstimateTxSize) GetOutputsCount() uint32

func (*EstimateTxSize) ProtoMessage

func (*EstimateTxSize) ProtoMessage()

func (*EstimateTxSize) Reset

func (m *EstimateTxSize) Reset()

func (*EstimateTxSize) String

func (m *EstimateTxSize) String() string

func (*EstimateTxSize) XXX_DiscardUnknown

func (m *EstimateTxSize) XXX_DiscardUnknown()

func (*EstimateTxSize) XXX_Marshal

func (m *EstimateTxSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EstimateTxSize) XXX_Merge

func (dst *EstimateTxSize) XXX_Merge(src proto.Message)

func (*EstimateTxSize) XXX_Size

func (m *EstimateTxSize) XXX_Size() int

func (*EstimateTxSize) XXX_Unmarshal

func (m *EstimateTxSize) XXX_Unmarshal(b []byte) error

type EthereumAddress

type EthereumAddress struct {
	Address              []byte   `protobuf:"bytes,1,req,name=address" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Contains an Ethereum address derived from device private seed @prev EthereumGetAddress

func (*EthereumAddress) Descriptor

func (*EthereumAddress) Descriptor() ([]byte, []int)

func (*EthereumAddress) GetAddress

func (m *EthereumAddress) GetAddress() []byte

func (*EthereumAddress) ProtoMessage

func (*EthereumAddress) ProtoMessage()

func (*EthereumAddress) Reset

func (m *EthereumAddress) Reset()

func (*EthereumAddress) String

func (m *EthereumAddress) String() string

func (*EthereumAddress) XXX_DiscardUnknown

func (m *EthereumAddress) XXX_DiscardUnknown()

func (*EthereumAddress) XXX_Marshal

func (m *EthereumAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthereumAddress) XXX_Merge

func (dst *EthereumAddress) XXX_Merge(src proto.Message)

func (*EthereumAddress) XXX_Size

func (m *EthereumAddress) XXX_Size() int

func (*EthereumAddress) XXX_Unmarshal

func (m *EthereumAddress) XXX_Unmarshal(b []byte) error

type EthereumGetAddress

type EthereumGetAddress struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	ShowDisplay          *bool    `protobuf:"varint,2,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device for Ethereum address corresponding to address_n path @next PassphraseRequest @next EthereumAddress @next Failure

func (*EthereumGetAddress) Descriptor

func (*EthereumGetAddress) Descriptor() ([]byte, []int)

func (*EthereumGetAddress) GetAddressN

func (m *EthereumGetAddress) GetAddressN() []uint32

func (*EthereumGetAddress) GetShowDisplay

func (m *EthereumGetAddress) GetShowDisplay() bool

func (*EthereumGetAddress) ProtoMessage

func (*EthereumGetAddress) ProtoMessage()

func (*EthereumGetAddress) Reset

func (m *EthereumGetAddress) Reset()

func (*EthereumGetAddress) String

func (m *EthereumGetAddress) String() string

func (*EthereumGetAddress) XXX_DiscardUnknown

func (m *EthereumGetAddress) XXX_DiscardUnknown()

func (*EthereumGetAddress) XXX_Marshal

func (m *EthereumGetAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthereumGetAddress) XXX_Merge

func (dst *EthereumGetAddress) XXX_Merge(src proto.Message)

func (*EthereumGetAddress) XXX_Size

func (m *EthereumGetAddress) XXX_Size() int

func (*EthereumGetAddress) XXX_Unmarshal

func (m *EthereumGetAddress) XXX_Unmarshal(b []byte) error

type EthereumMessageSignature

type EthereumMessageSignature struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Signed message @prev EthereumSignMessage

func (*EthereumMessageSignature) Descriptor

func (*EthereumMessageSignature) Descriptor() ([]byte, []int)

func (*EthereumMessageSignature) GetAddress

func (m *EthereumMessageSignature) GetAddress() []byte

func (*EthereumMessageSignature) GetSignature

func (m *EthereumMessageSignature) GetSignature() []byte

func (*EthereumMessageSignature) ProtoMessage

func (*EthereumMessageSignature) ProtoMessage()

func (*EthereumMessageSignature) Reset

func (m *EthereumMessageSignature) Reset()

func (*EthereumMessageSignature) String

func (m *EthereumMessageSignature) String() string

func (*EthereumMessageSignature) XXX_DiscardUnknown

func (m *EthereumMessageSignature) XXX_DiscardUnknown()

func (*EthereumMessageSignature) XXX_Marshal

func (m *EthereumMessageSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthereumMessageSignature) XXX_Merge

func (dst *EthereumMessageSignature) XXX_Merge(src proto.Message)

func (*EthereumMessageSignature) XXX_Size

func (m *EthereumMessageSignature) XXX_Size() int

func (*EthereumMessageSignature) XXX_Unmarshal

func (m *EthereumMessageSignature) XXX_Unmarshal(b []byte) error

type EthereumSignMessage

type EthereumSignMessage struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Message              []byte   `protobuf:"bytes,2,req,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to sign message @next EthereumMessageSignature @next Failure

func (*EthereumSignMessage) Descriptor

func (*EthereumSignMessage) Descriptor() ([]byte, []int)

func (*EthereumSignMessage) GetAddressN

func (m *EthereumSignMessage) GetAddressN() []uint32

func (*EthereumSignMessage) GetMessage

func (m *EthereumSignMessage) GetMessage() []byte

func (*EthereumSignMessage) ProtoMessage

func (*EthereumSignMessage) ProtoMessage()

func (*EthereumSignMessage) Reset

func (m *EthereumSignMessage) Reset()

func (*EthereumSignMessage) String

func (m *EthereumSignMessage) String() string

func (*EthereumSignMessage) XXX_DiscardUnknown

func (m *EthereumSignMessage) XXX_DiscardUnknown()

func (*EthereumSignMessage) XXX_Marshal

func (m *EthereumSignMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthereumSignMessage) XXX_Merge

func (dst *EthereumSignMessage) XXX_Merge(src proto.Message)

func (*EthereumSignMessage) XXX_Size

func (m *EthereumSignMessage) XXX_Size() int

func (*EthereumSignMessage) XXX_Unmarshal

func (m *EthereumSignMessage) XXX_Unmarshal(b []byte) error

type EthereumSignTx

type EthereumSignTx struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Nonce                []byte   `protobuf:"bytes,2,opt,name=nonce" json:"nonce,omitempty"`
	GasPrice             []byte   `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice" json:"gas_price,omitempty"`
	GasLimit             []byte   `protobuf:"bytes,4,opt,name=gas_limit,json=gasLimit" json:"gas_limit,omitempty"`
	To                   []byte   `protobuf:"bytes,5,opt,name=to" json:"to,omitempty"`
	Value                []byte   `protobuf:"bytes,6,opt,name=value" json:"value,omitempty"`
	DataInitialChunk     []byte   `protobuf:"bytes,7,opt,name=data_initial_chunk,json=dataInitialChunk" json:"data_initial_chunk,omitempty"`
	DataLength           *uint32  `protobuf:"varint,8,opt,name=data_length,json=dataLength" json:"data_length,omitempty"`
	ChainId              *uint32  `protobuf:"varint,9,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to sign transaction All fields are optional from the protocol's point of view. Each field defaults to value `0` if missing. Note: the first at most 1024 bytes of data MUST be transmitted as part of this message. @next PassphraseRequest @next PinMatrixRequest @next EthereumTxRequest @next Failure

func (*EthereumSignTx) Descriptor

func (*EthereumSignTx) Descriptor() ([]byte, []int)

func (*EthereumSignTx) GetAddressN

func (m *EthereumSignTx) GetAddressN() []uint32

func (*EthereumSignTx) GetChainId

func (m *EthereumSignTx) GetChainId() uint32

func (*EthereumSignTx) GetDataInitialChunk

func (m *EthereumSignTx) GetDataInitialChunk() []byte

func (*EthereumSignTx) GetDataLength

func (m *EthereumSignTx) GetDataLength() uint32

func (*EthereumSignTx) GetGasLimit

func (m *EthereumSignTx) GetGasLimit() []byte

func (*EthereumSignTx) GetGasPrice

func (m *EthereumSignTx) GetGasPrice() []byte

func (*EthereumSignTx) GetNonce

func (m *EthereumSignTx) GetNonce() []byte

func (*EthereumSignTx) GetTo

func (m *EthereumSignTx) GetTo() []byte

func (*EthereumSignTx) GetValue

func (m *EthereumSignTx) GetValue() []byte

func (*EthereumSignTx) ProtoMessage

func (*EthereumSignTx) ProtoMessage()

func (*EthereumSignTx) Reset

func (m *EthereumSignTx) Reset()

func (*EthereumSignTx) String

func (m *EthereumSignTx) String() string

func (*EthereumSignTx) XXX_DiscardUnknown

func (m *EthereumSignTx) XXX_DiscardUnknown()

func (*EthereumSignTx) XXX_Marshal

func (m *EthereumSignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthereumSignTx) XXX_Merge

func (dst *EthereumSignTx) XXX_Merge(src proto.Message)

func (*EthereumSignTx) XXX_Size

func (m *EthereumSignTx) XXX_Size() int

func (*EthereumSignTx) XXX_Unmarshal

func (m *EthereumSignTx) XXX_Unmarshal(b []byte) error

type EthereumTxAck

type EthereumTxAck struct {
	DataChunk            []byte   `protobuf:"bytes,1,opt,name=data_chunk,json=dataChunk" json:"data_chunk,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Transaction payload data. @prev EthereumTxRequest @next EthereumTxRequest

func (*EthereumTxAck) Descriptor

func (*EthereumTxAck) Descriptor() ([]byte, []int)

func (*EthereumTxAck) GetDataChunk

func (m *EthereumTxAck) GetDataChunk() []byte

func (*EthereumTxAck) ProtoMessage

func (*EthereumTxAck) ProtoMessage()

func (*EthereumTxAck) Reset

func (m *EthereumTxAck) Reset()

func (*EthereumTxAck) String

func (m *EthereumTxAck) String() string

func (*EthereumTxAck) XXX_DiscardUnknown

func (m *EthereumTxAck) XXX_DiscardUnknown()

func (*EthereumTxAck) XXX_Marshal

func (m *EthereumTxAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthereumTxAck) XXX_Merge

func (dst *EthereumTxAck) XXX_Merge(src proto.Message)

func (*EthereumTxAck) XXX_Size

func (m *EthereumTxAck) XXX_Size() int

func (*EthereumTxAck) XXX_Unmarshal

func (m *EthereumTxAck) XXX_Unmarshal(b []byte) error

type EthereumTxRequest

type EthereumTxRequest struct {
	DataLength           *uint32  `protobuf:"varint,1,opt,name=data_length,json=dataLength" json:"data_length,omitempty"`
	SignatureV           *uint32  `protobuf:"varint,2,opt,name=signature_v,json=signatureV" json:"signature_v,omitempty"`
	SignatureR           []byte   `protobuf:"bytes,3,opt,name=signature_r,json=signatureR" json:"signature_r,omitempty"`
	SignatureS           []byte   `protobuf:"bytes,4,opt,name=signature_s,json=signatureS" json:"signature_s,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Device asks for more data from transaction payload, or returns the signature. If data_length is set, device awaits that many more bytes of payload. Otherwise, the signature_* fields contain the computed transaction signature. All three fields will be present. @prev EthereumSignTx @next EthereumTxAck

func (*EthereumTxRequest) Descriptor

func (*EthereumTxRequest) Descriptor() ([]byte, []int)

func (*EthereumTxRequest) GetDataLength

func (m *EthereumTxRequest) GetDataLength() uint32

func (*EthereumTxRequest) GetSignatureR

func (m *EthereumTxRequest) GetSignatureR() []byte

func (*EthereumTxRequest) GetSignatureS

func (m *EthereumTxRequest) GetSignatureS() []byte

func (*EthereumTxRequest) GetSignatureV

func (m *EthereumTxRequest) GetSignatureV() uint32

func (*EthereumTxRequest) ProtoMessage

func (*EthereumTxRequest) ProtoMessage()

func (*EthereumTxRequest) Reset

func (m *EthereumTxRequest) Reset()

func (*EthereumTxRequest) String

func (m *EthereumTxRequest) String() string

func (*EthereumTxRequest) XXX_DiscardUnknown

func (m *EthereumTxRequest) XXX_DiscardUnknown()

func (*EthereumTxRequest) XXX_Marshal

func (m *EthereumTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthereumTxRequest) XXX_Merge

func (dst *EthereumTxRequest) XXX_Merge(src proto.Message)

func (*EthereumTxRequest) XXX_Size

func (m *EthereumTxRequest) XXX_Size() int

func (*EthereumTxRequest) XXX_Unmarshal

func (m *EthereumTxRequest) XXX_Unmarshal(b []byte) error

type EthereumVerifyMessage

type EthereumVerifyMessage struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	Message              []byte   `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to verify message @next Success @next Failure

func (*EthereumVerifyMessage) Descriptor

func (*EthereumVerifyMessage) Descriptor() ([]byte, []int)

func (*EthereumVerifyMessage) GetAddress

func (m *EthereumVerifyMessage) GetAddress() []byte

func (*EthereumVerifyMessage) GetMessage

func (m *EthereumVerifyMessage) GetMessage() []byte

func (*EthereumVerifyMessage) GetSignature

func (m *EthereumVerifyMessage) GetSignature() []byte

func (*EthereumVerifyMessage) ProtoMessage

func (*EthereumVerifyMessage) ProtoMessage()

func (*EthereumVerifyMessage) Reset

func (m *EthereumVerifyMessage) Reset()

func (*EthereumVerifyMessage) String

func (m *EthereumVerifyMessage) String() string

func (*EthereumVerifyMessage) XXX_DiscardUnknown

func (m *EthereumVerifyMessage) XXX_DiscardUnknown()

func (*EthereumVerifyMessage) XXX_Marshal

func (m *EthereumVerifyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthereumVerifyMessage) XXX_Merge

func (dst *EthereumVerifyMessage) XXX_Merge(src proto.Message)

func (*EthereumVerifyMessage) XXX_Size

func (m *EthereumVerifyMessage) XXX_Size() int

func (*EthereumVerifyMessage) XXX_Unmarshal

func (m *EthereumVerifyMessage) XXX_Unmarshal(b []byte) error

type Failure

type Failure struct {
	Code                 *types.FailureType `protobuf:"varint,1,opt,name=code,enum=FailureType" json:"code,omitempty"`
	Message              *string            `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

* Response: Failure of the previous request

func (*Failure) Descriptor

func (*Failure) Descriptor() ([]byte, []int)

func (*Failure) GetCode

func (m *Failure) GetCode() types.FailureType

func (*Failure) GetMessage

func (m *Failure) GetMessage() string

func (*Failure) ProtoMessage

func (*Failure) ProtoMessage()

func (*Failure) Reset

func (m *Failure) Reset()

func (*Failure) String

func (m *Failure) String() string

func (*Failure) XXX_DiscardUnknown

func (m *Failure) XXX_DiscardUnknown()

func (*Failure) XXX_Marshal

func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Failure) XXX_Merge

func (dst *Failure) XXX_Merge(src proto.Message)

func (*Failure) XXX_Size

func (m *Failure) XXX_Size() int

func (*Failure) XXX_Unmarshal

func (m *Failure) XXX_Unmarshal(b []byte) error

type Features

type Features struct {
	Vendor               *string           `protobuf:"bytes,1,opt,name=vendor" json:"vendor,omitempty"`
	MajorVersion         *uint32           `protobuf:"varint,2,opt,name=major_version,json=majorVersion" json:"major_version,omitempty"`
	MinorVersion         *uint32           `protobuf:"varint,3,opt,name=minor_version,json=minorVersion" json:"minor_version,omitempty"`
	PatchVersion         *uint32           `protobuf:"varint,4,opt,name=patch_version,json=patchVersion" json:"patch_version,omitempty"`
	BootloaderMode       *bool             `protobuf:"varint,5,opt,name=bootloader_mode,json=bootloaderMode" json:"bootloader_mode,omitempty"`
	DeviceId             *string           `protobuf:"bytes,6,opt,name=device_id,json=deviceId" json:"device_id,omitempty"`
	PinProtection        *bool             `protobuf:"varint,7,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
	PassphraseProtection *bool             `protobuf:"varint,8,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
	Language             *string           `protobuf:"bytes,9,opt,name=language" json:"language,omitempty"`
	Label                *string           `protobuf:"bytes,10,opt,name=label" json:"label,omitempty"`
	Coins                []*types.CoinType `protobuf:"bytes,11,rep,name=coins" json:"coins,omitempty"`
	Initialized          *bool             `protobuf:"varint,12,opt,name=initialized" json:"initialized,omitempty"`
	Revision             []byte            `protobuf:"bytes,13,opt,name=revision" json:"revision,omitempty"`
	BootloaderHash       []byte            `protobuf:"bytes,14,opt,name=bootloader_hash,json=bootloaderHash" json:"bootloader_hash,omitempty"`
	Imported             *bool             `protobuf:"varint,15,opt,name=imported" json:"imported,omitempty"`
	PinCached            *bool             `protobuf:"varint,16,opt,name=pin_cached,json=pinCached" json:"pin_cached,omitempty"`
	PassphraseCached     *bool             `protobuf:"varint,17,opt,name=passphrase_cached,json=passphraseCached" json:"passphrase_cached,omitempty"`
	FirmwarePresent      *bool             `protobuf:"varint,18,opt,name=firmware_present,json=firmwarePresent" json:"firmware_present,omitempty"`
	NeedsBackup          *bool             `protobuf:"varint,19,opt,name=needs_backup,json=needsBackup" json:"needs_backup,omitempty"`
	Flags                *uint32           `protobuf:"varint,20,opt,name=flags" json:"flags,omitempty"`
	Model                *string           `protobuf:"bytes,21,opt,name=model" json:"model,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

* Response: Reports various information about the device @prev Initialize @prev GetFeatures

func (*Features) Descriptor

func (*Features) Descriptor() ([]byte, []int)

func (*Features) GetBootloaderHash

func (m *Features) GetBootloaderHash() []byte

func (*Features) GetBootloaderMode

func (m *Features) GetBootloaderMode() bool

func (*Features) GetCoins

func (m *Features) GetCoins() []*types.CoinType

func (*Features) GetDeviceId

func (m *Features) GetDeviceId() string

func (*Features) GetFirmwarePresent

func (m *Features) GetFirmwarePresent() bool

func (*Features) GetFlags

func (m *Features) GetFlags() uint32

func (*Features) GetImported

func (m *Features) GetImported() bool

func (*Features) GetInitialized

func (m *Features) GetInitialized() bool

func (*Features) GetLabel

func (m *Features) GetLabel() string

func (*Features) GetLanguage

func (m *Features) GetLanguage() string

func (*Features) GetMajorVersion

func (m *Features) GetMajorVersion() uint32

func (*Features) GetMinorVersion

func (m *Features) GetMinorVersion() uint32

func (*Features) GetModel

func (m *Features) GetModel() string

func (*Features) GetNeedsBackup

func (m *Features) GetNeedsBackup() bool

func (*Features) GetPassphraseCached

func (m *Features) GetPassphraseCached() bool

func (*Features) GetPassphraseProtection

func (m *Features) GetPassphraseProtection() bool

func (*Features) GetPatchVersion

func (m *Features) GetPatchVersion() uint32

func (*Features) GetPinCached

func (m *Features) GetPinCached() bool

func (*Features) GetPinProtection

func (m *Features) GetPinProtection() bool

func (*Features) GetRevision

func (m *Features) GetRevision() []byte

func (*Features) GetVendor

func (m *Features) GetVendor() string

func (*Features) ProtoMessage

func (*Features) ProtoMessage()

func (*Features) Reset

func (m *Features) Reset()

func (*Features) String

func (m *Features) String() string

func (*Features) XXX_DiscardUnknown

func (m *Features) XXX_DiscardUnknown()

func (*Features) XXX_Marshal

func (m *Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Features) XXX_Merge

func (dst *Features) XXX_Merge(src proto.Message)

func (*Features) XXX_Size

func (m *Features) XXX_Size() int

func (*Features) XXX_Unmarshal

func (m *Features) XXX_Unmarshal(b []byte) error

type FirmwareErase

type FirmwareErase struct {
	Length               *uint32  `protobuf:"varint,1,opt,name=length" json:"length,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to erase its firmware (so it can be replaced via FirmwareUpload) @next Success @next FirmwareRequest @next Failure

func (*FirmwareErase) Descriptor

func (*FirmwareErase) Descriptor() ([]byte, []int)

func (*FirmwareErase) GetLength

func (m *FirmwareErase) GetLength() uint32

func (*FirmwareErase) ProtoMessage

func (*FirmwareErase) ProtoMessage()

func (*FirmwareErase) Reset

func (m *FirmwareErase) Reset()

func (*FirmwareErase) String

func (m *FirmwareErase) String() string

func (*FirmwareErase) XXX_DiscardUnknown

func (m *FirmwareErase) XXX_DiscardUnknown()

func (*FirmwareErase) XXX_Marshal

func (m *FirmwareErase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareErase) XXX_Merge

func (dst *FirmwareErase) XXX_Merge(src proto.Message)

func (*FirmwareErase) XXX_Size

func (m *FirmwareErase) XXX_Size() int

func (*FirmwareErase) XXX_Unmarshal

func (m *FirmwareErase) XXX_Unmarshal(b []byte) error

type FirmwareRequest

type FirmwareRequest struct {
	Offset               *uint32  `protobuf:"varint,1,opt,name=offset" json:"offset,omitempty"`
	Length               *uint32  `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Ask for firmware chunk @next FirmwareUpload

func (*FirmwareRequest) Descriptor

func (*FirmwareRequest) Descriptor() ([]byte, []int)

func (*FirmwareRequest) GetLength

func (m *FirmwareRequest) GetLength() uint32

func (*FirmwareRequest) GetOffset

func (m *FirmwareRequest) GetOffset() uint32

func (*FirmwareRequest) ProtoMessage

func (*FirmwareRequest) ProtoMessage()

func (*FirmwareRequest) Reset

func (m *FirmwareRequest) Reset()

func (*FirmwareRequest) String

func (m *FirmwareRequest) String() string

func (*FirmwareRequest) XXX_DiscardUnknown

func (m *FirmwareRequest) XXX_DiscardUnknown()

func (*FirmwareRequest) XXX_Marshal

func (m *FirmwareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareRequest) XXX_Merge

func (dst *FirmwareRequest) XXX_Merge(src proto.Message)

func (*FirmwareRequest) XXX_Size

func (m *FirmwareRequest) XXX_Size() int

func (*FirmwareRequest) XXX_Unmarshal

func (m *FirmwareRequest) XXX_Unmarshal(b []byte) error

type FirmwareUpload

type FirmwareUpload struct {
	Payload              []byte   `protobuf:"bytes,1,req,name=payload" json:"payload,omitempty"`
	Hash                 []byte   `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Send firmware in binary form to the device @next Success @next Failure

func (*FirmwareUpload) Descriptor

func (*FirmwareUpload) Descriptor() ([]byte, []int)

func (*FirmwareUpload) GetHash

func (m *FirmwareUpload) GetHash() []byte

func (*FirmwareUpload) GetPayload

func (m *FirmwareUpload) GetPayload() []byte

func (*FirmwareUpload) ProtoMessage

func (*FirmwareUpload) ProtoMessage()

func (*FirmwareUpload) Reset

func (m *FirmwareUpload) Reset()

func (*FirmwareUpload) String

func (m *FirmwareUpload) String() string

func (*FirmwareUpload) XXX_DiscardUnknown

func (m *FirmwareUpload) XXX_DiscardUnknown()

func (*FirmwareUpload) XXX_Marshal

func (m *FirmwareUpload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareUpload) XXX_Merge

func (dst *FirmwareUpload) XXX_Merge(src proto.Message)

func (*FirmwareUpload) XXX_Size

func (m *FirmwareUpload) XXX_Size() int

func (*FirmwareUpload) XXX_Unmarshal

func (m *FirmwareUpload) XXX_Unmarshal(b []byte) error

type GetAddress

type GetAddress struct {
	AddressN             []uint32                        `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	CoinName             *string                         `protobuf:"bytes,2,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
	ShowDisplay          *bool                           `protobuf:"varint,3,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"`
	Multisig             *types.MultisigRedeemScriptType `protobuf:"bytes,4,opt,name=multisig" json:"multisig,omitempty"`
	ScriptType           *types.InputScriptType          `protobuf:"varint,5,opt,name=script_type,json=scriptType,enum=InputScriptType,def=0" json:"script_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

* Request: Ask device for address corresponding to address_n path @next PassphraseRequest @next Address @next Failure

func (*GetAddress) Descriptor

func (*GetAddress) Descriptor() ([]byte, []int)

func (*GetAddress) GetAddressN

func (m *GetAddress) GetAddressN() []uint32

func (*GetAddress) GetCoinName

func (m *GetAddress) GetCoinName() string

func (*GetAddress) GetMultisig

func (m *GetAddress) GetMultisig() *types.MultisigRedeemScriptType

func (*GetAddress) GetScriptType

func (m *GetAddress) GetScriptType() types.InputScriptType

func (*GetAddress) GetShowDisplay

func (m *GetAddress) GetShowDisplay() bool

func (*GetAddress) ProtoMessage

func (*GetAddress) ProtoMessage()

func (*GetAddress) Reset

func (m *GetAddress) Reset()

func (*GetAddress) String

func (m *GetAddress) String() string

func (*GetAddress) XXX_DiscardUnknown

func (m *GetAddress) XXX_DiscardUnknown()

func (*GetAddress) XXX_Marshal

func (m *GetAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAddress) XXX_Merge

func (dst *GetAddress) XXX_Merge(src proto.Message)

func (*GetAddress) XXX_Size

func (m *GetAddress) XXX_Size() int

func (*GetAddress) XXX_Unmarshal

func (m *GetAddress) XXX_Unmarshal(b []byte) error

type GetECDHSessionKey

type GetECDHSessionKey struct {
	Identity             *types.IdentityType `protobuf:"bytes,1,opt,name=identity" json:"identity,omitempty"`
	PeerPublicKey        []byte              `protobuf:"bytes,2,opt,name=peer_public_key,json=peerPublicKey" json:"peer_public_key,omitempty"`
	EcdsaCurveName       *string             `protobuf:"bytes,3,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

* Request: Ask device to generate ECDH session key @next ECDHSessionKey @next Failure

func (*GetECDHSessionKey) Descriptor

func (*GetECDHSessionKey) Descriptor() ([]byte, []int)

func (*GetECDHSessionKey) GetEcdsaCurveName

func (m *GetECDHSessionKey) GetEcdsaCurveName() string

func (*GetECDHSessionKey) GetIdentity

func (m *GetECDHSessionKey) GetIdentity() *types.IdentityType

func (*GetECDHSessionKey) GetPeerPublicKey

func (m *GetECDHSessionKey) GetPeerPublicKey() []byte

func (*GetECDHSessionKey) ProtoMessage

func (*GetECDHSessionKey) ProtoMessage()

func (*GetECDHSessionKey) Reset

func (m *GetECDHSessionKey) Reset()

func (*GetECDHSessionKey) String

func (m *GetECDHSessionKey) String() string

func (*GetECDHSessionKey) XXX_DiscardUnknown

func (m *GetECDHSessionKey) XXX_DiscardUnknown()

func (*GetECDHSessionKey) XXX_Marshal

func (m *GetECDHSessionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetECDHSessionKey) XXX_Merge

func (dst *GetECDHSessionKey) XXX_Merge(src proto.Message)

func (*GetECDHSessionKey) XXX_Size

func (m *GetECDHSessionKey) XXX_Size() int

func (*GetECDHSessionKey) XXX_Unmarshal

func (m *GetECDHSessionKey) XXX_Unmarshal(b []byte) error

type GetEntropy

type GetEntropy struct {
	Size                 *uint32  `protobuf:"varint,1,req,name=size" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Request a sample of random data generated by hardware RNG. May be used for testing. @next ButtonRequest @next Entropy @next Failure

func (*GetEntropy) Descriptor

func (*GetEntropy) Descriptor() ([]byte, []int)

func (*GetEntropy) GetSize

func (m *GetEntropy) GetSize() uint32

func (*GetEntropy) ProtoMessage

func (*GetEntropy) ProtoMessage()

func (*GetEntropy) Reset

func (m *GetEntropy) Reset()

func (*GetEntropy) String

func (m *GetEntropy) String() string

func (*GetEntropy) XXX_DiscardUnknown

func (m *GetEntropy) XXX_DiscardUnknown()

func (*GetEntropy) XXX_Marshal

func (m *GetEntropy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetEntropy) XXX_Merge

func (dst *GetEntropy) XXX_Merge(src proto.Message)

func (*GetEntropy) XXX_Size

func (m *GetEntropy) XXX_Size() int

func (*GetEntropy) XXX_Unmarshal

func (m *GetEntropy) XXX_Unmarshal(b []byte) error

type GetFeatures

type GetFeatures struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask for device details (no device reset) @next Features

func (*GetFeatures) Descriptor

func (*GetFeatures) Descriptor() ([]byte, []int)

func (*GetFeatures) ProtoMessage

func (*GetFeatures) ProtoMessage()

func (*GetFeatures) Reset

func (m *GetFeatures) Reset()

func (*GetFeatures) String

func (m *GetFeatures) String() string

func (*GetFeatures) XXX_DiscardUnknown

func (m *GetFeatures) XXX_DiscardUnknown()

func (*GetFeatures) XXX_Marshal

func (m *GetFeatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFeatures) XXX_Merge

func (dst *GetFeatures) XXX_Merge(src proto.Message)

func (*GetFeatures) XXX_Size

func (m *GetFeatures) XXX_Size() int

func (*GetFeatures) XXX_Unmarshal

func (m *GetFeatures) XXX_Unmarshal(b []byte) error

type GetPublicKey

type GetPublicKey struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	EcdsaCurveName       *string  `protobuf:"bytes,2,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"`
	ShowDisplay          *bool    `protobuf:"varint,3,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"`
	CoinName             *string  `protobuf:"bytes,4,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device for public key corresponding to address_n path @next PassphraseRequest @next PublicKey @next Failure

func (*GetPublicKey) Descriptor

func (*GetPublicKey) Descriptor() ([]byte, []int)

func (*GetPublicKey) GetAddressN

func (m *GetPublicKey) GetAddressN() []uint32

func (*GetPublicKey) GetCoinName

func (m *GetPublicKey) GetCoinName() string

func (*GetPublicKey) GetEcdsaCurveName

func (m *GetPublicKey) GetEcdsaCurveName() string

func (*GetPublicKey) GetShowDisplay

func (m *GetPublicKey) GetShowDisplay() bool

func (*GetPublicKey) ProtoMessage

func (*GetPublicKey) ProtoMessage()

func (*GetPublicKey) Reset

func (m *GetPublicKey) Reset()

func (*GetPublicKey) String

func (m *GetPublicKey) String() string

func (*GetPublicKey) XXX_DiscardUnknown

func (m *GetPublicKey) XXX_DiscardUnknown()

func (*GetPublicKey) XXX_Marshal

func (m *GetPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPublicKey) XXX_Merge

func (dst *GetPublicKey) XXX_Merge(src proto.Message)

func (*GetPublicKey) XXX_Size

func (m *GetPublicKey) XXX_Size() int

func (*GetPublicKey) XXX_Unmarshal

func (m *GetPublicKey) XXX_Unmarshal(b []byte) error

type Initialize

type Initialize struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Reset device to default state and ask for device details @next Features

func (*Initialize) Descriptor

func (*Initialize) Descriptor() ([]byte, []int)

func (*Initialize) ProtoMessage

func (*Initialize) ProtoMessage()

func (*Initialize) Reset

func (m *Initialize) Reset()

func (*Initialize) String

func (m *Initialize) String() string

func (*Initialize) XXX_DiscardUnknown

func (m *Initialize) XXX_DiscardUnknown()

func (*Initialize) XXX_Marshal

func (m *Initialize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Initialize) XXX_Merge

func (dst *Initialize) XXX_Merge(src proto.Message)

func (*Initialize) XXX_Size

func (m *Initialize) XXX_Size() int

func (*Initialize) XXX_Unmarshal

func (m *Initialize) XXX_Unmarshal(b []byte) error

type LoadDevice

type LoadDevice struct {
	Mnemonic             *string           `protobuf:"bytes,1,opt,name=mnemonic" json:"mnemonic,omitempty"`
	Node                 *types.HDNodeType `protobuf:"bytes,2,opt,name=node" json:"node,omitempty"`
	Pin                  *string           `protobuf:"bytes,3,opt,name=pin" json:"pin,omitempty"`
	PassphraseProtection *bool             `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
	Language             *string           `protobuf:"bytes,5,opt,name=language,def=english" json:"language,omitempty"`
	Label                *string           `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"`
	SkipChecksum         *bool             `protobuf:"varint,7,opt,name=skip_checksum,json=skipChecksum" json:"skip_checksum,omitempty"`
	U2FCounter           *uint32           `protobuf:"varint,8,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

* Request: Load seed and related internal settings from the computer @next ButtonRequest @next Success @next Failure

func (*LoadDevice) Descriptor

func (*LoadDevice) Descriptor() ([]byte, []int)

func (*LoadDevice) GetLabel

func (m *LoadDevice) GetLabel() string

func (*LoadDevice) GetLanguage

func (m *LoadDevice) GetLanguage() string

func (*LoadDevice) GetMnemonic

func (m *LoadDevice) GetMnemonic() string

func (*LoadDevice) GetNode

func (m *LoadDevice) GetNode() *types.HDNodeType

func (*LoadDevice) GetPassphraseProtection

func (m *LoadDevice) GetPassphraseProtection() bool

func (*LoadDevice) GetPin

func (m *LoadDevice) GetPin() string

func (*LoadDevice) GetSkipChecksum

func (m *LoadDevice) GetSkipChecksum() bool

func (*LoadDevice) GetU2FCounter

func (m *LoadDevice) GetU2FCounter() uint32

func (*LoadDevice) ProtoMessage

func (*LoadDevice) ProtoMessage()

func (*LoadDevice) Reset

func (m *LoadDevice) Reset()

func (*LoadDevice) String

func (m *LoadDevice) String() string

func (*LoadDevice) XXX_DiscardUnknown

func (m *LoadDevice) XXX_DiscardUnknown()

func (*LoadDevice) XXX_Marshal

func (m *LoadDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadDevice) XXX_Merge

func (dst *LoadDevice) XXX_Merge(src proto.Message)

func (*LoadDevice) XXX_Size

func (m *LoadDevice) XXX_Size() int

func (*LoadDevice) XXX_Unmarshal

func (m *LoadDevice) XXX_Unmarshal(b []byte) error

type MessageSignature

type MessageSignature struct {
	Address              *string  `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Signed message @prev SignMessage

func (*MessageSignature) Descriptor

func (*MessageSignature) Descriptor() ([]byte, []int)

func (*MessageSignature) GetAddress

func (m *MessageSignature) GetAddress() string

func (*MessageSignature) GetSignature

func (m *MessageSignature) GetSignature() []byte

func (*MessageSignature) ProtoMessage

func (*MessageSignature) ProtoMessage()

func (*MessageSignature) Reset

func (m *MessageSignature) Reset()

func (*MessageSignature) String

func (m *MessageSignature) String() string

func (*MessageSignature) XXX_DiscardUnknown

func (m *MessageSignature) XXX_DiscardUnknown()

func (*MessageSignature) XXX_Marshal

func (m *MessageSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageSignature) XXX_Merge

func (dst *MessageSignature) XXX_Merge(src proto.Message)

func (*MessageSignature) XXX_Size

func (m *MessageSignature) XXX_Size() int

func (*MessageSignature) XXX_Unmarshal

func (m *MessageSignature) XXX_Unmarshal(b []byte) error

type MessageType

type MessageType int32

* Mapping between Trezor wire identifier (uint) and a protobuf message

const (
	MessageType_MessageType_Initialize               MessageType = 0
	MessageType_MessageType_Ping                     MessageType = 1
	MessageType_MessageType_Success                  MessageType = 2
	MessageType_MessageType_Failure                  MessageType = 3
	MessageType_MessageType_ChangePin                MessageType = 4
	MessageType_MessageType_WipeDevice               MessageType = 5
	MessageType_MessageType_FirmwareErase            MessageType = 6
	MessageType_MessageType_FirmwareUpload           MessageType = 7
	MessageType_MessageType_FirmwareRequest          MessageType = 8
	MessageType_MessageType_GetEntropy               MessageType = 9
	MessageType_MessageType_Entropy                  MessageType = 10
	MessageType_MessageType_GetPublicKey             MessageType = 11
	MessageType_MessageType_PublicKey                MessageType = 12
	MessageType_MessageType_LoadDevice               MessageType = 13
	MessageType_MessageType_ResetDevice              MessageType = 14
	MessageType_MessageType_SignTx                   MessageType = 15
	MessageType_MessageType_SimpleSignTx             MessageType = 16 // Deprecated: Do not use.
	MessageType_MessageType_Features                 MessageType = 17
	MessageType_MessageType_PinMatrixRequest         MessageType = 18
	MessageType_MessageType_PinMatrixAck             MessageType = 19
	MessageType_MessageType_Cancel                   MessageType = 20
	MessageType_MessageType_TxRequest                MessageType = 21
	MessageType_MessageType_TxAck                    MessageType = 22
	MessageType_MessageType_CipherKeyValue           MessageType = 23
	MessageType_MessageType_ClearSession             MessageType = 24
	MessageType_MessageType_ApplySettings            MessageType = 25
	MessageType_MessageType_ButtonRequest            MessageType = 26
	MessageType_MessageType_ButtonAck                MessageType = 27
	MessageType_MessageType_ApplyFlags               MessageType = 28
	MessageType_MessageType_GetAddress               MessageType = 29
	MessageType_MessageType_Address                  MessageType = 30
	MessageType_MessageType_SelfTest                 MessageType = 32
	MessageType_MessageType_BackupDevice             MessageType = 34
	MessageType_MessageType_EntropyRequest           MessageType = 35
	MessageType_MessageType_EntropyAck               MessageType = 36
	MessageType_MessageType_SignMessage              MessageType = 38
	MessageType_MessageType_VerifyMessage            MessageType = 39
	MessageType_MessageType_MessageSignature         MessageType = 40
	MessageType_MessageType_PassphraseRequest        MessageType = 41
	MessageType_MessageType_PassphraseAck            MessageType = 42
	MessageType_MessageType_EstimateTxSize           MessageType = 43 // Deprecated: Do not use.
	MessageType_MessageType_TxSize                   MessageType = 44 // Deprecated: Do not use.
	MessageType_MessageType_RecoveryDevice           MessageType = 45
	MessageType_MessageType_WordRequest              MessageType = 46
	MessageType_MessageType_WordAck                  MessageType = 47
	MessageType_MessageType_CipheredKeyValue         MessageType = 48
	MessageType_MessageType_EncryptMessage           MessageType = 49 // Deprecated: Do not use.
	MessageType_MessageType_EncryptedMessage         MessageType = 50 // Deprecated: Do not use.
	MessageType_MessageType_DecryptMessage           MessageType = 51 // Deprecated: Do not use.
	MessageType_MessageType_DecryptedMessage         MessageType = 52 // Deprecated: Do not use.
	MessageType_MessageType_SignIdentity             MessageType = 53
	MessageType_MessageType_SignedIdentity           MessageType = 54
	MessageType_MessageType_GetFeatures              MessageType = 55
	MessageType_MessageType_EthereumGetAddress       MessageType = 56
	MessageType_MessageType_EthereumAddress          MessageType = 57
	MessageType_MessageType_EthereumSignTx           MessageType = 58
	MessageType_MessageType_EthereumTxRequest        MessageType = 59
	MessageType_MessageType_EthereumTxAck            MessageType = 60
	MessageType_MessageType_GetECDHSessionKey        MessageType = 61
	MessageType_MessageType_ECDHSessionKey           MessageType = 62
	MessageType_MessageType_SetU2FCounter            MessageType = 63
	MessageType_MessageType_EthereumSignMessage      MessageType = 64
	MessageType_MessageType_EthereumVerifyMessage    MessageType = 65
	MessageType_MessageType_EthereumMessageSignature MessageType = 66
	MessageType_MessageType_NEMGetAddress            MessageType = 67
	MessageType_MessageType_NEMAddress               MessageType = 68
	MessageType_MessageType_NEMSignTx                MessageType = 69
	MessageType_MessageType_NEMSignedTx              MessageType = 70
	MessageType_MessageType_CosiCommit               MessageType = 71
	MessageType_MessageType_CosiCommitment           MessageType = 72
	MessageType_MessageType_CosiSign                 MessageType = 73
	MessageType_MessageType_CosiSignature            MessageType = 74
	MessageType_MessageType_NEMDecryptMessage        MessageType = 75
	MessageType_MessageType_NEMDecryptedMessage      MessageType = 76
	MessageType_MessageType_DebugLinkDecision        MessageType = 100
	MessageType_MessageType_DebugLinkGetState        MessageType = 101
	MessageType_MessageType_DebugLinkState           MessageType = 102
	MessageType_MessageType_DebugLinkStop            MessageType = 103
	MessageType_MessageType_DebugLinkLog             MessageType = 104
	MessageType_MessageType_DebugLinkMemoryRead      MessageType = 110
	MessageType_MessageType_DebugLinkMemory          MessageType = 111
	MessageType_MessageType_DebugLinkMemoryWrite     MessageType = 112
	MessageType_MessageType_DebugLinkFlashErase      MessageType = 113
)

func (MessageType) Enum

func (x MessageType) Enum() *MessageType

func (MessageType) EnumDescriptor

func (MessageType) EnumDescriptor() ([]byte, []int)

func (MessageType) String

func (x MessageType) String() string

func (*MessageType) UnmarshalJSON

func (x *MessageType) UnmarshalJSON(data []byte) error

type NEMAddress

type NEMAddress struct {
	Address              *string  `protobuf:"bytes,1,req,name=address" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Contains NEM address derived from device private seed @prev NEMGetAddress

func (*NEMAddress) Descriptor

func (*NEMAddress) Descriptor() ([]byte, []int)

func (*NEMAddress) GetAddress

func (m *NEMAddress) GetAddress() string

func (*NEMAddress) ProtoMessage

func (*NEMAddress) ProtoMessage()

func (*NEMAddress) Reset

func (m *NEMAddress) Reset()

func (*NEMAddress) String

func (m *NEMAddress) String() string

func (*NEMAddress) XXX_DiscardUnknown

func (m *NEMAddress) XXX_DiscardUnknown()

func (*NEMAddress) XXX_Marshal

func (m *NEMAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NEMAddress) XXX_Merge

func (dst *NEMAddress) XXX_Merge(src proto.Message)

func (*NEMAddress) XXX_Size

func (m *NEMAddress) XXX_Size() int

func (*NEMAddress) XXX_Unmarshal

func (m *NEMAddress) XXX_Unmarshal(b []byte) error

type NEMDecryptMessage

type NEMDecryptMessage struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Network              *uint32  `protobuf:"varint,2,opt,name=network" json:"network,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,3,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
	Payload              []byte   `protobuf:"bytes,4,opt,name=payload" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to decrypt NEM transaction payload @next NEMDecryptedMessage @next Failure

func (*NEMDecryptMessage) Descriptor

func (*NEMDecryptMessage) Descriptor() ([]byte, []int)

func (*NEMDecryptMessage) GetAddressN

func (m *NEMDecryptMessage) GetAddressN() []uint32

func (*NEMDecryptMessage) GetNetwork

func (m *NEMDecryptMessage) GetNetwork() uint32

func (*NEMDecryptMessage) GetPayload

func (m *NEMDecryptMessage) GetPayload() []byte

func (*NEMDecryptMessage) GetPublicKey

func (m *NEMDecryptMessage) GetPublicKey() []byte

func (*NEMDecryptMessage) ProtoMessage

func (*NEMDecryptMessage) ProtoMessage()

func (*NEMDecryptMessage) Reset

func (m *NEMDecryptMessage) Reset()

func (*NEMDecryptMessage) String

func (m *NEMDecryptMessage) String() string

func (*NEMDecryptMessage) XXX_DiscardUnknown

func (m *NEMDecryptMessage) XXX_DiscardUnknown()

func (*NEMDecryptMessage) XXX_Marshal

func (m *NEMDecryptMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NEMDecryptMessage) XXX_Merge

func (dst *NEMDecryptMessage) XXX_Merge(src proto.Message)

func (*NEMDecryptMessage) XXX_Size

func (m *NEMDecryptMessage) XXX_Size() int

func (*NEMDecryptMessage) XXX_Unmarshal

func (m *NEMDecryptMessage) XXX_Unmarshal(b []byte) error

type NEMDecryptedMessage

type NEMDecryptedMessage struct {
	Payload              []byte   `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Contains decrypted NEM transaction payload @prev NEMDecryptMessage

func (*NEMDecryptedMessage) Descriptor

func (*NEMDecryptedMessage) Descriptor() ([]byte, []int)

func (*NEMDecryptedMessage) GetPayload

func (m *NEMDecryptedMessage) GetPayload() []byte

func (*NEMDecryptedMessage) ProtoMessage

func (*NEMDecryptedMessage) ProtoMessage()

func (*NEMDecryptedMessage) Reset

func (m *NEMDecryptedMessage) Reset()

func (*NEMDecryptedMessage) String

func (m *NEMDecryptedMessage) String() string

func (*NEMDecryptedMessage) XXX_DiscardUnknown

func (m *NEMDecryptedMessage) XXX_DiscardUnknown()

func (*NEMDecryptedMessage) XXX_Marshal

func (m *NEMDecryptedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NEMDecryptedMessage) XXX_Merge

func (dst *NEMDecryptedMessage) XXX_Merge(src proto.Message)

func (*NEMDecryptedMessage) XXX_Size

func (m *NEMDecryptedMessage) XXX_Size() int

func (*NEMDecryptedMessage) XXX_Unmarshal

func (m *NEMDecryptedMessage) XXX_Unmarshal(b []byte) error

type NEMGetAddress

type NEMGetAddress struct {
	AddressN             []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Network              *uint32  `protobuf:"varint,2,opt,name=network" json:"network,omitempty"`
	ShowDisplay          *bool    `protobuf:"varint,3,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device for NEM address corresponding to address_n path @next PassphraseRequest @next NEMAddress @next Failure

func (*NEMGetAddress) Descriptor

func (*NEMGetAddress) Descriptor() ([]byte, []int)

func (*NEMGetAddress) GetAddressN

func (m *NEMGetAddress) GetAddressN() []uint32

func (*NEMGetAddress) GetNetwork

func (m *NEMGetAddress) GetNetwork() uint32

func (*NEMGetAddress) GetShowDisplay

func (m *NEMGetAddress) GetShowDisplay() bool

func (*NEMGetAddress) ProtoMessage

func (*NEMGetAddress) ProtoMessage()

func (*NEMGetAddress) Reset

func (m *NEMGetAddress) Reset()

func (*NEMGetAddress) String

func (m *NEMGetAddress) String() string

func (*NEMGetAddress) XXX_DiscardUnknown

func (m *NEMGetAddress) XXX_DiscardUnknown()

func (*NEMGetAddress) XXX_Marshal

func (m *NEMGetAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NEMGetAddress) XXX_Merge

func (dst *NEMGetAddress) XXX_Merge(src proto.Message)

func (*NEMGetAddress) XXX_Size

func (m *NEMGetAddress) XXX_Size() int

func (*NEMGetAddress) XXX_Unmarshal

func (m *NEMGetAddress) XXX_Unmarshal(b []byte) error

type NEMSignTx

type NEMSignTx struct {
	Transaction           *types.NEMTransactionCommon     `protobuf:"bytes,1,opt,name=transaction" json:"transaction,omitempty"`
	Multisig              *types.NEMTransactionCommon     `protobuf:"bytes,2,opt,name=multisig" json:"multisig,omitempty"`
	Transfer              *types.NEMTransfer              `protobuf:"bytes,3,opt,name=transfer" json:"transfer,omitempty"`
	Cosigning             *bool                           `protobuf:"varint,4,opt,name=cosigning" json:"cosigning,omitempty"`
	ProvisionNamespace    *types.NEMProvisionNamespace    `protobuf:"bytes,5,opt,name=provision_namespace,json=provisionNamespace" json:"provision_namespace,omitempty"`
	MosaicCreation        *types.NEMMosaicCreation        `protobuf:"bytes,6,opt,name=mosaic_creation,json=mosaicCreation" json:"mosaic_creation,omitempty"`
	SupplyChange          *types.NEMMosaicSupplyChange    `protobuf:"bytes,7,opt,name=supply_change,json=supplyChange" json:"supply_change,omitempty"`
	AggregateModification *types.NEMAggregateModification `protobuf:"bytes,8,opt,name=aggregate_modification,json=aggregateModification" json:"aggregate_modification,omitempty"`
	ImportanceTransfer    *types.NEMImportanceTransfer    `protobuf:"bytes,9,opt,name=importance_transfer,json=importanceTransfer" json:"importance_transfer,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}                        `json:"-"`
	XXX_unrecognized      []byte                          `json:"-"`
	XXX_sizecache         int32                           `json:"-"`
}

* Request: Ask device to sign transaction @next NEMSignedTx @next Failure

func (*NEMSignTx) Descriptor

func (*NEMSignTx) Descriptor() ([]byte, []int)

func (*NEMSignTx) GetAggregateModification

func (m *NEMSignTx) GetAggregateModification() *types.NEMAggregateModification

func (*NEMSignTx) GetCosigning

func (m *NEMSignTx) GetCosigning() bool

func (*NEMSignTx) GetImportanceTransfer

func (m *NEMSignTx) GetImportanceTransfer() *types.NEMImportanceTransfer

func (*NEMSignTx) GetMosaicCreation

func (m *NEMSignTx) GetMosaicCreation() *types.NEMMosaicCreation

func (*NEMSignTx) GetMultisig

func (m *NEMSignTx) GetMultisig() *types.NEMTransactionCommon

func (*NEMSignTx) GetProvisionNamespace

func (m *NEMSignTx) GetProvisionNamespace() *types.NEMProvisionNamespace

func (*NEMSignTx) GetSupplyChange

func (m *NEMSignTx) GetSupplyChange() *types.NEMMosaicSupplyChange

func (*NEMSignTx) GetTransaction

func (m *NEMSignTx) GetTransaction() *types.NEMTransactionCommon

func (*NEMSignTx) GetTransfer

func (m *NEMSignTx) GetTransfer() *types.NEMTransfer

func (*NEMSignTx) ProtoMessage

func (*NEMSignTx) ProtoMessage()

func (*NEMSignTx) Reset

func (m *NEMSignTx) Reset()

func (*NEMSignTx) String

func (m *NEMSignTx) String() string

func (*NEMSignTx) XXX_DiscardUnknown

func (m *NEMSignTx) XXX_DiscardUnknown()

func (*NEMSignTx) XXX_Marshal

func (m *NEMSignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NEMSignTx) XXX_Merge

func (dst *NEMSignTx) XXX_Merge(src proto.Message)

func (*NEMSignTx) XXX_Size

func (m *NEMSignTx) XXX_Size() int

func (*NEMSignTx) XXX_Unmarshal

func (m *NEMSignTx) XXX_Unmarshal(b []byte) error

type NEMSignedTx

type NEMSignedTx struct {
	Data                 []byte   `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Contains NEM transaction data and signature @prev NEMSignTx

func (*NEMSignedTx) Descriptor

func (*NEMSignedTx) Descriptor() ([]byte, []int)

func (*NEMSignedTx) GetData

func (m *NEMSignedTx) GetData() []byte

func (*NEMSignedTx) GetSignature

func (m *NEMSignedTx) GetSignature() []byte

func (*NEMSignedTx) ProtoMessage

func (*NEMSignedTx) ProtoMessage()

func (*NEMSignedTx) Reset

func (m *NEMSignedTx) Reset()

func (*NEMSignedTx) String

func (m *NEMSignedTx) String() string

func (*NEMSignedTx) XXX_DiscardUnknown

func (m *NEMSignedTx) XXX_DiscardUnknown()

func (*NEMSignedTx) XXX_Marshal

func (m *NEMSignedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NEMSignedTx) XXX_Merge

func (dst *NEMSignedTx) XXX_Merge(src proto.Message)

func (*NEMSignedTx) XXX_Size

func (m *NEMSignedTx) XXX_Size() int

func (*NEMSignedTx) XXX_Unmarshal

func (m *NEMSignedTx) XXX_Unmarshal(b []byte) error

type PassphraseAck

type PassphraseAck struct {
	Passphrase           *string  `protobuf:"bytes,1,req,name=passphrase" json:"passphrase,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Send passphrase back @prev PassphraseRequest

func (*PassphraseAck) Descriptor

func (*PassphraseAck) Descriptor() ([]byte, []int)

func (*PassphraseAck) GetPassphrase

func (m *PassphraseAck) GetPassphrase() string

func (*PassphraseAck) ProtoMessage

func (*PassphraseAck) ProtoMessage()

func (*PassphraseAck) Reset

func (m *PassphraseAck) Reset()

func (*PassphraseAck) String

func (m *PassphraseAck) String() string

func (*PassphraseAck) XXX_DiscardUnknown

func (m *PassphraseAck) XXX_DiscardUnknown()

func (*PassphraseAck) XXX_Marshal

func (m *PassphraseAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PassphraseAck) XXX_Merge

func (dst *PassphraseAck) XXX_Merge(src proto.Message)

func (*PassphraseAck) XXX_Size

func (m *PassphraseAck) XXX_Size() int

func (*PassphraseAck) XXX_Unmarshal

func (m *PassphraseAck) XXX_Unmarshal(b []byte) error

type PassphraseRequest

type PassphraseRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Device awaits encryption passphrase @next PassphraseAck @next Cancel

func (*PassphraseRequest) Descriptor

func (*PassphraseRequest) Descriptor() ([]byte, []int)

func (*PassphraseRequest) ProtoMessage

func (*PassphraseRequest) ProtoMessage()

func (*PassphraseRequest) Reset

func (m *PassphraseRequest) Reset()

func (*PassphraseRequest) String

func (m *PassphraseRequest) String() string

func (*PassphraseRequest) XXX_DiscardUnknown

func (m *PassphraseRequest) XXX_DiscardUnknown()

func (*PassphraseRequest) XXX_Marshal

func (m *PassphraseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PassphraseRequest) XXX_Merge

func (dst *PassphraseRequest) XXX_Merge(src proto.Message)

func (*PassphraseRequest) XXX_Size

func (m *PassphraseRequest) XXX_Size() int

func (*PassphraseRequest) XXX_Unmarshal

func (m *PassphraseRequest) XXX_Unmarshal(b []byte) error

type PinMatrixAck

type PinMatrixAck struct {
	Pin                  *string  `protobuf:"bytes,1,req,name=pin" json:"pin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Computer responds with encoded PIN @prev PinMatrixRequest

func (*PinMatrixAck) Descriptor

func (*PinMatrixAck) Descriptor() ([]byte, []int)

func (*PinMatrixAck) GetPin

func (m *PinMatrixAck) GetPin() string

func (*PinMatrixAck) ProtoMessage

func (*PinMatrixAck) ProtoMessage()

func (*PinMatrixAck) Reset

func (m *PinMatrixAck) Reset()

func (*PinMatrixAck) String

func (m *PinMatrixAck) String() string

func (*PinMatrixAck) XXX_DiscardUnknown

func (m *PinMatrixAck) XXX_DiscardUnknown()

func (*PinMatrixAck) XXX_Marshal

func (m *PinMatrixAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PinMatrixAck) XXX_Merge

func (dst *PinMatrixAck) XXX_Merge(src proto.Message)

func (*PinMatrixAck) XXX_Size

func (m *PinMatrixAck) XXX_Size() int

func (*PinMatrixAck) XXX_Unmarshal

func (m *PinMatrixAck) XXX_Unmarshal(b []byte) error

type PinMatrixRequest

type PinMatrixRequest struct {
	Type                 *types.PinMatrixRequestType `protobuf:"varint,1,opt,name=type,enum=PinMatrixRequestType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

* Response: Device is asking computer to show PIN matrix and awaits PIN encoded using this matrix scheme @next PinMatrixAck @next Cancel

func (*PinMatrixRequest) Descriptor

func (*PinMatrixRequest) Descriptor() ([]byte, []int)

func (*PinMatrixRequest) GetType

func (*PinMatrixRequest) ProtoMessage

func (*PinMatrixRequest) ProtoMessage()

func (*PinMatrixRequest) Reset

func (m *PinMatrixRequest) Reset()

func (*PinMatrixRequest) String

func (m *PinMatrixRequest) String() string

func (*PinMatrixRequest) XXX_DiscardUnknown

func (m *PinMatrixRequest) XXX_DiscardUnknown()

func (*PinMatrixRequest) XXX_Marshal

func (m *PinMatrixRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PinMatrixRequest) XXX_Merge

func (dst *PinMatrixRequest) XXX_Merge(src proto.Message)

func (*PinMatrixRequest) XXX_Size

func (m *PinMatrixRequest) XXX_Size() int

func (*PinMatrixRequest) XXX_Unmarshal

func (m *PinMatrixRequest) XXX_Unmarshal(b []byte) error

type Ping

type Ping struct {
	Message              *string  `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
	ButtonProtection     *bool    `protobuf:"varint,2,opt,name=button_protection,json=buttonProtection" json:"button_protection,omitempty"`
	PinProtection        *bool    `protobuf:"varint,3,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
	PassphraseProtection *bool    `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Test if the device is alive, device sends back the message in Success response @next Success

func (*Ping) Descriptor

func (*Ping) Descriptor() ([]byte, []int)

func (*Ping) GetButtonProtection

func (m *Ping) GetButtonProtection() bool

func (*Ping) GetMessage

func (m *Ping) GetMessage() string

func (*Ping) GetPassphraseProtection

func (m *Ping) GetPassphraseProtection() bool

func (*Ping) GetPinProtection

func (m *Ping) GetPinProtection() bool

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) Reset

func (m *Ping) Reset()

func (*Ping) String

func (m *Ping) String() string

func (*Ping) XXX_DiscardUnknown

func (m *Ping) XXX_DiscardUnknown()

func (*Ping) XXX_Marshal

func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ping) XXX_Merge

func (dst *Ping) XXX_Merge(src proto.Message)

func (*Ping) XXX_Size

func (m *Ping) XXX_Size() int

func (*Ping) XXX_Unmarshal

func (m *Ping) XXX_Unmarshal(b []byte) error

type PublicKey

type PublicKey struct {
	Node                 *types.HDNodeType `protobuf:"bytes,1,req,name=node" json:"node,omitempty"`
	Xpub                 *string           `protobuf:"bytes,2,opt,name=xpub" json:"xpub,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

* Response: Contains public key derived from device private seed @prev GetPublicKey

func (*PublicKey) Descriptor

func (*PublicKey) Descriptor() ([]byte, []int)

func (*PublicKey) GetNode

func (m *PublicKey) GetNode() *types.HDNodeType

func (*PublicKey) GetXpub

func (m *PublicKey) GetXpub() string

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) Reset

func (m *PublicKey) Reset()

func (*PublicKey) String

func (m *PublicKey) String() string

func (*PublicKey) XXX_DiscardUnknown

func (m *PublicKey) XXX_DiscardUnknown()

func (*PublicKey) XXX_Marshal

func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKey) XXX_Merge

func (dst *PublicKey) XXX_Merge(src proto.Message)

func (*PublicKey) XXX_Size

func (m *PublicKey) XXX_Size() int

func (*PublicKey) XXX_Unmarshal

func (m *PublicKey) XXX_Unmarshal(b []byte) error

type RecoveryDevice

type RecoveryDevice struct {
	WordCount            *uint32 `protobuf:"varint,1,opt,name=word_count,json=wordCount" json:"word_count,omitempty"`
	PassphraseProtection *bool   `protobuf:"varint,2,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
	PinProtection        *bool   `protobuf:"varint,3,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
	Language             *string `protobuf:"bytes,4,opt,name=language,def=english" json:"language,omitempty"`
	Label                *string `protobuf:"bytes,5,opt,name=label" json:"label,omitempty"`
	EnforceWordlist      *bool   `protobuf:"varint,6,opt,name=enforce_wordlist,json=enforceWordlist" json:"enforce_wordlist,omitempty"`
	// 7 reserved for unused recovery method
	Type                 *uint32  `protobuf:"varint,8,opt,name=type" json:"type,omitempty"`
	U2FCounter           *uint32  `protobuf:"varint,9,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
	DryRun               *bool    `protobuf:"varint,10,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Start recovery workflow asking user for specific words of mnemonic Used to recovery device safely even on untrusted computer. @next WordRequest

func (*RecoveryDevice) Descriptor

func (*RecoveryDevice) Descriptor() ([]byte, []int)

func (*RecoveryDevice) GetDryRun

func (m *RecoveryDevice) GetDryRun() bool

func (*RecoveryDevice) GetEnforceWordlist

func (m *RecoveryDevice) GetEnforceWordlist() bool

func (*RecoveryDevice) GetLabel

func (m *RecoveryDevice) GetLabel() string

func (*RecoveryDevice) GetLanguage

func (m *RecoveryDevice) GetLanguage() string

func (*RecoveryDevice) GetPassphraseProtection

func (m *RecoveryDevice) GetPassphraseProtection() bool

func (*RecoveryDevice) GetPinProtection

func (m *RecoveryDevice) GetPinProtection() bool

func (*RecoveryDevice) GetType

func (m *RecoveryDevice) GetType() uint32

func (*RecoveryDevice) GetU2FCounter

func (m *RecoveryDevice) GetU2FCounter() uint32

func (*RecoveryDevice) GetWordCount

func (m *RecoveryDevice) GetWordCount() uint32

func (*RecoveryDevice) ProtoMessage

func (*RecoveryDevice) ProtoMessage()

func (*RecoveryDevice) Reset

func (m *RecoveryDevice) Reset()

func (*RecoveryDevice) String

func (m *RecoveryDevice) String() string

func (*RecoveryDevice) XXX_DiscardUnknown

func (m *RecoveryDevice) XXX_DiscardUnknown()

func (*RecoveryDevice) XXX_Marshal

func (m *RecoveryDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecoveryDevice) XXX_Merge

func (dst *RecoveryDevice) XXX_Merge(src proto.Message)

func (*RecoveryDevice) XXX_Size

func (m *RecoveryDevice) XXX_Size() int

func (*RecoveryDevice) XXX_Unmarshal

func (m *RecoveryDevice) XXX_Unmarshal(b []byte) error

type ResetDevice

type ResetDevice struct {
	DisplayRandom        *bool    `protobuf:"varint,1,opt,name=display_random,json=displayRandom" json:"display_random,omitempty"`
	Strength             *uint32  `protobuf:"varint,2,opt,name=strength,def=256" json:"strength,omitempty"`
	PassphraseProtection *bool    `protobuf:"varint,3,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"`
	PinProtection        *bool    `protobuf:"varint,4,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"`
	Language             *string  `protobuf:"bytes,5,opt,name=language,def=english" json:"language,omitempty"`
	Label                *string  `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"`
	U2FCounter           *uint32  `protobuf:"varint,7,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
	SkipBackup           *bool    `protobuf:"varint,8,opt,name=skip_backup,json=skipBackup" json:"skip_backup,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to do initialization involving user interaction @next EntropyRequest @next Failure

func (*ResetDevice) Descriptor

func (*ResetDevice) Descriptor() ([]byte, []int)

func (*ResetDevice) GetDisplayRandom

func (m *ResetDevice) GetDisplayRandom() bool

func (*ResetDevice) GetLabel

func (m *ResetDevice) GetLabel() string

func (*ResetDevice) GetLanguage

func (m *ResetDevice) GetLanguage() string

func (*ResetDevice) GetPassphraseProtection

func (m *ResetDevice) GetPassphraseProtection() bool

func (*ResetDevice) GetPinProtection

func (m *ResetDevice) GetPinProtection() bool

func (*ResetDevice) GetSkipBackup

func (m *ResetDevice) GetSkipBackup() bool

func (*ResetDevice) GetStrength

func (m *ResetDevice) GetStrength() uint32

func (*ResetDevice) GetU2FCounter

func (m *ResetDevice) GetU2FCounter() uint32

func (*ResetDevice) ProtoMessage

func (*ResetDevice) ProtoMessage()

func (*ResetDevice) Reset

func (m *ResetDevice) Reset()

func (*ResetDevice) String

func (m *ResetDevice) String() string

func (*ResetDevice) XXX_DiscardUnknown

func (m *ResetDevice) XXX_DiscardUnknown()

func (*ResetDevice) XXX_Marshal

func (m *ResetDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetDevice) XXX_Merge

func (dst *ResetDevice) XXX_Merge(src proto.Message)

func (*ResetDevice) XXX_Size

func (m *ResetDevice) XXX_Size() int

func (*ResetDevice) XXX_Unmarshal

func (m *ResetDevice) XXX_Unmarshal(b []byte) error

type SelfTest

type SelfTest struct {
	Payload              []byte   `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Perform a device self-test @next Success @next Failure

func (*SelfTest) Descriptor

func (*SelfTest) Descriptor() ([]byte, []int)

func (*SelfTest) GetPayload

func (m *SelfTest) GetPayload() []byte

func (*SelfTest) ProtoMessage

func (*SelfTest) ProtoMessage()

func (*SelfTest) Reset

func (m *SelfTest) Reset()

func (*SelfTest) String

func (m *SelfTest) String() string

func (*SelfTest) XXX_DiscardUnknown

func (m *SelfTest) XXX_DiscardUnknown()

func (*SelfTest) XXX_Marshal

func (m *SelfTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelfTest) XXX_Merge

func (dst *SelfTest) XXX_Merge(src proto.Message)

func (*SelfTest) XXX_Size

func (m *SelfTest) XXX_Size() int

func (*SelfTest) XXX_Unmarshal

func (m *SelfTest) XXX_Unmarshal(b []byte) error

type SetU2FCounter

type SetU2FCounter struct {
	U2FCounter           *uint32  `protobuf:"varint,1,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Set U2F counter @next Success

func (*SetU2FCounter) Descriptor

func (*SetU2FCounter) Descriptor() ([]byte, []int)

func (*SetU2FCounter) GetU2FCounter

func (m *SetU2FCounter) GetU2FCounter() uint32

func (*SetU2FCounter) ProtoMessage

func (*SetU2FCounter) ProtoMessage()

func (*SetU2FCounter) Reset

func (m *SetU2FCounter) Reset()

func (*SetU2FCounter) String

func (m *SetU2FCounter) String() string

func (*SetU2FCounter) XXX_DiscardUnknown

func (m *SetU2FCounter) XXX_DiscardUnknown()

func (*SetU2FCounter) XXX_Marshal

func (m *SetU2FCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetU2FCounter) XXX_Merge

func (dst *SetU2FCounter) XXX_Merge(src proto.Message)

func (*SetU2FCounter) XXX_Size

func (m *SetU2FCounter) XXX_Size() int

func (*SetU2FCounter) XXX_Unmarshal

func (m *SetU2FCounter) XXX_Unmarshal(b []byte) error

type SignIdentity

type SignIdentity struct {
	Identity             *types.IdentityType `protobuf:"bytes,1,opt,name=identity" json:"identity,omitempty"`
	ChallengeHidden      []byte              `protobuf:"bytes,2,opt,name=challenge_hidden,json=challengeHidden" json:"challenge_hidden,omitempty"`
	ChallengeVisual      *string             `protobuf:"bytes,3,opt,name=challenge_visual,json=challengeVisual" json:"challenge_visual,omitempty"`
	EcdsaCurveName       *string             `protobuf:"bytes,4,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

* Request: Ask device to sign identity @next SignedIdentity @next Failure

func (*SignIdentity) Descriptor

func (*SignIdentity) Descriptor() ([]byte, []int)

func (*SignIdentity) GetChallengeHidden

func (m *SignIdentity) GetChallengeHidden() []byte

func (*SignIdentity) GetChallengeVisual

func (m *SignIdentity) GetChallengeVisual() string

func (*SignIdentity) GetEcdsaCurveName

func (m *SignIdentity) GetEcdsaCurveName() string

func (*SignIdentity) GetIdentity

func (m *SignIdentity) GetIdentity() *types.IdentityType

func (*SignIdentity) ProtoMessage

func (*SignIdentity) ProtoMessage()

func (*SignIdentity) Reset

func (m *SignIdentity) Reset()

func (*SignIdentity) String

func (m *SignIdentity) String() string

func (*SignIdentity) XXX_DiscardUnknown

func (m *SignIdentity) XXX_DiscardUnknown()

func (*SignIdentity) XXX_Marshal

func (m *SignIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignIdentity) XXX_Merge

func (dst *SignIdentity) XXX_Merge(src proto.Message)

func (*SignIdentity) XXX_Size

func (m *SignIdentity) XXX_Size() int

func (*SignIdentity) XXX_Unmarshal

func (m *SignIdentity) XXX_Unmarshal(b []byte) error

type SignMessage

type SignMessage struct {
	AddressN             []uint32               `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"`
	Message              []byte                 `protobuf:"bytes,2,req,name=message" json:"message,omitempty"`
	CoinName             *string                `protobuf:"bytes,3,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
	ScriptType           *types.InputScriptType `protobuf:"varint,4,opt,name=script_type,json=scriptType,enum=InputScriptType,def=0" json:"script_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

* Request: Ask device to sign message @next MessageSignature @next Failure

func (*SignMessage) Descriptor

func (*SignMessage) Descriptor() ([]byte, []int)

func (*SignMessage) GetAddressN

func (m *SignMessage) GetAddressN() []uint32

func (*SignMessage) GetCoinName

func (m *SignMessage) GetCoinName() string

func (*SignMessage) GetMessage

func (m *SignMessage) GetMessage() []byte

func (*SignMessage) GetScriptType

func (m *SignMessage) GetScriptType() types.InputScriptType

func (*SignMessage) ProtoMessage

func (*SignMessage) ProtoMessage()

func (*SignMessage) Reset

func (m *SignMessage) Reset()

func (*SignMessage) String

func (m *SignMessage) String() string

func (*SignMessage) XXX_DiscardUnknown

func (m *SignMessage) XXX_DiscardUnknown()

func (*SignMessage) XXX_Marshal

func (m *SignMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignMessage) XXX_Merge

func (dst *SignMessage) XXX_Merge(src proto.Message)

func (*SignMessage) XXX_Size

func (m *SignMessage) XXX_Size() int

func (*SignMessage) XXX_Unmarshal

func (m *SignMessage) XXX_Unmarshal(b []byte) error

type SignTx

type SignTx struct {
	OutputsCount         *uint32  `protobuf:"varint,1,req,name=outputs_count,json=outputsCount" json:"outputs_count,omitempty"`
	InputsCount          *uint32  `protobuf:"varint,2,req,name=inputs_count,json=inputsCount" json:"inputs_count,omitempty"`
	CoinName             *string  `protobuf:"bytes,3,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
	Version              *uint32  `protobuf:"varint,4,opt,name=version,def=1" json:"version,omitempty"`
	LockTime             *uint32  `protobuf:"varint,5,opt,name=lock_time,json=lockTime,def=0" json:"lock_time,omitempty"`
	DecredExpiry         *uint32  `protobuf:"varint,6,opt,name=decred_expiry,json=decredExpiry" json:"decred_expiry,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to sign transaction @next PassphraseRequest @next PinMatrixRequest @next TxRequest @next Failure

func (*SignTx) Descriptor

func (*SignTx) Descriptor() ([]byte, []int)

func (*SignTx) GetCoinName

func (m *SignTx) GetCoinName() string

func (*SignTx) GetDecredExpiry

func (m *SignTx) GetDecredExpiry() uint32

func (*SignTx) GetInputsCount

func (m *SignTx) GetInputsCount() uint32

func (*SignTx) GetLockTime

func (m *SignTx) GetLockTime() uint32

func (*SignTx) GetOutputsCount

func (m *SignTx) GetOutputsCount() uint32

func (*SignTx) GetVersion

func (m *SignTx) GetVersion() uint32

func (*SignTx) ProtoMessage

func (*SignTx) ProtoMessage()

func (*SignTx) Reset

func (m *SignTx) Reset()

func (*SignTx) String

func (m *SignTx) String() string

func (*SignTx) XXX_DiscardUnknown

func (m *SignTx) XXX_DiscardUnknown()

func (*SignTx) XXX_Marshal

func (m *SignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignTx) XXX_Merge

func (dst *SignTx) XXX_Merge(src proto.Message)

func (*SignTx) XXX_Size

func (m *SignTx) XXX_Size() int

func (*SignTx) XXX_Unmarshal

func (m *SignTx) XXX_Unmarshal(b []byte) error

type SignedIdentity

type SignedIdentity struct {
	Address              *string  `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,2,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
	Signature            []byte   `protobuf:"bytes,3,opt,name=signature" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Device provides signed identity @prev SignIdentity

func (*SignedIdentity) Descriptor

func (*SignedIdentity) Descriptor() ([]byte, []int)

func (*SignedIdentity) GetAddress

func (m *SignedIdentity) GetAddress() string

func (*SignedIdentity) GetPublicKey

func (m *SignedIdentity) GetPublicKey() []byte

func (*SignedIdentity) GetSignature

func (m *SignedIdentity) GetSignature() []byte

func (*SignedIdentity) ProtoMessage

func (*SignedIdentity) ProtoMessage()

func (*SignedIdentity) Reset

func (m *SignedIdentity) Reset()

func (*SignedIdentity) String

func (m *SignedIdentity) String() string

func (*SignedIdentity) XXX_DiscardUnknown

func (m *SignedIdentity) XXX_DiscardUnknown()

func (*SignedIdentity) XXX_Marshal

func (m *SignedIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignedIdentity) XXX_Merge

func (dst *SignedIdentity) XXX_Merge(src proto.Message)

func (*SignedIdentity) XXX_Size

func (m *SignedIdentity) XXX_Size() int

func (*SignedIdentity) XXX_Unmarshal

func (m *SignedIdentity) XXX_Unmarshal(b []byte) error

type SimpleSignTx

type SimpleSignTx struct {
	Inputs               []*types.TxInputType     `protobuf:"bytes,1,rep,name=inputs" json:"inputs,omitempty"`
	Outputs              []*types.TxOutputType    `protobuf:"bytes,2,rep,name=outputs" json:"outputs,omitempty"`
	Transactions         []*types.TransactionType `protobuf:"bytes,3,rep,name=transactions" json:"transactions,omitempty"`
	CoinName             *string                  `protobuf:"bytes,4,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
	Version              *uint32                  `protobuf:"varint,5,opt,name=version,def=1" json:"version,omitempty"`
	LockTime             *uint32                  `protobuf:"varint,6,opt,name=lock_time,json=lockTime,def=0" json:"lock_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

* Request: Simplified transaction signing This method doesn't support streaming, so there are hardware limits in number of inputs and outputs. In case of success, the result is returned using TxRequest message. @next PassphraseRequest @next PinMatrixRequest @next TxRequest @next Failure

func (*SimpleSignTx) Descriptor

func (*SimpleSignTx) Descriptor() ([]byte, []int)

func (*SimpleSignTx) GetCoinName

func (m *SimpleSignTx) GetCoinName() string

func (*SimpleSignTx) GetInputs

func (m *SimpleSignTx) GetInputs() []*types.TxInputType

func (*SimpleSignTx) GetLockTime

func (m *SimpleSignTx) GetLockTime() uint32

func (*SimpleSignTx) GetOutputs

func (m *SimpleSignTx) GetOutputs() []*types.TxOutputType

func (*SimpleSignTx) GetTransactions

func (m *SimpleSignTx) GetTransactions() []*types.TransactionType

func (*SimpleSignTx) GetVersion

func (m *SimpleSignTx) GetVersion() uint32

func (*SimpleSignTx) ProtoMessage

func (*SimpleSignTx) ProtoMessage()

func (*SimpleSignTx) Reset

func (m *SimpleSignTx) Reset()

func (*SimpleSignTx) String

func (m *SimpleSignTx) String() string

func (*SimpleSignTx) XXX_DiscardUnknown

func (m *SimpleSignTx) XXX_DiscardUnknown()

func (*SimpleSignTx) XXX_Marshal

func (m *SimpleSignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SimpleSignTx) XXX_Merge

func (dst *SimpleSignTx) XXX_Merge(src proto.Message)

func (*SimpleSignTx) XXX_Size

func (m *SimpleSignTx) XXX_Size() int

func (*SimpleSignTx) XXX_Unmarshal

func (m *SimpleSignTx) XXX_Unmarshal(b []byte) error

type Success

type Success struct {
	Message              *string  `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Success of the previous request

func (*Success) Descriptor

func (*Success) Descriptor() ([]byte, []int)

func (*Success) GetMessage

func (m *Success) GetMessage() string

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) Reset

func (m *Success) Reset()

func (*Success) String

func (m *Success) String() string

func (*Success) XXX_DiscardUnknown

func (m *Success) XXX_DiscardUnknown()

func (*Success) XXX_Marshal

func (m *Success) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Success) XXX_Merge

func (dst *Success) XXX_Merge(src proto.Message)

func (*Success) XXX_Size

func (m *Success) XXX_Size() int

func (*Success) XXX_Unmarshal

func (m *Success) XXX_Unmarshal(b []byte) error

type TxAck

type TxAck struct {
	Tx                   *types.TransactionType `protobuf:"bytes,1,opt,name=tx" json:"tx,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

* Request: Reported transaction data @prev TxRequest @next TxRequest

func (*TxAck) Descriptor

func (*TxAck) Descriptor() ([]byte, []int)

func (*TxAck) GetTx

func (m *TxAck) GetTx() *types.TransactionType

func (*TxAck) ProtoMessage

func (*TxAck) ProtoMessage()

func (*TxAck) Reset

func (m *TxAck) Reset()

func (*TxAck) String

func (m *TxAck) String() string

func (*TxAck) XXX_DiscardUnknown

func (m *TxAck) XXX_DiscardUnknown()

func (*TxAck) XXX_Marshal

func (m *TxAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxAck) XXX_Merge

func (dst *TxAck) XXX_Merge(src proto.Message)

func (*TxAck) XXX_Size

func (m *TxAck) XXX_Size() int

func (*TxAck) XXX_Unmarshal

func (m *TxAck) XXX_Unmarshal(b []byte) error

type TxRequest

type TxRequest struct {
	RequestType          *types.RequestType             `protobuf:"varint,1,opt,name=request_type,json=requestType,enum=RequestType" json:"request_type,omitempty"`
	Details              *types.TxRequestDetailsType    `protobuf:"bytes,2,opt,name=details" json:"details,omitempty"`
	Serialized           *types.TxRequestSerializedType `protobuf:"bytes,3,opt,name=serialized" json:"serialized,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

* Response: Device asks for information for signing transaction or returns the last result If request_index is set, device awaits TxAck message (with fields filled in according to request_type) If signature_index is set, 'signature' contains signed input of signature_index's input @prev SignTx @prev SimpleSignTx @prev TxAck

func (*TxRequest) Descriptor

func (*TxRequest) Descriptor() ([]byte, []int)

func (*TxRequest) GetDetails

func (m *TxRequest) GetDetails() *types.TxRequestDetailsType

func (*TxRequest) GetRequestType

func (m *TxRequest) GetRequestType() types.RequestType

func (*TxRequest) GetSerialized

func (m *TxRequest) GetSerialized() *types.TxRequestSerializedType

func (*TxRequest) ProtoMessage

func (*TxRequest) ProtoMessage()

func (*TxRequest) Reset

func (m *TxRequest) Reset()

func (*TxRequest) String

func (m *TxRequest) String() string

func (*TxRequest) XXX_DiscardUnknown

func (m *TxRequest) XXX_DiscardUnknown()

func (*TxRequest) XXX_Marshal

func (m *TxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxRequest) XXX_Merge

func (dst *TxRequest) XXX_Merge(src proto.Message)

func (*TxRequest) XXX_Size

func (m *TxRequest) XXX_Size() int

func (*TxRequest) XXX_Unmarshal

func (m *TxRequest) XXX_Unmarshal(b []byte) error

type TxSize

type TxSize struct {
	TxSize               *uint32  `protobuf:"varint,1,opt,name=tx_size,json=txSize" json:"tx_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Response: Estimated size of the transaction @prev EstimateTxSize

func (*TxSize) Descriptor

func (*TxSize) Descriptor() ([]byte, []int)

func (*TxSize) GetTxSize

func (m *TxSize) GetTxSize() uint32

func (*TxSize) ProtoMessage

func (*TxSize) ProtoMessage()

func (*TxSize) Reset

func (m *TxSize) Reset()

func (*TxSize) String

func (m *TxSize) String() string

func (*TxSize) XXX_DiscardUnknown

func (m *TxSize) XXX_DiscardUnknown()

func (*TxSize) XXX_Marshal

func (m *TxSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxSize) XXX_Merge

func (dst *TxSize) XXX_Merge(src proto.Message)

func (*TxSize) XXX_Size

func (m *TxSize) XXX_Size() int

func (*TxSize) XXX_Unmarshal

func (m *TxSize) XXX_Unmarshal(b []byte) error

type VerifyMessage

type VerifyMessage struct {
	Address              *string  `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	Message              []byte   `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	CoinName             *string  `protobuf:"bytes,4,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Ask device to verify message @next Success @next Failure

func (*VerifyMessage) Descriptor

func (*VerifyMessage) Descriptor() ([]byte, []int)

func (*VerifyMessage) GetAddress

func (m *VerifyMessage) GetAddress() string

func (*VerifyMessage) GetCoinName

func (m *VerifyMessage) GetCoinName() string

func (*VerifyMessage) GetMessage

func (m *VerifyMessage) GetMessage() []byte

func (*VerifyMessage) GetSignature

func (m *VerifyMessage) GetSignature() []byte

func (*VerifyMessage) ProtoMessage

func (*VerifyMessage) ProtoMessage()

func (*VerifyMessage) Reset

func (m *VerifyMessage) Reset()

func (*VerifyMessage) String

func (m *VerifyMessage) String() string

func (*VerifyMessage) XXX_DiscardUnknown

func (m *VerifyMessage) XXX_DiscardUnknown()

func (*VerifyMessage) XXX_Marshal

func (m *VerifyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyMessage) XXX_Merge

func (dst *VerifyMessage) XXX_Merge(src proto.Message)

func (*VerifyMessage) XXX_Size

func (m *VerifyMessage) XXX_Size() int

func (*VerifyMessage) XXX_Unmarshal

func (m *VerifyMessage) XXX_Unmarshal(b []byte) error

type WipeDevice

type WipeDevice struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Request device to wipe all sensitive data and settings @next ButtonRequest

func (*WipeDevice) Descriptor

func (*WipeDevice) Descriptor() ([]byte, []int)

func (*WipeDevice) ProtoMessage

func (*WipeDevice) ProtoMessage()

func (*WipeDevice) Reset

func (m *WipeDevice) Reset()

func (*WipeDevice) String

func (m *WipeDevice) String() string

func (*WipeDevice) XXX_DiscardUnknown

func (m *WipeDevice) XXX_DiscardUnknown()

func (*WipeDevice) XXX_Marshal

func (m *WipeDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WipeDevice) XXX_Merge

func (dst *WipeDevice) XXX_Merge(src proto.Message)

func (*WipeDevice) XXX_Size

func (m *WipeDevice) XXX_Size() int

func (*WipeDevice) XXX_Unmarshal

func (m *WipeDevice) XXX_Unmarshal(b []byte) error

type WordAck

type WordAck struct {
	Word                 *string  `protobuf:"bytes,1,req,name=word" json:"word,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* Request: Computer replies with word from the mnemonic @prev WordRequest @next WordRequest @next Success @next Failure

func (*WordAck) Descriptor

func (*WordAck) Descriptor() ([]byte, []int)

func (*WordAck) GetWord

func (m *WordAck) GetWord() string

func (*WordAck) ProtoMessage

func (*WordAck) ProtoMessage()

func (*WordAck) Reset

func (m *WordAck) Reset()

func (*WordAck) String

func (m *WordAck) String() string

func (*WordAck) XXX_DiscardUnknown

func (m *WordAck) XXX_DiscardUnknown()

func (*WordAck) XXX_Marshal

func (m *WordAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WordAck) XXX_Merge

func (dst *WordAck) XXX_Merge(src proto.Message)

func (*WordAck) XXX_Size

func (m *WordAck) XXX_Size() int

func (*WordAck) XXX_Unmarshal

func (m *WordAck) XXX_Unmarshal(b []byte) error

type WordRequest

type WordRequest struct {
	Type                 *types.WordRequestType `protobuf:"varint,1,opt,name=type,enum=WordRequestType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

* Response: Device is waiting for user to enter word of the mnemonic Its position is shown only on device's internal display. @prev RecoveryDevice @prev WordAck

func (*WordRequest) Descriptor

func (*WordRequest) Descriptor() ([]byte, []int)

func (*WordRequest) GetType

func (m *WordRequest) GetType() types.WordRequestType

func (*WordRequest) ProtoMessage

func (*WordRequest) ProtoMessage()

func (*WordRequest) Reset

func (m *WordRequest) Reset()

func (*WordRequest) String

func (m *WordRequest) String() string

func (*WordRequest) XXX_DiscardUnknown

func (m *WordRequest) XXX_DiscardUnknown()

func (*WordRequest) XXX_Marshal

func (m *WordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WordRequest) XXX_Merge

func (dst *WordRequest) XXX_Merge(src proto.Message)

func (*WordRequest) XXX_Size

func (m *WordRequest) XXX_Size() int

func (*WordRequest) XXX_Unmarshal

func (m *WordRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL