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 Request Response
Index ¶
- Variables
- type BTCCoin
- type BTCOutputType
- type BTCPubRequest
- func (*BTCPubRequest) Descriptor() ([]byte, []int)
- func (m *BTCPubRequest) GetCoin() BTCCoin
- func (m *BTCPubRequest) GetDisplay() bool
- func (m *BTCPubRequest) GetKeypath() []uint32
- func (m *BTCPubRequest) GetOutputType() BTCPubRequest_OutputType
- func (m *BTCPubRequest) GetScriptType() BTCScriptType
- func (*BTCPubRequest) ProtoMessage()
- func (m *BTCPubRequest) Reset()
- func (m *BTCPubRequest) String() string
- type BTCPubRequest_OutputType
- type BTCScriptType
- type BTCSignInitRequest
- func (*BTCSignInitRequest) Descriptor() ([]byte, []int)
- func (m *BTCSignInitRequest) GetBip44Account() uint32
- func (m *BTCSignInitRequest) GetCoin() BTCCoin
- func (m *BTCSignInitRequest) GetLocktime() uint32
- func (m *BTCSignInitRequest) GetNumInputs() uint32
- func (m *BTCSignInitRequest) GetNumOutputs() uint32
- func (m *BTCSignInitRequest) GetScriptType() BTCScriptType
- func (m *BTCSignInitRequest) GetVersion() uint32
- func (*BTCSignInitRequest) ProtoMessage()
- func (m *BTCSignInitRequest) Reset()
- func (m *BTCSignInitRequest) String() string
- type BTCSignInputRequest
- func (*BTCSignInputRequest) Descriptor() ([]byte, []int)
- func (m *BTCSignInputRequest) GetKeypath() []uint32
- func (m *BTCSignInputRequest) GetPrevOutHash() []byte
- func (m *BTCSignInputRequest) GetPrevOutIndex() uint32
- func (m *BTCSignInputRequest) GetPrevOutValue() uint64
- func (m *BTCSignInputRequest) GetSequence() uint32
- func (*BTCSignInputRequest) ProtoMessage()
- func (m *BTCSignInputRequest) Reset()
- func (m *BTCSignInputRequest) String() string
- type BTCSignNextResponse
- func (*BTCSignNextResponse) Descriptor() ([]byte, []int)
- func (m *BTCSignNextResponse) GetHasSignature() bool
- func (m *BTCSignNextResponse) GetIndex() uint32
- func (m *BTCSignNextResponse) GetSignature() []byte
- func (m *BTCSignNextResponse) GetType() BTCSignNextResponse_Type
- func (*BTCSignNextResponse) ProtoMessage()
- func (m *BTCSignNextResponse) Reset()
- func (m *BTCSignNextResponse) String() string
- type BTCSignNextResponse_Type
- type BTCSignOutputRequest
- func (*BTCSignOutputRequest) Descriptor() ([]byte, []int)
- func (m *BTCSignOutputRequest) GetHash() []byte
- func (m *BTCSignOutputRequest) GetKeypath() []uint32
- func (m *BTCSignOutputRequest) GetOurs() bool
- func (m *BTCSignOutputRequest) GetType() BTCOutputType
- func (m *BTCSignOutputRequest) GetValue() uint64
- func (*BTCSignOutputRequest) ProtoMessage()
- func (m *BTCSignOutputRequest) Reset()
- func (m *BTCSignOutputRequest) String() string
- type BackupInfo
- type CheckBackupRequest
- type CheckBackupResponse
- type CheckSDCardRequest
- type CheckSDCardResponse
- type CreateBackupRequest
- type DeviceInfoRequest
- type DeviceInfoResponse
- func (*DeviceInfoResponse) Descriptor() ([]byte, []int)
- func (m *DeviceInfoResponse) GetInitialized() bool
- func (m *DeviceInfoResponse) GetMnemonicPassphraseEnabled() bool
- func (m *DeviceInfoResponse) GetMonotonicIncrementsRemaining() uint32
- func (m *DeviceInfoResponse) GetName() string
- func (m *DeviceInfoResponse) GetVersion() string
- func (*DeviceInfoResponse) ProtoMessage()
- func (m *DeviceInfoResponse) Reset()
- func (m *DeviceInfoResponse) String() string
- type Error
- type InsertRemoveSDCardRequest
- type InsertRemoveSDCardRequest_SDCardAction
- type ListBackupsRequest
- type ListBackupsResponse
- type PerformAttestationRequest
- type PerformAttestationResponse
- func (*PerformAttestationResponse) Descriptor() ([]byte, []int)
- func (m *PerformAttestationResponse) GetBootloaderHash() []byte
- func (m *PerformAttestationResponse) GetCertificate() []byte
- func (m *PerformAttestationResponse) GetChallengeSignature() []byte
- func (m *PerformAttestationResponse) GetDevicePubkey() []byte
- func (m *PerformAttestationResponse) GetRootPubkeyIdentifier() []byte
- func (*PerformAttestationResponse) ProtoMessage()
- func (m *PerformAttestationResponse) Reset()
- func (m *PerformAttestationResponse) String() string
- type PubResponse
- type RandomNumberRequest
- type RandomNumberResponse
- type RebootRequest
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetBtcPub() *BTCPubRequest
- func (m *Request) GetBtcSignInit() *BTCSignInitRequest
- func (m *Request) GetBtcSignInput() *BTCSignInputRequest
- func (m *Request) GetBtcSignOutput() *BTCSignOutputRequest
- func (m *Request) GetCheckBackup() *CheckBackupRequest
- func (m *Request) GetCheckSdcard() *CheckSDCardRequest
- func (m *Request) GetCreateBackup() *CreateBackupRequest
- func (m *Request) GetDeviceInfo() *DeviceInfoRequest
- func (m *Request) GetDeviceLanguage() *SetDeviceLanguageRequest
- func (m *Request) GetDeviceName() *SetDeviceNameRequest
- func (m *Request) GetInsertRemoveSdcard() *InsertRemoveSDCardRequest
- func (m *Request) GetListBackups() *ListBackupsRequest
- func (m *Request) GetPerformAttestation() *PerformAttestationRequest
- func (m *Request) GetRandomNumber() *RandomNumberRequest
- func (m *Request) GetReboot() *RebootRequest
- func (m *Request) GetRequest() isRequest_Request
- func (m *Request) GetRestoreBackup() *RestoreBackupRequest
- func (m *Request) GetSetMnemonicPassphraseEnabled() *SetMnemonicPassphraseEnabledRequest
- func (m *Request) GetSetPassword() *SetPasswordRequest
- func (m *Request) GetShowMnemonic() *ShowMnemonicRequest
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (*Request) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Request_BtcPub
- type Request_BtcSignInit
- type Request_BtcSignInput
- type Request_BtcSignOutput
- type Request_CheckBackup
- type Request_CheckSdcard
- type Request_CreateBackup
- type Request_DeviceInfo
- type Request_DeviceLanguage
- type Request_DeviceName
- type Request_InsertRemoveSdcard
- type Request_ListBackups
- type Request_PerformAttestation
- type Request_RandomNumber
- type Request_Reboot
- type Request_RestoreBackup
- type Request_SetMnemonicPassphraseEnabled
- type Request_SetPassword
- type Request_ShowMnemonic
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetBtcSignNext() *BTCSignNextResponse
- func (m *Response) GetCheckBackup() *CheckBackupResponse
- func (m *Response) GetCheckSdcard() *CheckSDCardResponse
- func (m *Response) GetDeviceInfo() *DeviceInfoResponse
- func (m *Response) GetError() *Error
- func (m *Response) GetListBackups() *ListBackupsResponse
- func (m *Response) GetPerformAttestation() *PerformAttestationResponse
- func (m *Response) GetPub() *PubResponse
- func (m *Response) GetRandomNumber() *RandomNumberResponse
- func (m *Response) GetResponse() isResponse_Response
- func (m *Response) GetSuccess() *Success
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Response_BtcSignNext
- type Response_CheckBackup
- type Response_CheckSdcard
- type Response_DeviceInfo
- type Response_Error
- type Response_ListBackups
- type Response_PerformAttestation
- type Response_Pub
- type Response_RandomNumber
- type Response_Success
- type RestoreBackupRequest
- type SetDeviceLanguageRequest
- type SetDeviceNameRequest
- type SetMnemonicPassphraseEnabledRequest
- func (*SetMnemonicPassphraseEnabledRequest) Descriptor() ([]byte, []int)
- func (m *SetMnemonicPassphraseEnabledRequest) GetEnabled() bool
- func (*SetMnemonicPassphraseEnabledRequest) ProtoMessage()
- func (m *SetMnemonicPassphraseEnabledRequest) Reset()
- func (m *SetMnemonicPassphraseEnabledRequest) String() string
- type SetPasswordRequest
- type ShowMnemonicRequest
- type Success
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 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 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 (m *BTCSignNextResponse) GetType() BTCSignNextResponse_Type
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"` }
func (*BackupInfo) Descriptor ¶
func (*BackupInfo) Descriptor() ([]byte, []int)
func (*BackupInfo) GetId ¶
func (m *BackupInfo) GetId() 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 { }
func (*CheckBackupRequest) Descriptor ¶
func (*CheckBackupRequest) Descriptor() ([]byte, []int)
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 { // TODO add backup creation args 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"` }
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 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) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
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 (m *InsertRemoveSDCardRequest) GetAction() InsertRemoveSDCardRequest_SDCardAction
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 ¶
func (x InsertRemoveSDCardRequest_SDCardAction) String() 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"` }
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"` }
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 isRequest_Request `protobuf_oneof:"request"` }
func (*Request) Descriptor ¶
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) 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) GetRestoreBackup ¶
func (m *Request) GetRestoreBackup() *RestoreBackupRequest
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()
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_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_RestoreBackup ¶
type Request_RestoreBackup struct {
RestoreBackup *RestoreBackupRequest `protobuf:"bytes,16,opt,name=restore_backup,json=restoreBackup,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 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 isResponse_Response `protobuf_oneof:"response"` }
func (*Response) Descriptor ¶
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) 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 (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
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_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 { // TODO add backup creation args 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 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 (m *SetMnemonicPassphraseEnabledRequest) Reset()
func (*SetMnemonicPassphraseEnabledRequest) String ¶
func (m *SetMnemonicPassphraseEnabledRequest) String() 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
Click to show internal directories.
Click to hide internal directories.