messages

package
v4.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package messages is a generated protocol buffer package.

It is generated from these files:

messages/hww.proto

It has these top-level messages:

Error
Success
RandomNumberResponse
RandomNumberRequest
DeviceInfoRequest
DeviceInfoResponse
SetDeviceNameRequest
SetDeviceLanguageRequest
SetPasswordRequest
CreateBackupRequest
RestoreBackupRequest
ListBackupsRequest
CheckBackupRequest
CheckBackupResponse
ShowMnemonicRequest
InsertRemoveSDCardRequest
CheckSDCardRequest
CheckSDCardResponse
BTCPubRequest
PubResponse
BackupInfo
ListBackupsResponse
BTCSignInitRequest
BTCSignNextResponse
BTCSignInputRequest
BTCSignOutputRequest
SetMnemonicPassphraseEnabledRequest
PerformAttestationRequest
PerformAttestationResponse
RebootRequest
ETHPubRequest
ETHSignRequest
ETHSignResponse
ETHRequest
ETHResponse
ResetRequest
RestoreFromMnemonicRequest
Request
Response

Index

Constants

This section is empty.

Variables

View Source
var BTCCoin_name = map[int32]string{
	0: "BTC",
	1: "TBTC",
	2: "LTC",
	3: "TLTC",
}
View Source
var BTCCoin_value = map[string]int32{
	"BTC":  0,
	"TBTC": 1,
	"LTC":  2,
	"TLTC": 3,
}
View Source
var BTCOutputType_name = map[int32]string{
	0: "UNKNOWN",
	1: "P2PKH",
	2: "P2SH",
	3: "P2WPKH",
	4: "P2WSH",
}
View Source
var BTCOutputType_value = map[string]int32{
	"UNKNOWN": 0,
	"P2PKH":   1,
	"P2SH":    2,
	"P2WPKH":  3,
	"P2WSH":   4,
}
View Source
var BTCPubRequest_OutputType_name = map[int32]string{
	0: "TPUB",
	1: "XPUB",
	2: "YPUB",
	3: "ZPUB",
	4: "ADDRESS",
}
View Source
var BTCPubRequest_OutputType_value = map[string]int32{
	"TPUB":    0,
	"XPUB":    1,
	"YPUB":    2,
	"ZPUB":    3,
	"ADDRESS": 4,
}
View Source
var BTCScriptType_name = map[int32]string{
	0: "SCRIPT_UNKNOWN",
	1: "SCRIPT_P2PKH",
	2: "SCRIPT_P2WPKH_P2SH",
	3: "SCRIPT_P2WPKH",
}
View Source
var BTCScriptType_value = map[string]int32{
	"SCRIPT_UNKNOWN":     0,
	"SCRIPT_P2PKH":       1,
	"SCRIPT_P2WPKH_P2SH": 2,
	"SCRIPT_P2WPKH":      3,
}
View Source
var BTCSignNextResponse_Type_name = map[int32]string{
	0: "INPUT",
	1: "OUTPUT",
	2: "DONE",
}
View Source
var BTCSignNextResponse_Type_value = map[string]int32{
	"INPUT":  0,
	"OUTPUT": 1,
	"DONE":   2,
}
View Source
var ETHCoin_name = map[int32]string{
	0: "ETH",
	1: "RopstenETH",
	2: "RinkebyETH",
}
View Source
var ETHCoin_value = map[string]int32{
	"ETH":        0,
	"RopstenETH": 1,
	"RinkebyETH": 2,
}
View Source
var ETHPubRequest_OutputType_name = map[int32]string{
	0: "ADDRESS",
	1: "XPUB",
}
View Source
var ETHPubRequest_OutputType_value = map[string]int32{
	"ADDRESS": 0,
	"XPUB":    1,
}
View Source
var InsertRemoveSDCardRequest_SDCardAction_name = map[int32]string{
	0: "REMOVE_CARD",
	1: "INSERT_CARD",
}
View Source
var InsertRemoveSDCardRequest_SDCardAction_value = map[string]int32{
	"REMOVE_CARD": 0,
	"INSERT_CARD": 1,
}

Functions

This section is empty.

Types

type BTCCoin

type BTCCoin int32
const (
	BTCCoin_BTC  BTCCoin = 0
	BTCCoin_TBTC BTCCoin = 1
	BTCCoin_LTC  BTCCoin = 2
	BTCCoin_TLTC BTCCoin = 3
)

func (BTCCoin) EnumDescriptor

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

func (BTCCoin) String

func (x BTCCoin) String() string

type BTCOutputType

type BTCOutputType int32
const (
	BTCOutputType_UNKNOWN BTCOutputType = 0
	BTCOutputType_P2PKH   BTCOutputType = 1
	BTCOutputType_P2SH    BTCOutputType = 2
	BTCOutputType_P2WPKH  BTCOutputType = 3
	BTCOutputType_P2WSH   BTCOutputType = 4
)

func (BTCOutputType) EnumDescriptor

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

func (BTCOutputType) String

func (x BTCOutputType) String() string

type BTCPubRequest

type BTCPubRequest struct {
	Keypath    []uint32                 `protobuf:"varint,1,rep,packed,name=keypath" json:"keypath,omitempty"`
	ScriptType BTCScriptType            `protobuf:"varint,2,opt,name=script_type,json=scriptType,enum=BTCScriptType" json:"script_type,omitempty"`
	Coin       BTCCoin                  `protobuf:"varint,3,opt,name=coin,enum=BTCCoin" json:"coin,omitempty"`
	OutputType BTCPubRequest_OutputType `protobuf:"varint,4,opt,name=output_type,json=outputType,enum=BTCPubRequest_OutputType" json:"output_type,omitempty"`
	Display    bool                     `protobuf:"varint,5,opt,name=display" json:"display,omitempty"`
}

func (*BTCPubRequest) Descriptor

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

func (*BTCPubRequest) GetCoin

func (m *BTCPubRequest) GetCoin() BTCCoin

func (*BTCPubRequest) GetDisplay

func (m *BTCPubRequest) GetDisplay() bool

func (*BTCPubRequest) GetKeypath

func (m *BTCPubRequest) GetKeypath() []uint32

func (*BTCPubRequest) GetOutputType

func (m *BTCPubRequest) GetOutputType() BTCPubRequest_OutputType

func (*BTCPubRequest) GetScriptType

func (m *BTCPubRequest) GetScriptType() BTCScriptType

func (*BTCPubRequest) ProtoMessage

func (*BTCPubRequest) ProtoMessage()

func (*BTCPubRequest) Reset

func (m *BTCPubRequest) Reset()

func (*BTCPubRequest) String

func (m *BTCPubRequest) String() string

type BTCPubRequest_OutputType

type BTCPubRequest_OutputType int32
const (
	BTCPubRequest_TPUB    BTCPubRequest_OutputType = 0
	BTCPubRequest_XPUB    BTCPubRequest_OutputType = 1
	BTCPubRequest_YPUB    BTCPubRequest_OutputType = 2
	BTCPubRequest_ZPUB    BTCPubRequest_OutputType = 3
	BTCPubRequest_ADDRESS BTCPubRequest_OutputType = 4
)

func (BTCPubRequest_OutputType) EnumDescriptor

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

func (BTCPubRequest_OutputType) String

func (x BTCPubRequest_OutputType) String() string

type BTCScriptType

type BTCScriptType int32
const (
	BTCScriptType_SCRIPT_UNKNOWN     BTCScriptType = 0
	BTCScriptType_SCRIPT_P2PKH       BTCScriptType = 1
	BTCScriptType_SCRIPT_P2WPKH_P2SH BTCScriptType = 2
	BTCScriptType_SCRIPT_P2WPKH      BTCScriptType = 3
)

func (BTCScriptType) EnumDescriptor

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

func (BTCScriptType) String

func (x BTCScriptType) String() string

type BTCSignInitRequest

type BTCSignInitRequest struct {
	Coin         BTCCoin       `protobuf:"varint,1,opt,name=coin,enum=BTCCoin" json:"coin,omitempty"`
	ScriptType   BTCScriptType `protobuf:"varint,2,opt,name=script_type,json=scriptType,enum=BTCScriptType" json:"script_type,omitempty"`
	Bip44Account uint32        `protobuf:"varint,3,opt,name=bip44_account,json=bip44Account" json:"bip44_account,omitempty"`
	Version      uint32        `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
	NumInputs    uint32        `protobuf:"varint,5,opt,name=num_inputs,json=numInputs" json:"num_inputs,omitempty"`
	NumOutputs   uint32        `protobuf:"varint,6,opt,name=num_outputs,json=numOutputs" json:"num_outputs,omitempty"`
	Locktime     uint32        `protobuf:"varint,7,opt,name=locktime" json:"locktime,omitempty"`
}

func (*BTCSignInitRequest) Descriptor

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

func (*BTCSignInitRequest) GetBip44Account

func (m *BTCSignInitRequest) GetBip44Account() uint32

func (*BTCSignInitRequest) GetCoin

func (m *BTCSignInitRequest) GetCoin() BTCCoin

func (*BTCSignInitRequest) GetLocktime

func (m *BTCSignInitRequest) GetLocktime() uint32

func (*BTCSignInitRequest) GetNumInputs

func (m *BTCSignInitRequest) GetNumInputs() uint32

func (*BTCSignInitRequest) GetNumOutputs

func (m *BTCSignInitRequest) GetNumOutputs() uint32

func (*BTCSignInitRequest) GetScriptType

func (m *BTCSignInitRequest) GetScriptType() BTCScriptType

func (*BTCSignInitRequest) GetVersion

func (m *BTCSignInitRequest) GetVersion() uint32

func (*BTCSignInitRequest) ProtoMessage

func (*BTCSignInitRequest) ProtoMessage()

func (*BTCSignInitRequest) Reset

func (m *BTCSignInitRequest) Reset()

func (*BTCSignInitRequest) String

func (m *BTCSignInitRequest) String() string

type BTCSignInputRequest

type BTCSignInputRequest struct {
	PrevOutHash  []byte   `protobuf:"bytes,1,opt,name=prevOutHash,proto3" json:"prevOutHash,omitempty"`
	PrevOutIndex uint32   `protobuf:"varint,2,opt,name=prevOutIndex" json:"prevOutIndex,omitempty"`
	PrevOutValue uint64   `protobuf:"varint,3,opt,name=prevOutValue" json:"prevOutValue,omitempty"`
	Sequence     uint32   `protobuf:"varint,4,opt,name=sequence" json:"sequence,omitempty"`
	Keypath      []uint32 `protobuf:"varint,6,rep,packed,name=keypath" json:"keypath,omitempty"`
}

func (*BTCSignInputRequest) Descriptor

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

func (*BTCSignInputRequest) GetKeypath

func (m *BTCSignInputRequest) GetKeypath() []uint32

func (*BTCSignInputRequest) GetPrevOutHash

func (m *BTCSignInputRequest) GetPrevOutHash() []byte

func (*BTCSignInputRequest) GetPrevOutIndex

func (m *BTCSignInputRequest) GetPrevOutIndex() uint32

func (*BTCSignInputRequest) GetPrevOutValue

func (m *BTCSignInputRequest) GetPrevOutValue() uint64

func (*BTCSignInputRequest) GetSequence

func (m *BTCSignInputRequest) GetSequence() uint32

func (*BTCSignInputRequest) ProtoMessage

func (*BTCSignInputRequest) ProtoMessage()

func (*BTCSignInputRequest) Reset

func (m *BTCSignInputRequest) Reset()

func (*BTCSignInputRequest) String

func (m *BTCSignInputRequest) String() string

type BTCSignNextResponse

type BTCSignNextResponse struct {
	Type         BTCSignNextResponse_Type `protobuf:"varint,1,opt,name=type,enum=BTCSignNextResponse_Type" json:"type,omitempty"`
	Index        uint32                   `protobuf:"varint,2,opt,name=index" json:"index,omitempty"`
	HasSignature bool                     `protobuf:"varint,3,opt,name=has_signature,json=hasSignature" json:"has_signature,omitempty"`
	// 64 bytes (32 bytes big endian R, 32 bytes big endian S). Only if has_signature is true.
	Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*BTCSignNextResponse) Descriptor

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

func (*BTCSignNextResponse) GetHasSignature

func (m *BTCSignNextResponse) GetHasSignature() bool

func (*BTCSignNextResponse) GetIndex

func (m *BTCSignNextResponse) GetIndex() uint32

func (*BTCSignNextResponse) GetSignature

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

func (*BTCSignNextResponse) GetType

func (*BTCSignNextResponse) ProtoMessage

func (*BTCSignNextResponse) ProtoMessage()

func (*BTCSignNextResponse) Reset

func (m *BTCSignNextResponse) Reset()

func (*BTCSignNextResponse) String

func (m *BTCSignNextResponse) String() string

type BTCSignNextResponse_Type

type BTCSignNextResponse_Type int32
const (
	BTCSignNextResponse_INPUT  BTCSignNextResponse_Type = 0
	BTCSignNextResponse_OUTPUT BTCSignNextResponse_Type = 1
	BTCSignNextResponse_DONE   BTCSignNextResponse_Type = 2
)

func (BTCSignNextResponse_Type) EnumDescriptor

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

func (BTCSignNextResponse_Type) String

func (x BTCSignNextResponse_Type) String() string

type BTCSignOutputRequest

type BTCSignOutputRequest struct {
	Ours bool          `protobuf:"varint,1,opt,name=ours" json:"ours,omitempty"`
	Type BTCOutputType `protobuf:"varint,2,opt,name=type,enum=BTCOutputType" json:"type,omitempty"`
	// 20 bytes for p2pkh, p2sh, pw2wpkh. 32 bytes for p2wsh.
	Value   uint64   `protobuf:"varint,3,opt,name=value" json:"value,omitempty"`
	Hash    []byte   `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Keypath []uint32 `protobuf:"varint,5,rep,packed,name=keypath" json:"keypath,omitempty"`
}

func (*BTCSignOutputRequest) Descriptor

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

func (*BTCSignOutputRequest) GetHash

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

func (*BTCSignOutputRequest) GetKeypath

func (m *BTCSignOutputRequest) GetKeypath() []uint32

func (*BTCSignOutputRequest) GetOurs

func (m *BTCSignOutputRequest) GetOurs() bool

func (*BTCSignOutputRequest) GetType

func (m *BTCSignOutputRequest) GetType() BTCOutputType

func (*BTCSignOutputRequest) GetValue

func (m *BTCSignOutputRequest) GetValue() uint64

func (*BTCSignOutputRequest) ProtoMessage

func (*BTCSignOutputRequest) ProtoMessage()

func (*BTCSignOutputRequest) Reset

func (m *BTCSignOutputRequest) Reset()

func (*BTCSignOutputRequest) String

func (m *BTCSignOutputRequest) String() string

type BackupInfo

type BackupInfo struct {
	Id             string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Timestamp      uint32 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
	TimezoneOffset uint32 `protobuf:"varint,3,opt,name=timezone_offset,json=timezoneOffset" json:"timezone_offset,omitempty"`
	Name           string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
}

func (*BackupInfo) Descriptor

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

func (*BackupInfo) GetId

func (m *BackupInfo) GetId() string

func (*BackupInfo) GetName

func (m *BackupInfo) GetName() string

func (*BackupInfo) GetTimestamp

func (m *BackupInfo) GetTimestamp() uint32

func (*BackupInfo) GetTimezoneOffset

func (m *BackupInfo) GetTimezoneOffset() uint32

func (*BackupInfo) ProtoMessage

func (*BackupInfo) ProtoMessage()

func (*BackupInfo) Reset

func (m *BackupInfo) Reset()

func (*BackupInfo) String

func (m *BackupInfo) String() string

type CheckBackupRequest

type CheckBackupRequest struct {
	Silent bool `protobuf:"varint,1,opt,name=silent" json:"silent,omitempty"`
}

func (*CheckBackupRequest) Descriptor

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

func (*CheckBackupRequest) GetSilent

func (m *CheckBackupRequest) GetSilent() bool

func (*CheckBackupRequest) ProtoMessage

func (*CheckBackupRequest) ProtoMessage()

func (*CheckBackupRequest) Reset

func (m *CheckBackupRequest) Reset()

func (*CheckBackupRequest) String

func (m *CheckBackupRequest) String() string

type CheckBackupResponse

type CheckBackupResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*CheckBackupResponse) Descriptor

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

func (*CheckBackupResponse) GetId

func (m *CheckBackupResponse) GetId() string

func (*CheckBackupResponse) ProtoMessage

func (*CheckBackupResponse) ProtoMessage()

func (*CheckBackupResponse) Reset

func (m *CheckBackupResponse) Reset()

func (*CheckBackupResponse) String

func (m *CheckBackupResponse) String() string

type CheckSDCardRequest

type CheckSDCardRequest struct {
}

func (*CheckSDCardRequest) Descriptor

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

func (*CheckSDCardRequest) ProtoMessage

func (*CheckSDCardRequest) ProtoMessage()

func (*CheckSDCardRequest) Reset

func (m *CheckSDCardRequest) Reset()

func (*CheckSDCardRequest) String

func (m *CheckSDCardRequest) String() string

type CheckSDCardResponse

type CheckSDCardResponse struct {
	Inserted bool `protobuf:"varint,1,opt,name=inserted" json:"inserted,omitempty"`
}

func (*CheckSDCardResponse) Descriptor

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

func (*CheckSDCardResponse) GetInserted

func (m *CheckSDCardResponse) GetInserted() bool

func (*CheckSDCardResponse) ProtoMessage

func (*CheckSDCardResponse) ProtoMessage()

func (*CheckSDCardResponse) Reset

func (m *CheckSDCardResponse) Reset()

func (*CheckSDCardResponse) String

func (m *CheckSDCardResponse) String() string

type CreateBackupRequest

type CreateBackupRequest struct {
	Timestamp      uint32 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"`
	TimezoneOffset int32  `protobuf:"varint,2,opt,name=timezone_offset,json=timezoneOffset" json:"timezone_offset,omitempty"`
}

Timestamp must be in UTC

func (*CreateBackupRequest) Descriptor

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

func (*CreateBackupRequest) GetTimestamp

func (m *CreateBackupRequest) GetTimestamp() uint32

func (*CreateBackupRequest) GetTimezoneOffset

func (m *CreateBackupRequest) GetTimezoneOffset() int32

func (*CreateBackupRequest) ProtoMessage

func (*CreateBackupRequest) ProtoMessage()

func (*CreateBackupRequest) Reset

func (m *CreateBackupRequest) Reset()

func (*CreateBackupRequest) String

func (m *CreateBackupRequest) String() string

type DeviceInfoRequest

type DeviceInfoRequest struct {
}

func (*DeviceInfoRequest) Descriptor

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

func (*DeviceInfoRequest) ProtoMessage

func (*DeviceInfoRequest) ProtoMessage()

func (*DeviceInfoRequest) Reset

func (m *DeviceInfoRequest) Reset()

func (*DeviceInfoRequest) String

func (m *DeviceInfoRequest) String() string

type DeviceInfoResponse

type DeviceInfoResponse struct {
	Name                         string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Initialized                  bool   `protobuf:"varint,2,opt,name=initialized" json:"initialized,omitempty"`
	Version                      string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	MnemonicPassphraseEnabled    bool   `` /* 132-byte string literal not displayed */
	MonotonicIncrementsRemaining uint32 `` /* 141-byte string literal not displayed */
}

func (*DeviceInfoResponse) Descriptor

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

func (*DeviceInfoResponse) GetInitialized

func (m *DeviceInfoResponse) GetInitialized() bool

func (*DeviceInfoResponse) GetMnemonicPassphraseEnabled

func (m *DeviceInfoResponse) GetMnemonicPassphraseEnabled() bool

func (*DeviceInfoResponse) GetMonotonicIncrementsRemaining

func (m *DeviceInfoResponse) GetMonotonicIncrementsRemaining() uint32

func (*DeviceInfoResponse) GetName

func (m *DeviceInfoResponse) GetName() string

func (*DeviceInfoResponse) GetVersion

func (m *DeviceInfoResponse) GetVersion() string

func (*DeviceInfoResponse) ProtoMessage

func (*DeviceInfoResponse) ProtoMessage()

func (*DeviceInfoResponse) Reset

func (m *DeviceInfoResponse) Reset()

func (*DeviceInfoResponse) String

func (m *DeviceInfoResponse) String() string

type ETHCoin

type ETHCoin int32
const (
	ETHCoin_ETH        ETHCoin = 0
	ETHCoin_RopstenETH ETHCoin = 1
	ETHCoin_RinkebyETH ETHCoin = 2
)

func (ETHCoin) EnumDescriptor

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

func (ETHCoin) String

func (x ETHCoin) String() string

type ETHPubRequest

type ETHPubRequest struct {
	Keypath    []uint32                 `protobuf:"varint,1,rep,packed,name=keypath" json:"keypath,omitempty"`
	Coin       ETHCoin                  `protobuf:"varint,2,opt,name=coin,enum=ETHCoin" json:"coin,omitempty"`
	OutputType ETHPubRequest_OutputType `protobuf:"varint,3,opt,name=output_type,json=outputType,enum=ETHPubRequest_OutputType" json:"output_type,omitempty"`
	Display    bool                     `protobuf:"varint,4,opt,name=display" json:"display,omitempty"`
}

func (*ETHPubRequest) Descriptor

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

func (*ETHPubRequest) GetCoin

func (m *ETHPubRequest) GetCoin() ETHCoin

func (*ETHPubRequest) GetDisplay

func (m *ETHPubRequest) GetDisplay() bool

func (*ETHPubRequest) GetKeypath

func (m *ETHPubRequest) GetKeypath() []uint32

func (*ETHPubRequest) GetOutputType

func (m *ETHPubRequest) GetOutputType() ETHPubRequest_OutputType

func (*ETHPubRequest) ProtoMessage

func (*ETHPubRequest) ProtoMessage()

func (*ETHPubRequest) Reset

func (m *ETHPubRequest) Reset()

func (*ETHPubRequest) String

func (m *ETHPubRequest) String() string

type ETHPubRequest_OutputType

type ETHPubRequest_OutputType int32
const (
	ETHPubRequest_ADDRESS ETHPubRequest_OutputType = 0
	ETHPubRequest_XPUB    ETHPubRequest_OutputType = 1
)

func (ETHPubRequest_OutputType) EnumDescriptor

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

func (ETHPubRequest_OutputType) String

func (x ETHPubRequest_OutputType) String() string

type ETHRequest

type ETHRequest struct {
	// Types that are valid to be assigned to Request:
	//	*ETHRequest_Pub
	//	*ETHRequest_Sign
	Request isETHRequest_Request `protobuf_oneof:"request"`
}

func (*ETHRequest) Descriptor

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

func (*ETHRequest) GetPub

func (m *ETHRequest) GetPub() *ETHPubRequest

func (*ETHRequest) GetRequest

func (m *ETHRequest) GetRequest() isETHRequest_Request

func (*ETHRequest) GetSign

func (m *ETHRequest) GetSign() *ETHSignRequest

func (*ETHRequest) ProtoMessage

func (*ETHRequest) ProtoMessage()

func (*ETHRequest) Reset

func (m *ETHRequest) Reset()

func (*ETHRequest) String

func (m *ETHRequest) String() string

func (*ETHRequest) XXX_OneofFuncs

func (*ETHRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ETHRequest_Pub

type ETHRequest_Pub struct {
	Pub *ETHPubRequest `protobuf:"bytes,1,opt,name=pub,oneof"`
}

type ETHRequest_Sign

type ETHRequest_Sign struct {
	Sign *ETHSignRequest `protobuf:"bytes,2,opt,name=sign,oneof"`
}

type ETHResponse

type ETHResponse struct {
	// Types that are valid to be assigned to Response:
	//	*ETHResponse_Pub
	//	*ETHResponse_Sign
	Response isETHResponse_Response `protobuf_oneof:"response"`
}

func (*ETHResponse) Descriptor

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

func (*ETHResponse) GetPub

func (m *ETHResponse) GetPub() *PubResponse

func (*ETHResponse) GetResponse

func (m *ETHResponse) GetResponse() isETHResponse_Response

func (*ETHResponse) GetSign

func (m *ETHResponse) GetSign() *ETHSignResponse

func (*ETHResponse) ProtoMessage

func (*ETHResponse) ProtoMessage()

func (*ETHResponse) Reset

func (m *ETHResponse) Reset()

func (*ETHResponse) String

func (m *ETHResponse) String() string

func (*ETHResponse) XXX_OneofFuncs

func (*ETHResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ETHResponse_Pub

type ETHResponse_Pub struct {
	Pub *PubResponse `protobuf:"bytes,1,opt,name=pub,oneof"`
}

type ETHResponse_Sign

type ETHResponse_Sign struct {
	Sign *ETHSignResponse `protobuf:"bytes,2,opt,name=sign,oneof"`
}

type ETHSignRequest

type ETHSignRequest struct {
	Coin      ETHCoin  `protobuf:"varint,1,opt,name=coin,enum=ETHCoin" json:"coin,omitempty"`
	Keypath   []uint32 `protobuf:"varint,2,rep,packed,name=keypath" json:"keypath,omitempty"`
	Nonce     []byte   `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	GasPrice  []byte   `protobuf:"bytes,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	GasLimit  []byte   `protobuf:"bytes,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	Recipient []byte   `protobuf:"bytes,6,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Value     []byte   `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
	Data      []byte   `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
}

func (*ETHSignRequest) Descriptor

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

func (*ETHSignRequest) GetCoin

func (m *ETHSignRequest) GetCoin() ETHCoin

func (*ETHSignRequest) GetData

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

func (*ETHSignRequest) GetGasLimit

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

func (*ETHSignRequest) GetGasPrice

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

func (*ETHSignRequest) GetKeypath

func (m *ETHSignRequest) GetKeypath() []uint32

func (*ETHSignRequest) GetNonce

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

func (*ETHSignRequest) GetRecipient

func (m *ETHSignRequest) GetRecipient() []byte

func (*ETHSignRequest) GetValue

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

func (*ETHSignRequest) ProtoMessage

func (*ETHSignRequest) ProtoMessage()

func (*ETHSignRequest) Reset

func (m *ETHSignRequest) Reset()

func (*ETHSignRequest) String

func (m *ETHSignRequest) String() string

type ETHSignResponse

type ETHSignResponse struct {
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*ETHSignResponse) Descriptor

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

func (*ETHSignResponse) GetSignature

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

func (*ETHSignResponse) ProtoMessage

func (*ETHSignResponse) ProtoMessage()

func (*ETHSignResponse) Reset

func (m *ETHSignResponse) Reset()

func (*ETHSignResponse) String

func (m *ETHSignResponse) String() string

type Error

type Error struct {
	Code    int32  `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
}

func (*Error) Descriptor

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

func (*Error) GetCode

func (m *Error) GetCode() int32

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

type InsertRemoveSDCardRequest

type InsertRemoveSDCardRequest struct {
	Action InsertRemoveSDCardRequest_SDCardAction `protobuf:"varint,1,opt,name=action,enum=InsertRemoveSDCardRequest_SDCardAction" json:"action,omitempty"`
}

func (*InsertRemoveSDCardRequest) Descriptor

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

func (*InsertRemoveSDCardRequest) GetAction

func (*InsertRemoveSDCardRequest) ProtoMessage

func (*InsertRemoveSDCardRequest) ProtoMessage()

func (*InsertRemoveSDCardRequest) Reset

func (m *InsertRemoveSDCardRequest) Reset()

func (*InsertRemoveSDCardRequest) String

func (m *InsertRemoveSDCardRequest) String() string

type InsertRemoveSDCardRequest_SDCardAction

type InsertRemoveSDCardRequest_SDCardAction int32
const (
	InsertRemoveSDCardRequest_REMOVE_CARD InsertRemoveSDCardRequest_SDCardAction = 0
	InsertRemoveSDCardRequest_INSERT_CARD InsertRemoveSDCardRequest_SDCardAction = 1
)

func (InsertRemoveSDCardRequest_SDCardAction) EnumDescriptor

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

func (InsertRemoveSDCardRequest_SDCardAction) String

type ListBackupsRequest

type ListBackupsRequest struct {
}

func (*ListBackupsRequest) Descriptor

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

func (*ListBackupsRequest) ProtoMessage

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) Reset

func (m *ListBackupsRequest) Reset()

func (*ListBackupsRequest) String

func (m *ListBackupsRequest) String() string

type ListBackupsResponse

type ListBackupsResponse struct {
	Info []*BackupInfo `protobuf:"bytes,1,rep,name=info" json:"info,omitempty"`
}

func (*ListBackupsResponse) Descriptor

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

func (*ListBackupsResponse) GetInfo

func (m *ListBackupsResponse) GetInfo() []*BackupInfo

func (*ListBackupsResponse) ProtoMessage

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) Reset

func (m *ListBackupsResponse) Reset()

func (*ListBackupsResponse) String

func (m *ListBackupsResponse) String() string

type PerformAttestationRequest

type PerformAttestationRequest struct {
	// 32 bytes challenge.
	Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
}

Deprecated, last used in v1.0.0

func (*PerformAttestationRequest) Descriptor

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

func (*PerformAttestationRequest) GetChallenge

func (m *PerformAttestationRequest) GetChallenge() []byte

func (*PerformAttestationRequest) ProtoMessage

func (*PerformAttestationRequest) ProtoMessage()

func (*PerformAttestationRequest) Reset

func (m *PerformAttestationRequest) Reset()

func (*PerformAttestationRequest) String

func (m *PerformAttestationRequest) String() string

type PerformAttestationResponse

type PerformAttestationResponse struct {
	BootloaderHash       []byte `protobuf:"bytes,1,opt,name=bootloader_hash,json=bootloaderHash,proto3" json:"bootloader_hash,omitempty"`
	DevicePubkey         []byte `protobuf:"bytes,2,opt,name=device_pubkey,json=devicePubkey,proto3" json:"device_pubkey,omitempty"`
	Certificate          []byte `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"`
	RootPubkeyIdentifier []byte `protobuf:"bytes,4,opt,name=root_pubkey_identifier,json=rootPubkeyIdentifier,proto3" json:"root_pubkey_identifier,omitempty"`
	ChallengeSignature   []byte `protobuf:"bytes,5,opt,name=challenge_signature,json=challengeSignature,proto3" json:"challenge_signature,omitempty"`
}

Deprecated, last used in v1.0.0

func (*PerformAttestationResponse) Descriptor

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

func (*PerformAttestationResponse) GetBootloaderHash

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

func (*PerformAttestationResponse) GetCertificate

func (m *PerformAttestationResponse) GetCertificate() []byte

func (*PerformAttestationResponse) GetChallengeSignature

func (m *PerformAttestationResponse) GetChallengeSignature() []byte

func (*PerformAttestationResponse) GetDevicePubkey

func (m *PerformAttestationResponse) GetDevicePubkey() []byte

func (*PerformAttestationResponse) GetRootPubkeyIdentifier

func (m *PerformAttestationResponse) GetRootPubkeyIdentifier() []byte

func (*PerformAttestationResponse) ProtoMessage

func (*PerformAttestationResponse) ProtoMessage()

func (*PerformAttestationResponse) Reset

func (m *PerformAttestationResponse) Reset()

func (*PerformAttestationResponse) String

func (m *PerformAttestationResponse) String() string

type PubResponse

type PubResponse struct {
	Pub string `protobuf:"bytes,1,opt,name=pub" json:"pub,omitempty"`
}

func (*PubResponse) Descriptor

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

func (*PubResponse) GetPub

func (m *PubResponse) GetPub() string

func (*PubResponse) ProtoMessage

func (*PubResponse) ProtoMessage()

func (*PubResponse) Reset

func (m *PubResponse) Reset()

func (*PubResponse) String

func (m *PubResponse) String() string

type RandomNumberRequest

type RandomNumberRequest struct {
}

func (*RandomNumberRequest) Descriptor

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

func (*RandomNumberRequest) ProtoMessage

func (*RandomNumberRequest) ProtoMessage()

func (*RandomNumberRequest) Reset

func (m *RandomNumberRequest) Reset()

func (*RandomNumberRequest) String

func (m *RandomNumberRequest) String() string

type RandomNumberResponse

type RandomNumberResponse struct {
	Number []byte `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
}

func (*RandomNumberResponse) Descriptor

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

func (*RandomNumberResponse) GetNumber

func (m *RandomNumberResponse) GetNumber() []byte

func (*RandomNumberResponse) ProtoMessage

func (*RandomNumberResponse) ProtoMessage()

func (*RandomNumberResponse) Reset

func (m *RandomNumberResponse) Reset()

func (*RandomNumberResponse) String

func (m *RandomNumberResponse) String() string

type RebootRequest

type RebootRequest struct {
}

func (*RebootRequest) Descriptor

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

func (*RebootRequest) ProtoMessage

func (*RebootRequest) ProtoMessage()

func (*RebootRequest) Reset

func (m *RebootRequest) Reset()

func (*RebootRequest) String

func (m *RebootRequest) String() string

type Request

type Request struct {
	// Types that are valid to be assigned to Request:
	//	*Request_RandomNumber
	//	*Request_DeviceName
	//	*Request_DeviceLanguage
	//	*Request_DeviceInfo
	//	*Request_SetPassword
	//	*Request_CreateBackup
	//	*Request_ShowMnemonic
	//	*Request_BtcPub
	//	*Request_BtcSignInit
	//	*Request_BtcSignInput
	//	*Request_BtcSignOutput
	//	*Request_InsertRemoveSdcard
	//	*Request_CheckSdcard
	//	*Request_SetMnemonicPassphraseEnabled
	//	*Request_ListBackups
	//	*Request_RestoreBackup
	//	*Request_PerformAttestation
	//	*Request_Reboot
	//	*Request_CheckBackup
	//	*Request_Eth
	//	*Request_Reset_
	//	*Request_RestoreFromMnemonic
	Request isRequest_Request `protobuf_oneof:"request"`
}

func (*Request) Descriptor

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

func (*Request) GetBtcPub

func (m *Request) GetBtcPub() *BTCPubRequest

func (*Request) GetBtcSignInit

func (m *Request) GetBtcSignInit() *BTCSignInitRequest

func (*Request) GetBtcSignInput

func (m *Request) GetBtcSignInput() *BTCSignInputRequest

func (*Request) GetBtcSignOutput

func (m *Request) GetBtcSignOutput() *BTCSignOutputRequest

func (*Request) GetCheckBackup

func (m *Request) GetCheckBackup() *CheckBackupRequest

func (*Request) GetCheckSdcard

func (m *Request) GetCheckSdcard() *CheckSDCardRequest

func (*Request) GetCreateBackup

func (m *Request) GetCreateBackup() *CreateBackupRequest

func (*Request) GetDeviceInfo

func (m *Request) GetDeviceInfo() *DeviceInfoRequest

func (*Request) GetDeviceLanguage

func (m *Request) GetDeviceLanguage() *SetDeviceLanguageRequest

func (*Request) GetDeviceName

func (m *Request) GetDeviceName() *SetDeviceNameRequest

func (*Request) GetEth

func (m *Request) GetEth() *ETHRequest

func (*Request) GetInsertRemoveSdcard

func (m *Request) GetInsertRemoveSdcard() *InsertRemoveSDCardRequest

func (*Request) GetListBackups

func (m *Request) GetListBackups() *ListBackupsRequest

func (*Request) GetPerformAttestation

func (m *Request) GetPerformAttestation() *PerformAttestationRequest

func (*Request) GetRandomNumber

func (m *Request) GetRandomNumber() *RandomNumberRequest

func (*Request) GetReboot

func (m *Request) GetReboot() *RebootRequest

func (*Request) GetRequest

func (m *Request) GetRequest() isRequest_Request

func (*Request) GetReset_

func (m *Request) GetReset_() *ResetRequest

func (*Request) GetRestoreBackup

func (m *Request) GetRestoreBackup() *RestoreBackupRequest

func (*Request) GetRestoreFromMnemonic

func (m *Request) GetRestoreFromMnemonic() *RestoreFromMnemonicRequest

func (*Request) GetSetMnemonicPassphraseEnabled

func (m *Request) GetSetMnemonicPassphraseEnabled() *SetMnemonicPassphraseEnabledRequest

func (*Request) GetSetPassword

func (m *Request) GetSetPassword() *SetPasswordRequest

func (*Request) GetShowMnemonic

func (m *Request) GetShowMnemonic() *ShowMnemonicRequest

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_OneofFuncs

func (*Request) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Request_BtcPub

type Request_BtcPub struct {
	BtcPub *BTCPubRequest `protobuf:"bytes,8,opt,name=btc_pub,json=btcPub,oneof"`
}

type Request_BtcSignInit

type Request_BtcSignInit struct {
	BtcSignInit *BTCSignInitRequest `protobuf:"bytes,9,opt,name=btc_sign_init,json=btcSignInit,oneof"`
}

type Request_BtcSignInput

type Request_BtcSignInput struct {
	BtcSignInput *BTCSignInputRequest `protobuf:"bytes,10,opt,name=btc_sign_input,json=btcSignInput,oneof"`
}

type Request_BtcSignOutput

type Request_BtcSignOutput struct {
	BtcSignOutput *BTCSignOutputRequest `protobuf:"bytes,11,opt,name=btc_sign_output,json=btcSignOutput,oneof"`
}

type Request_CheckBackup

type Request_CheckBackup struct {
	CheckBackup *CheckBackupRequest `protobuf:"bytes,19,opt,name=check_backup,json=checkBackup,oneof"`
}

type Request_CheckSdcard

type Request_CheckSdcard struct {
	CheckSdcard *CheckSDCardRequest `protobuf:"bytes,13,opt,name=check_sdcard,json=checkSdcard,oneof"`
}

type Request_CreateBackup

type Request_CreateBackup struct {
	CreateBackup *CreateBackupRequest `protobuf:"bytes,6,opt,name=create_backup,json=createBackup,oneof"`
}

type Request_DeviceInfo

type Request_DeviceInfo struct {
	DeviceInfo *DeviceInfoRequest `protobuf:"bytes,4,opt,name=device_info,json=deviceInfo,oneof"`
}

type Request_DeviceLanguage

type Request_DeviceLanguage struct {
	DeviceLanguage *SetDeviceLanguageRequest `protobuf:"bytes,3,opt,name=device_language,json=deviceLanguage,oneof"`
}

type Request_DeviceName

type Request_DeviceName struct {
	DeviceName *SetDeviceNameRequest `protobuf:"bytes,2,opt,name=device_name,json=deviceName,oneof"`
}

type Request_Eth

type Request_Eth struct {
	Eth *ETHRequest `protobuf:"bytes,20,opt,name=eth,oneof"`
}

type Request_InsertRemoveSdcard

type Request_InsertRemoveSdcard struct {
	InsertRemoveSdcard *InsertRemoveSDCardRequest `protobuf:"bytes,12,opt,name=insert_remove_sdcard,json=insertRemoveSdcard,oneof"`
}

type Request_ListBackups

type Request_ListBackups struct {
	ListBackups *ListBackupsRequest `protobuf:"bytes,15,opt,name=list_backups,json=listBackups,oneof"`
}

type Request_PerformAttestation

type Request_PerformAttestation struct {
	PerformAttestation *PerformAttestationRequest `protobuf:"bytes,17,opt,name=perform_attestation,json=performAttestation,oneof"`
}

type Request_RandomNumber

type Request_RandomNumber struct {
	RandomNumber *RandomNumberRequest `protobuf:"bytes,1,opt,name=random_number,json=randomNumber,oneof"`
}

type Request_Reboot

type Request_Reboot struct {
	Reboot *RebootRequest `protobuf:"bytes,18,opt,name=reboot,oneof"`
}

type Request_Reset_

type Request_Reset_ struct {
	Reset_ *ResetRequest `protobuf:"bytes,21,opt,name=reset,oneof"`
}

type Request_RestoreBackup

type Request_RestoreBackup struct {
	RestoreBackup *RestoreBackupRequest `protobuf:"bytes,16,opt,name=restore_backup,json=restoreBackup,oneof"`
}

type Request_RestoreFromMnemonic

type Request_RestoreFromMnemonic struct {
	RestoreFromMnemonic *RestoreFromMnemonicRequest `protobuf:"bytes,22,opt,name=restore_from_mnemonic,json=restoreFromMnemonic,oneof"`
}

type Request_SetMnemonicPassphraseEnabled

type Request_SetMnemonicPassphraseEnabled struct {
	SetMnemonicPassphraseEnabled *SetMnemonicPassphraseEnabledRequest `protobuf:"bytes,14,opt,name=set_mnemonic_passphrase_enabled,json=setMnemonicPassphraseEnabled,oneof"`
}

type Request_SetPassword

type Request_SetPassword struct {
	SetPassword *SetPasswordRequest `protobuf:"bytes,5,opt,name=set_password,json=setPassword,oneof"`
}

type Request_ShowMnemonic

type Request_ShowMnemonic struct {
	ShowMnemonic *ShowMnemonicRequest `protobuf:"bytes,7,opt,name=show_mnemonic,json=showMnemonic,oneof"`
}

type ResetRequest

type ResetRequest struct {
}

func (*ResetRequest) Descriptor

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

func (*ResetRequest) ProtoMessage

func (*ResetRequest) ProtoMessage()

func (*ResetRequest) Reset

func (m *ResetRequest) Reset()

func (*ResetRequest) String

func (m *ResetRequest) String() string

type Response

type Response struct {
	// Types that are valid to be assigned to Response:
	//	*Response_Success
	//	*Response_Error
	//	*Response_RandomNumber
	//	*Response_DeviceInfo
	//	*Response_Pub
	//	*Response_BtcSignNext
	//	*Response_ListBackups
	//	*Response_CheckBackup
	//	*Response_PerformAttestation
	//	*Response_CheckSdcard
	//	*Response_Eth
	Response isResponse_Response `protobuf_oneof:"response"`
}

func (*Response) Descriptor

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

func (*Response) GetBtcSignNext

func (m *Response) GetBtcSignNext() *BTCSignNextResponse

func (*Response) GetCheckBackup

func (m *Response) GetCheckBackup() *CheckBackupResponse

func (*Response) GetCheckSdcard

func (m *Response) GetCheckSdcard() *CheckSDCardResponse

func (*Response) GetDeviceInfo

func (m *Response) GetDeviceInfo() *DeviceInfoResponse

func (*Response) GetError

func (m *Response) GetError() *Error

func (*Response) GetEth

func (m *Response) GetEth() *ETHResponse

func (*Response) GetListBackups

func (m *Response) GetListBackups() *ListBackupsResponse

func (*Response) GetPerformAttestation

func (m *Response) GetPerformAttestation() *PerformAttestationResponse

func (*Response) GetPub

func (m *Response) GetPub() *PubResponse

func (*Response) GetRandomNumber

func (m *Response) GetRandomNumber() *RandomNumberResponse

func (*Response) GetResponse

func (m *Response) GetResponse() isResponse_Response

func (*Response) GetSuccess

func (m *Response) GetSuccess() *Success

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_OneofFuncs

func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Response_BtcSignNext

type Response_BtcSignNext struct {
	BtcSignNext *BTCSignNextResponse `protobuf:"bytes,6,opt,name=btc_sign_next,json=btcSignNext,oneof"`
}

type Response_CheckBackup

type Response_CheckBackup struct {
	CheckBackup *CheckBackupResponse `protobuf:"bytes,8,opt,name=check_backup,json=checkBackup,oneof"`
}

type Response_CheckSdcard

type Response_CheckSdcard struct {
	CheckSdcard *CheckSDCardResponse `protobuf:"bytes,10,opt,name=check_sdcard,json=checkSdcard,oneof"`
}

type Response_DeviceInfo

type Response_DeviceInfo struct {
	DeviceInfo *DeviceInfoResponse `protobuf:"bytes,4,opt,name=device_info,json=deviceInfo,oneof"`
}

type Response_Error

type Response_Error struct {
	Error *Error `protobuf:"bytes,2,opt,name=error,oneof"`
}

type Response_Eth

type Response_Eth struct {
	Eth *ETHResponse `protobuf:"bytes,11,opt,name=eth,oneof"`
}

type Response_ListBackups

type Response_ListBackups struct {
	ListBackups *ListBackupsResponse `protobuf:"bytes,7,opt,name=list_backups,json=listBackups,oneof"`
}

type Response_PerformAttestation

type Response_PerformAttestation struct {
	PerformAttestation *PerformAttestationResponse `protobuf:"bytes,9,opt,name=perform_attestation,json=performAttestation,oneof"`
}

type Response_Pub

type Response_Pub struct {
	Pub *PubResponse `protobuf:"bytes,5,opt,name=pub,oneof"`
}

type Response_RandomNumber

type Response_RandomNumber struct {
	RandomNumber *RandomNumberResponse `protobuf:"bytes,3,opt,name=random_number,json=randomNumber,oneof"`
}

type Response_Success

type Response_Success struct {
	Success *Success `protobuf:"bytes,1,opt,name=success,oneof"`
}

type RestoreBackupRequest

type RestoreBackupRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*RestoreBackupRequest) Descriptor

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

func (*RestoreBackupRequest) GetId

func (m *RestoreBackupRequest) GetId() string

func (*RestoreBackupRequest) ProtoMessage

func (*RestoreBackupRequest) ProtoMessage()

func (*RestoreBackupRequest) Reset

func (m *RestoreBackupRequest) Reset()

func (*RestoreBackupRequest) String

func (m *RestoreBackupRequest) String() string

type RestoreFromMnemonicRequest

type RestoreFromMnemonicRequest struct {
}

func (*RestoreFromMnemonicRequest) Descriptor

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

func (*RestoreFromMnemonicRequest) ProtoMessage

func (*RestoreFromMnemonicRequest) ProtoMessage()

func (*RestoreFromMnemonicRequest) Reset

func (m *RestoreFromMnemonicRequest) Reset()

func (*RestoreFromMnemonicRequest) String

func (m *RestoreFromMnemonicRequest) String() string

type SetDeviceLanguageRequest

type SetDeviceLanguageRequest struct {
	Language string `protobuf:"bytes,1,opt,name=language" json:"language,omitempty"`
}

func (*SetDeviceLanguageRequest) Descriptor

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

func (*SetDeviceLanguageRequest) GetLanguage

func (m *SetDeviceLanguageRequest) GetLanguage() string

func (*SetDeviceLanguageRequest) ProtoMessage

func (*SetDeviceLanguageRequest) ProtoMessage()

func (*SetDeviceLanguageRequest) Reset

func (m *SetDeviceLanguageRequest) Reset()

func (*SetDeviceLanguageRequest) String

func (m *SetDeviceLanguageRequest) String() string

type SetDeviceNameRequest

type SetDeviceNameRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*SetDeviceNameRequest) Descriptor

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

func (*SetDeviceNameRequest) GetName

func (m *SetDeviceNameRequest) GetName() string

func (*SetDeviceNameRequest) ProtoMessage

func (*SetDeviceNameRequest) ProtoMessage()

func (*SetDeviceNameRequest) Reset

func (m *SetDeviceNameRequest) Reset()

func (*SetDeviceNameRequest) String

func (m *SetDeviceNameRequest) String() string

type SetMnemonicPassphraseEnabledRequest

type SetMnemonicPassphraseEnabledRequest struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
}

func (*SetMnemonicPassphraseEnabledRequest) Descriptor

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

func (*SetMnemonicPassphraseEnabledRequest) GetEnabled

func (m *SetMnemonicPassphraseEnabledRequest) GetEnabled() bool

func (*SetMnemonicPassphraseEnabledRequest) ProtoMessage

func (*SetMnemonicPassphraseEnabledRequest) ProtoMessage()

func (*SetMnemonicPassphraseEnabledRequest) Reset

func (*SetMnemonicPassphraseEnabledRequest) String

type SetPasswordRequest

type SetPasswordRequest struct {
	Entropy []byte `protobuf:"bytes,1,opt,name=entropy,proto3" json:"entropy,omitempty"`
}

func (*SetPasswordRequest) Descriptor

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

func (*SetPasswordRequest) GetEntropy

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

func (*SetPasswordRequest) ProtoMessage

func (*SetPasswordRequest) ProtoMessage()

func (*SetPasswordRequest) Reset

func (m *SetPasswordRequest) Reset()

func (*SetPasswordRequest) String

func (m *SetPasswordRequest) String() string

type ShowMnemonicRequest

type ShowMnemonicRequest struct {
}

func (*ShowMnemonicRequest) Descriptor

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

func (*ShowMnemonicRequest) ProtoMessage

func (*ShowMnemonicRequest) ProtoMessage()

func (*ShowMnemonicRequest) Reset

func (m *ShowMnemonicRequest) Reset()

func (*ShowMnemonicRequest) String

func (m *ShowMnemonicRequest) String() string

type Success

type Success struct {
}

func (*Success) Descriptor

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

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) Reset

func (m *Success) Reset()

func (*Success) String

func (m *Success) String() string

Jump to

Keyboard shortcuts

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