Documentation ¶
Overview ¶
Package trezor contains the wire protocol.
Index ¶
- Constants
- Variables
- func Name(kind uint16) string
- func Type(msg proto.Message) uint16
- type ApplyFlags
- func (*ApplyFlags) Descriptor() ([]byte, []int)
- func (m *ApplyFlags) GetFlags() uint32
- func (*ApplyFlags) ProtoMessage()
- func (m *ApplyFlags) Reset()
- func (m *ApplyFlags) String() string
- func (m *ApplyFlags) XXX_DiscardUnknown()
- func (m *ApplyFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplyFlags) XXX_Merge(src proto.Message)
- func (m *ApplyFlags) XXX_Size() int
- func (m *ApplyFlags) XXX_Unmarshal(b []byte) error
- type ApplySettings
- func (*ApplySettings) Descriptor() ([]byte, []int)
- func (m *ApplySettings) GetAutoLockDelayMs() uint32
- func (m *ApplySettings) GetDisplayRotation() uint32
- func (m *ApplySettings) GetHomescreen() []byte
- func (m *ApplySettings) GetLabel() string
- func (m *ApplySettings) GetLanguage() string
- func (m *ApplySettings) GetPassphraseSource() ApplySettings_PassphraseSourceType
- func (m *ApplySettings) GetUsePassphrase() bool
- func (*ApplySettings) ProtoMessage()
- func (m *ApplySettings) Reset()
- func (m *ApplySettings) String() string
- func (m *ApplySettings) XXX_DiscardUnknown()
- func (m *ApplySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplySettings) XXX_Merge(src proto.Message)
- func (m *ApplySettings) XXX_Size() int
- func (m *ApplySettings) XXX_Unmarshal(b []byte) error
- type ApplySettings_PassphraseSourceType
- type BackupDevice
- func (*BackupDevice) Descriptor() ([]byte, []int)
- func (*BackupDevice) ProtoMessage()
- func (m *BackupDevice) Reset()
- func (m *BackupDevice) String() string
- func (m *BackupDevice) XXX_DiscardUnknown()
- func (m *BackupDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BackupDevice) XXX_Merge(src proto.Message)
- func (m *BackupDevice) XXX_Size() int
- func (m *BackupDevice) XXX_Unmarshal(b []byte) error
- type ButtonAck
- func (*ButtonAck) Descriptor() ([]byte, []int)
- func (*ButtonAck) ProtoMessage()
- func (m *ButtonAck) Reset()
- func (m *ButtonAck) String() string
- func (m *ButtonAck) XXX_DiscardUnknown()
- func (m *ButtonAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ButtonAck) XXX_Merge(src proto.Message)
- func (m *ButtonAck) XXX_Size() int
- func (m *ButtonAck) XXX_Unmarshal(b []byte) error
- type ButtonRequest
- func (*ButtonRequest) Descriptor() ([]byte, []int)
- func (m *ButtonRequest) GetCode() ButtonRequest_ButtonRequestType
- func (m *ButtonRequest) GetData() string
- func (*ButtonRequest) ProtoMessage()
- func (m *ButtonRequest) Reset()
- func (m *ButtonRequest) String() string
- func (m *ButtonRequest) XXX_DiscardUnknown()
- func (m *ButtonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ButtonRequest) XXX_Merge(src proto.Message)
- func (m *ButtonRequest) XXX_Size() int
- func (m *ButtonRequest) XXX_Unmarshal(b []byte) error
- type ButtonRequest_ButtonRequestType
- type Cancel
- func (*Cancel) Descriptor() ([]byte, []int)
- func (*Cancel) ProtoMessage()
- func (m *Cancel) Reset()
- func (m *Cancel) String() string
- func (m *Cancel) XXX_DiscardUnknown()
- func (m *Cancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cancel) XXX_Merge(src proto.Message)
- func (m *Cancel) XXX_Size() int
- func (m *Cancel) XXX_Unmarshal(b []byte) error
- type ChangePin
- func (*ChangePin) Descriptor() ([]byte, []int)
- func (m *ChangePin) GetRemove() bool
- func (*ChangePin) ProtoMessage()
- func (m *ChangePin) Reset()
- func (m *ChangePin) String() string
- func (m *ChangePin) XXX_DiscardUnknown()
- func (m *ChangePin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangePin) XXX_Merge(src proto.Message)
- func (m *ChangePin) XXX_Size() int
- func (m *ChangePin) XXX_Unmarshal(b []byte) error
- type ClearSession
- func (*ClearSession) Descriptor() ([]byte, []int)
- func (*ClearSession) ProtoMessage()
- func (m *ClearSession) Reset()
- func (m *ClearSession) String() string
- func (m *ClearSession) XXX_DiscardUnknown()
- func (m *ClearSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClearSession) XXX_Merge(src proto.Message)
- func (m *ClearSession) XXX_Size() int
- func (m *ClearSession) XXX_Unmarshal(b []byte) error
- type ConferoAddress
- func (*ConferoAddress) Descriptor() ([]byte, []int)
- func (m *ConferoAddress) GetAddressBin() []byte
- func (m *ConferoAddress) GetAddressHex() string
- func (*ConferoAddress) ProtoMessage()
- func (m *ConferoAddress) Reset()
- func (m *ConferoAddress) String() string
- func (m *ConferoAddress) XXX_DiscardUnknown()
- func (m *ConferoAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoAddress) XXX_Merge(src proto.Message)
- func (m *ConferoAddress) XXX_Size() int
- func (m *ConferoAddress) XXX_Unmarshal(b []byte) error
- type ConferoGetAddress
- func (*ConferoGetAddress) Descriptor() ([]byte, []int)
- func (m *ConferoGetAddress) GetAddressN() []uint32
- func (m *ConferoGetAddress) GetShowDisplay() bool
- func (*ConferoGetAddress) ProtoMessage()
- func (m *ConferoGetAddress) Reset()
- func (m *ConferoGetAddress) String() string
- func (m *ConferoGetAddress) XXX_DiscardUnknown()
- func (m *ConferoGetAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoGetAddress) XXX_Merge(src proto.Message)
- func (m *ConferoGetAddress) XXX_Size() int
- func (m *ConferoGetAddress) XXX_Unmarshal(b []byte) error
- type ConferoGetPublicKey
- func (*ConferoGetPublicKey) Descriptor() ([]byte, []int)
- func (m *ConferoGetPublicKey) GetAddressN() []uint32
- func (m *ConferoGetPublicKey) GetShowDisplay() bool
- func (*ConferoGetPublicKey) ProtoMessage()
- func (m *ConferoGetPublicKey) Reset()
- func (m *ConferoGetPublicKey) String() string
- func (m *ConferoGetPublicKey) XXX_DiscardUnknown()
- func (m *ConferoGetPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoGetPublicKey) XXX_Merge(src proto.Message)
- func (m *ConferoGetPublicKey) XXX_Size() int
- func (m *ConferoGetPublicKey) XXX_Unmarshal(b []byte) error
- type ConferoMessageSignature
- func (*ConferoMessageSignature) Descriptor() ([]byte, []int)
- func (m *ConferoMessageSignature) GetAddressBin() []byte
- func (m *ConferoMessageSignature) GetAddressHex() string
- func (m *ConferoMessageSignature) GetSignature() []byte
- func (*ConferoMessageSignature) ProtoMessage()
- func (m *ConferoMessageSignature) Reset()
- func (m *ConferoMessageSignature) String() string
- func (m *ConferoMessageSignature) XXX_DiscardUnknown()
- func (m *ConferoMessageSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoMessageSignature) XXX_Merge(src proto.Message)
- func (m *ConferoMessageSignature) XXX_Size() int
- func (m *ConferoMessageSignature) XXX_Unmarshal(b []byte) error
- type ConferoPublicKey
- func (*ConferoPublicKey) Descriptor() ([]byte, []int)
- func (m *ConferoPublicKey) GetNode() *HDNodeType
- func (m *ConferoPublicKey) GetXpub() string
- func (*ConferoPublicKey) ProtoMessage()
- func (m *ConferoPublicKey) Reset()
- func (m *ConferoPublicKey) String() string
- func (m *ConferoPublicKey) XXX_DiscardUnknown()
- func (m *ConferoPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoPublicKey) XXX_Merge(src proto.Message)
- func (m *ConferoPublicKey) XXX_Size() int
- func (m *ConferoPublicKey) XXX_Unmarshal(b []byte) error
- type ConferoSignMessage
- func (*ConferoSignMessage) Descriptor() ([]byte, []int)
- func (m *ConferoSignMessage) GetAddressN() []uint32
- func (m *ConferoSignMessage) GetMessage() []byte
- func (*ConferoSignMessage) ProtoMessage()
- func (m *ConferoSignMessage) Reset()
- func (m *ConferoSignMessage) String() string
- func (m *ConferoSignMessage) XXX_DiscardUnknown()
- func (m *ConferoSignMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoSignMessage) XXX_Merge(src proto.Message)
- func (m *ConferoSignMessage) XXX_Size() int
- func (m *ConferoSignMessage) XXX_Unmarshal(b []byte) error
- type ConferoSignTx
- func (*ConferoSignTx) Descriptor() ([]byte, []int)
- func (m *ConferoSignTx) GetAddressN() []uint32
- func (m *ConferoSignTx) GetChainId() uint32
- func (m *ConferoSignTx) GetDataInitialChunk() []byte
- func (m *ConferoSignTx) GetDataLength() uint32
- func (m *ConferoSignTx) GetGasLimit() []byte
- func (m *ConferoSignTx) GetGasPrice() []byte
- func (m *ConferoSignTx) GetNonce() []byte
- func (m *ConferoSignTx) GetToBin() []byte
- func (m *ConferoSignTx) GetToHex() string
- func (m *ConferoSignTx) GetTxType() uint32
- func (m *ConferoSignTx) GetValue() []byte
- func (*ConferoSignTx) ProtoMessage()
- func (m *ConferoSignTx) Reset()
- func (m *ConferoSignTx) String() string
- func (m *ConferoSignTx) XXX_DiscardUnknown()
- func (m *ConferoSignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoSignTx) XXX_Merge(src proto.Message)
- func (m *ConferoSignTx) XXX_Size() int
- func (m *ConferoSignTx) XXX_Unmarshal(b []byte) error
- type ConferoTxAck
- func (*ConferoTxAck) Descriptor() ([]byte, []int)
- func (m *ConferoTxAck) GetDataChunk() []byte
- func (*ConferoTxAck) ProtoMessage()
- func (m *ConferoTxAck) Reset()
- func (m *ConferoTxAck) String() string
- func (m *ConferoTxAck) XXX_DiscardUnknown()
- func (m *ConferoTxAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoTxAck) XXX_Merge(src proto.Message)
- func (m *ConferoTxAck) XXX_Size() int
- func (m *ConferoTxAck) XXX_Unmarshal(b []byte) error
- type ConferoTxRequest
- func (*ConferoTxRequest) Descriptor() ([]byte, []int)
- func (m *ConferoTxRequest) GetDataLength() uint32
- func (m *ConferoTxRequest) GetSignatureR() []byte
- func (m *ConferoTxRequest) GetSignatureS() []byte
- func (m *ConferoTxRequest) GetSignatureV() uint32
- func (*ConferoTxRequest) ProtoMessage()
- func (m *ConferoTxRequest) Reset()
- func (m *ConferoTxRequest) String() string
- func (m *ConferoTxRequest) XXX_DiscardUnknown()
- func (m *ConferoTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoTxRequest) XXX_Merge(src proto.Message)
- func (m *ConferoTxRequest) XXX_Size() int
- func (m *ConferoTxRequest) XXX_Unmarshal(b []byte) error
- type ConferoVerifyMessage
- func (*ConferoVerifyMessage) Descriptor() ([]byte, []int)
- func (m *ConferoVerifyMessage) GetAddressBin() []byte
- func (m *ConferoVerifyMessage) GetAddressHex() string
- func (m *ConferoVerifyMessage) GetMessage() []byte
- func (m *ConferoVerifyMessage) GetSignature() []byte
- func (*ConferoVerifyMessage) ProtoMessage()
- func (m *ConferoVerifyMessage) Reset()
- func (m *ConferoVerifyMessage) String() string
- func (m *ConferoVerifyMessage) XXX_DiscardUnknown()
- func (m *ConferoVerifyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConferoVerifyMessage) XXX_Merge(src proto.Message)
- func (m *ConferoVerifyMessage) XXX_Size() int
- func (m *ConferoVerifyMessage) XXX_Unmarshal(b []byte) error
- type Entropy
- func (*Entropy) Descriptor() ([]byte, []int)
- func (m *Entropy) GetEntropy() []byte
- func (*Entropy) ProtoMessage()
- func (m *Entropy) Reset()
- func (m *Entropy) String() string
- func (m *Entropy) XXX_DiscardUnknown()
- func (m *Entropy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entropy) XXX_Merge(src proto.Message)
- func (m *Entropy) XXX_Size() int
- func (m *Entropy) XXX_Unmarshal(b []byte) error
- type EntropyAck
- func (*EntropyAck) Descriptor() ([]byte, []int)
- func (m *EntropyAck) GetEntropy() []byte
- func (*EntropyAck) ProtoMessage()
- func (m *EntropyAck) Reset()
- func (m *EntropyAck) String() string
- func (m *EntropyAck) XXX_DiscardUnknown()
- func (m *EntropyAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntropyAck) XXX_Merge(src proto.Message)
- func (m *EntropyAck) XXX_Size() int
- func (m *EntropyAck) XXX_Unmarshal(b []byte) error
- type EntropyRequest
- func (*EntropyRequest) Descriptor() ([]byte, []int)
- func (*EntropyRequest) ProtoMessage()
- func (m *EntropyRequest) Reset()
- func (m *EntropyRequest) String() string
- func (m *EntropyRequest) XXX_DiscardUnknown()
- func (m *EntropyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EntropyRequest) XXX_Merge(src proto.Message)
- func (m *EntropyRequest) XXX_Size() int
- func (m *EntropyRequest) XXX_Unmarshal(b []byte) error
- type Failure
- func (*Failure) Descriptor() ([]byte, []int)
- func (m *Failure) GetCode() Failure_FailureType
- func (m *Failure) GetMessage() string
- func (*Failure) ProtoMessage()
- func (m *Failure) Reset()
- func (m *Failure) String() string
- func (m *Failure) XXX_DiscardUnknown()
- func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Failure) XXX_Merge(src proto.Message)
- func (m *Failure) XXX_Size() int
- func (m *Failure) XXX_Unmarshal(b []byte) error
- type Failure_FailureType
- type Features
- func (*Features) Descriptor() ([]byte, []int)
- func (m *Features) GetBootloaderHash() []byte
- func (m *Features) GetBootloaderMode() bool
- func (m *Features) GetDeviceId() string
- func (m *Features) GetFirmwarePresent() bool
- func (m *Features) GetFlags() uint32
- func (m *Features) GetFwMajor() uint32
- func (m *Features) GetFwMinor() uint32
- func (m *Features) GetFwPatch() uint32
- func (m *Features) GetFwVendor() string
- func (m *Features) GetFwVendorKeys() []byte
- func (m *Features) GetImported() bool
- func (m *Features) GetInitialized() bool
- func (m *Features) GetLabel() string
- func (m *Features) GetLanguage() string
- func (m *Features) GetMajorVersion() uint32
- func (m *Features) GetMinorVersion() uint32
- func (m *Features) GetModel() string
- func (m *Features) GetNeedsBackup() bool
- func (m *Features) GetNoBackup() bool
- func (m *Features) GetPassphraseCached() bool
- func (m *Features) GetPassphraseProtection() bool
- func (m *Features) GetPatchVersion() uint32
- func (m *Features) GetPinCached() bool
- func (m *Features) GetPinProtection() bool
- func (m *Features) GetRevision() []byte
- func (m *Features) GetUnfinishedBackup() bool
- func (m *Features) GetVendor() string
- func (*Features) ProtoMessage()
- func (m *Features) Reset()
- func (m *Features) String() string
- func (m *Features) XXX_DiscardUnknown()
- func (m *Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features) XXX_Merge(src proto.Message)
- func (m *Features) XXX_Size() int
- func (m *Features) XXX_Unmarshal(b []byte) error
- type GetEntropy
- func (*GetEntropy) Descriptor() ([]byte, []int)
- func (m *GetEntropy) GetSize() uint32
- func (*GetEntropy) ProtoMessage()
- func (m *GetEntropy) Reset()
- func (m *GetEntropy) String() string
- func (m *GetEntropy) XXX_DiscardUnknown()
- func (m *GetEntropy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEntropy) XXX_Merge(src proto.Message)
- func (m *GetEntropy) XXX_Size() int
- func (m *GetEntropy) XXX_Unmarshal(b []byte) error
- type GetFeatures
- func (*GetFeatures) Descriptor() ([]byte, []int)
- func (*GetFeatures) ProtoMessage()
- func (m *GetFeatures) Reset()
- func (m *GetFeatures) String() string
- func (m *GetFeatures) XXX_DiscardUnknown()
- func (m *GetFeatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeatures) XXX_Merge(src proto.Message)
- func (m *GetFeatures) XXX_Size() int
- func (m *GetFeatures) XXX_Unmarshal(b []byte) error
- type HDNodeType
- func (*HDNodeType) Descriptor() ([]byte, []int)
- func (m *HDNodeType) GetChainCode() []byte
- func (m *HDNodeType) GetChildNum() uint32
- func (m *HDNodeType) GetDepth() uint32
- func (m *HDNodeType) GetFingerprint() uint32
- func (m *HDNodeType) GetPrivateKey() []byte
- func (m *HDNodeType) GetPublicKey() []byte
- func (*HDNodeType) ProtoMessage()
- func (m *HDNodeType) Reset()
- func (m *HDNodeType) String() string
- func (m *HDNodeType) XXX_DiscardUnknown()
- func (m *HDNodeType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HDNodeType) XXX_Merge(src proto.Message)
- func (m *HDNodeType) XXX_Size() int
- func (m *HDNodeType) XXX_Unmarshal(b []byte) error
- type Initialize
- func (*Initialize) Descriptor() ([]byte, []int)
- func (m *Initialize) GetSkipPassphrase() bool
- func (m *Initialize) GetState() []byte
- func (*Initialize) ProtoMessage()
- func (m *Initialize) Reset()
- func (m *Initialize) String() string
- func (m *Initialize) XXX_DiscardUnknown()
- func (m *Initialize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Initialize) XXX_Merge(src proto.Message)
- func (m *Initialize) XXX_Size() int
- func (m *Initialize) XXX_Unmarshal(b []byte) error
- type LoadDevice
- func (*LoadDevice) Descriptor() ([]byte, []int)
- func (m *LoadDevice) GetLabel() string
- func (m *LoadDevice) GetLanguage() string
- func (m *LoadDevice) GetMnemonic() string
- func (m *LoadDevice) GetNode() *HDNodeType
- func (m *LoadDevice) GetPassphraseProtection() bool
- func (m *LoadDevice) GetPin() string
- func (m *LoadDevice) GetSkipChecksum() bool
- func (m *LoadDevice) GetU2FCounter() uint32
- func (*LoadDevice) ProtoMessage()
- func (m *LoadDevice) Reset()
- func (m *LoadDevice) String() string
- func (m *LoadDevice) XXX_DiscardUnknown()
- func (m *LoadDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadDevice) XXX_Merge(src proto.Message)
- func (m *LoadDevice) XXX_Size() int
- func (m *LoadDevice) XXX_Unmarshal(b []byte) error
- type MessageType
- type PassphraseAck
- func (*PassphraseAck) Descriptor() ([]byte, []int)
- func (m *PassphraseAck) GetPassphrase() string
- func (m *PassphraseAck) GetState() []byte
- func (*PassphraseAck) ProtoMessage()
- func (m *PassphraseAck) Reset()
- func (m *PassphraseAck) String() string
- func (m *PassphraseAck) XXX_DiscardUnknown()
- func (m *PassphraseAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PassphraseAck) XXX_Merge(src proto.Message)
- func (m *PassphraseAck) XXX_Size() int
- func (m *PassphraseAck) XXX_Unmarshal(b []byte) error
- type PassphraseRequest
- func (*PassphraseRequest) Descriptor() ([]byte, []int)
- func (m *PassphraseRequest) GetOnDevice() bool
- func (*PassphraseRequest) ProtoMessage()
- func (m *PassphraseRequest) Reset()
- func (m *PassphraseRequest) String() string
- func (m *PassphraseRequest) XXX_DiscardUnknown()
- func (m *PassphraseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PassphraseRequest) XXX_Merge(src proto.Message)
- func (m *PassphraseRequest) XXX_Size() int
- func (m *PassphraseRequest) XXX_Unmarshal(b []byte) error
- type PassphraseStateAck
- func (*PassphraseStateAck) Descriptor() ([]byte, []int)
- func (*PassphraseStateAck) ProtoMessage()
- func (m *PassphraseStateAck) Reset()
- func (m *PassphraseStateAck) String() string
- func (m *PassphraseStateAck) XXX_DiscardUnknown()
- func (m *PassphraseStateAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PassphraseStateAck) XXX_Merge(src proto.Message)
- func (m *PassphraseStateAck) XXX_Size() int
- func (m *PassphraseStateAck) XXX_Unmarshal(b []byte) error
- type PassphraseStateRequest
- func (*PassphraseStateRequest) Descriptor() ([]byte, []int)
- func (m *PassphraseStateRequest) GetState() []byte
- func (*PassphraseStateRequest) ProtoMessage()
- func (m *PassphraseStateRequest) Reset()
- func (m *PassphraseStateRequest) String() string
- func (m *PassphraseStateRequest) XXX_DiscardUnknown()
- func (m *PassphraseStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PassphraseStateRequest) XXX_Merge(src proto.Message)
- func (m *PassphraseStateRequest) XXX_Size() int
- func (m *PassphraseStateRequest) XXX_Unmarshal(b []byte) error
- type PinMatrixAck
- func (*PinMatrixAck) Descriptor() ([]byte, []int)
- func (m *PinMatrixAck) GetPin() string
- func (*PinMatrixAck) ProtoMessage()
- func (m *PinMatrixAck) Reset()
- func (m *PinMatrixAck) String() string
- func (m *PinMatrixAck) XXX_DiscardUnknown()
- func (m *PinMatrixAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PinMatrixAck) XXX_Merge(src proto.Message)
- func (m *PinMatrixAck) XXX_Size() int
- func (m *PinMatrixAck) XXX_Unmarshal(b []byte) error
- type PinMatrixRequest
- func (*PinMatrixRequest) Descriptor() ([]byte, []int)
- func (m *PinMatrixRequest) GetType() PinMatrixRequest_PinMatrixRequestType
- func (*PinMatrixRequest) ProtoMessage()
- func (m *PinMatrixRequest) Reset()
- func (m *PinMatrixRequest) String() string
- func (m *PinMatrixRequest) XXX_DiscardUnknown()
- func (m *PinMatrixRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PinMatrixRequest) XXX_Merge(src proto.Message)
- func (m *PinMatrixRequest) XXX_Size() int
- func (m *PinMatrixRequest) XXX_Unmarshal(b []byte) error
- type PinMatrixRequest_PinMatrixRequestType
- func (x PinMatrixRequest_PinMatrixRequestType) Enum() *PinMatrixRequest_PinMatrixRequestType
- func (PinMatrixRequest_PinMatrixRequestType) EnumDescriptor() ([]byte, []int)
- func (x PinMatrixRequest_PinMatrixRequestType) String() string
- func (x *PinMatrixRequest_PinMatrixRequestType) UnmarshalJSON(data []byte) error
- type Ping
- func (*Ping) Descriptor() ([]byte, []int)
- func (m *Ping) GetButtonProtection() bool
- func (m *Ping) GetMessage() string
- func (m *Ping) GetPassphraseProtection() bool
- func (m *Ping) GetPinProtection() bool
- func (*Ping) ProtoMessage()
- func (m *Ping) Reset()
- func (m *Ping) String() string
- func (m *Ping) XXX_DiscardUnknown()
- func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ping) XXX_Merge(src proto.Message)
- func (m *Ping) XXX_Size() int
- func (m *Ping) XXX_Unmarshal(b []byte) error
- type RecoveryDevice
- func (*RecoveryDevice) Descriptor() ([]byte, []int)
- func (m *RecoveryDevice) GetDryRun() bool
- func (m *RecoveryDevice) GetEnforceWordlist() bool
- func (m *RecoveryDevice) GetLabel() string
- func (m *RecoveryDevice) GetLanguage() string
- func (m *RecoveryDevice) GetPassphraseProtection() bool
- func (m *RecoveryDevice) GetPinProtection() bool
- func (m *RecoveryDevice) GetType() RecoveryDevice_RecoveryDeviceType
- func (m *RecoveryDevice) GetU2FCounter() uint32
- func (m *RecoveryDevice) GetWordCount() uint32
- func (*RecoveryDevice) ProtoMessage()
- func (m *RecoveryDevice) Reset()
- func (m *RecoveryDevice) String() string
- func (m *RecoveryDevice) XXX_DiscardUnknown()
- func (m *RecoveryDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecoveryDevice) XXX_Merge(src proto.Message)
- func (m *RecoveryDevice) XXX_Size() int
- func (m *RecoveryDevice) XXX_Unmarshal(b []byte) error
- type RecoveryDevice_RecoveryDeviceType
- type ResetDevice
- func (*ResetDevice) Descriptor() ([]byte, []int)
- func (m *ResetDevice) GetDisplayRandom() bool
- func (m *ResetDevice) GetLabel() string
- func (m *ResetDevice) GetLanguage() string
- func (m *ResetDevice) GetNoBackup() bool
- func (m *ResetDevice) GetPassphraseProtection() bool
- func (m *ResetDevice) GetPinProtection() bool
- func (m *ResetDevice) GetSkipBackup() bool
- func (m *ResetDevice) GetStrength() uint32
- func (m *ResetDevice) GetU2FCounter() uint32
- func (*ResetDevice) ProtoMessage()
- func (m *ResetDevice) Reset()
- func (m *ResetDevice) String() string
- func (m *ResetDevice) XXX_DiscardUnknown()
- func (m *ResetDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetDevice) XXX_Merge(src proto.Message)
- func (m *ResetDevice) XXX_Size() int
- func (m *ResetDevice) XXX_Unmarshal(b []byte) error
- type SetU2FCounter
- func (*SetU2FCounter) Descriptor() ([]byte, []int)
- func (m *SetU2FCounter) GetU2FCounter() uint32
- func (*SetU2FCounter) ProtoMessage()
- func (m *SetU2FCounter) Reset()
- func (m *SetU2FCounter) String() string
- func (m *SetU2FCounter) XXX_DiscardUnknown()
- func (m *SetU2FCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetU2FCounter) XXX_Merge(src proto.Message)
- func (m *SetU2FCounter) XXX_Size() int
- func (m *SetU2FCounter) XXX_Unmarshal(b []byte) error
- type Success
- func (*Success) Descriptor() ([]byte, []int)
- func (m *Success) GetMessage() string
- func (*Success) ProtoMessage()
- func (m *Success) Reset()
- func (m *Success) String() string
- func (m *Success) XXX_DiscardUnknown()
- func (m *Success) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Success) XXX_Merge(src proto.Message)
- func (m *Success) XXX_Size() int
- func (m *Success) XXX_Unmarshal(b []byte) error
- type WipeDevice
- func (*WipeDevice) Descriptor() ([]byte, []int)
- func (*WipeDevice) ProtoMessage()
- func (m *WipeDevice) Reset()
- func (m *WipeDevice) String() string
- func (m *WipeDevice) XXX_DiscardUnknown()
- func (m *WipeDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WipeDevice) XXX_Merge(src proto.Message)
- func (m *WipeDevice) XXX_Size() int
- func (m *WipeDevice) XXX_Unmarshal(b []byte) error
- type WordAck
- func (*WordAck) Descriptor() ([]byte, []int)
- func (m *WordAck) GetWord() string
- func (*WordAck) ProtoMessage()
- func (m *WordAck) Reset()
- func (m *WordAck) String() string
- func (m *WordAck) XXX_DiscardUnknown()
- func (m *WordAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WordAck) XXX_Merge(src proto.Message)
- func (m *WordAck) XXX_Size() int
- func (m *WordAck) XXX_Unmarshal(b []byte) error
- type WordRequest
- func (*WordRequest) Descriptor() ([]byte, []int)
- func (m *WordRequest) GetType() WordRequest_WordRequestType
- func (*WordRequest) ProtoMessage()
- func (m *WordRequest) Reset()
- func (m *WordRequest) String() string
- func (m *WordRequest) XXX_DiscardUnknown()
- func (m *WordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WordRequest) XXX_Merge(src proto.Message)
- func (m *WordRequest) XXX_Size() int
- func (m *WordRequest) XXX_Unmarshal(b []byte) error
- type WordRequest_WordRequestType
Constants ¶
const Default_LoadDevice_Language string = "english"
const Default_RecoveryDevice_Language string = "english"
const Default_ResetDevice_Language string = "english"
const Default_ResetDevice_Strength uint32 = 256
Variables ¶
var ApplySettings_PassphraseSourceType_name = map[int32]string{
0: "ASK",
1: "DEVICE",
2: "HOST",
}
var ApplySettings_PassphraseSourceType_value = map[string]int32{
"ASK": 0,
"DEVICE": 1,
"HOST": 2,
}
var ButtonRequest_ButtonRequestType_name = map[int32]string{
1: "ButtonRequest_Other",
2: "ButtonRequest_FeeOverThreshold",
3: "ButtonRequest_ConfirmOutput",
4: "ButtonRequest_ResetDevice",
5: "ButtonRequest_ConfirmWord",
6: "ButtonRequest_WipeDevice",
7: "ButtonRequest_ProtectCall",
8: "ButtonRequest_SignTx",
9: "ButtonRequest_FirmwareCheck",
10: "ButtonRequest_Address",
11: "ButtonRequest_PublicKey",
12: "ButtonRequest_MnemonicWordCount",
13: "ButtonRequest_MnemonicInput",
14: "ButtonRequest_PassphraseType",
15: "ButtonRequest_UnknownDerivationPath",
}
var ButtonRequest_ButtonRequestType_value = map[string]int32{
"ButtonRequest_Other": 1,
"ButtonRequest_FeeOverThreshold": 2,
"ButtonRequest_ConfirmOutput": 3,
"ButtonRequest_ResetDevice": 4,
"ButtonRequest_ConfirmWord": 5,
"ButtonRequest_WipeDevice": 6,
"ButtonRequest_ProtectCall": 7,
"ButtonRequest_SignTx": 8,
"ButtonRequest_FirmwareCheck": 9,
"ButtonRequest_Address": 10,
"ButtonRequest_PublicKey": 11,
"ButtonRequest_MnemonicWordCount": 12,
"ButtonRequest_MnemonicInput": 13,
"ButtonRequest_PassphraseType": 14,
"ButtonRequest_UnknownDerivationPath": 15,
}
var E_WireBootloader = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*bool)(nil), Field: 50007, Name: "hw.trezor.messages.wire_bootloader", Tag: "varint,50007,opt,name=wire_bootloader", Filename: "messages.proto", }
var E_WireDebugIn = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*bool)(nil), Field: 50004, Name: "hw.trezor.messages.wire_debug_in", Tag: "varint,50004,opt,name=wire_debug_in", Filename: "messages.proto", }
var E_WireDebugOut = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*bool)(nil), Field: 50005, Name: "hw.trezor.messages.wire_debug_out", Tag: "varint,50005,opt,name=wire_debug_out", Filename: "messages.proto", }
var E_WireIn = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*bool)(nil), Field: 50002, Name: "hw.trezor.messages.wire_in", Tag: "varint,50002,opt,name=wire_in", Filename: "messages.proto", }
var E_WireNoFsm = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*bool)(nil), Field: 50008, Name: "hw.trezor.messages.wire_no_fsm", Tag: "varint,50008,opt,name=wire_no_fsm", Filename: "messages.proto", }
var E_WireOut = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*bool)(nil), Field: 50003, Name: "hw.trezor.messages.wire_out", Tag: "varint,50003,opt,name=wire_out", Filename: "messages.proto", }
var E_WireTiny = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*bool)(nil), Field: 50006, Name: "hw.trezor.messages.wire_tiny", Tag: "varint,50006,opt,name=wire_tiny", Filename: "messages.proto", }
var Failure_FailureType_name = map[int32]string{
1: "Failure_UnexpectedMessage",
2: "Failure_ButtonExpected",
3: "Failure_DataError",
4: "Failure_ActionCancelled",
5: "Failure_PinExpected",
6: "Failure_PinCancelled",
7: "Failure_PinInvalid",
8: "Failure_InvalidSignature",
9: "Failure_ProcessError",
10: "Failure_NotEnoughFunds",
11: "Failure_NotInitialized",
12: "Failure_PinMismatch",
99: "Failure_FirmwareError",
}
var Failure_FailureType_value = map[string]int32{
"Failure_UnexpectedMessage": 1,
"Failure_ButtonExpected": 2,
"Failure_DataError": 3,
"Failure_ActionCancelled": 4,
"Failure_PinExpected": 5,
"Failure_PinCancelled": 6,
"Failure_PinInvalid": 7,
"Failure_InvalidSignature": 8,
"Failure_ProcessError": 9,
"Failure_NotEnoughFunds": 10,
"Failure_NotInitialized": 11,
"Failure_PinMismatch": 12,
"Failure_FirmwareError": 99,
}
var MessageType_name = map[int32]string{}/* 193 elements not displayed */
var MessageType_value = map[string]int32{}/* 193 elements not displayed */
var PinMatrixRequest_PinMatrixRequestType_name = map[int32]string{
1: "PinMatrixRequestType_Current",
2: "PinMatrixRequestType_NewFirst",
3: "PinMatrixRequestType_NewSecond",
}
var PinMatrixRequest_PinMatrixRequestType_value = map[string]int32{
"PinMatrixRequestType_Current": 1,
"PinMatrixRequestType_NewFirst": 2,
"PinMatrixRequestType_NewSecond": 3,
}
var RecoveryDevice_RecoveryDeviceType_name = map[int32]string{
0: "RecoveryDeviceType_ScrambledWords",
1: "RecoveryDeviceType_Matrix",
}
var RecoveryDevice_RecoveryDeviceType_value = map[string]int32{
"RecoveryDeviceType_ScrambledWords": 0,
"RecoveryDeviceType_Matrix": 1,
}
var WordRequest_WordRequestType_name = map[int32]string{
0: "WordRequestType_Plain",
1: "WordRequestType_Matrix9",
2: "WordRequestType_Matrix6",
}
var WordRequest_WordRequestType_value = map[string]int32{
"WordRequestType_Plain": 0,
"WordRequestType_Matrix9": 1,
"WordRequestType_Matrix6": 2,
}
Functions ¶
Types ¶
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 @start @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 (m *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"` PassphraseSource *ApplySettings_PassphraseSourceType `` /* 173-byte string literal not displayed */ AutoLockDelayMs *uint32 `protobuf:"varint,6,opt,name=auto_lock_delay_ms,json=autoLockDelayMs" json:"auto_lock_delay_ms,omitempty"` DisplayRotation *uint32 `protobuf:"varint,7,opt,name=display_rotation,json=displayRotation" json:"display_rotation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Request: change language and/or label of the device @start @next Success @next Failure
func (*ApplySettings) Descriptor ¶
func (*ApplySettings) Descriptor() ([]byte, []int)
func (*ApplySettings) GetAutoLockDelayMs ¶
func (m *ApplySettings) GetAutoLockDelayMs() uint32
func (*ApplySettings) GetDisplayRotation ¶
func (m *ApplySettings) GetDisplayRotation() uint32
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) GetPassphraseSource ¶
func (m *ApplySettings) GetPassphraseSource() ApplySettings_PassphraseSourceType
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 (m *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 ApplySettings_PassphraseSourceType ¶
type ApplySettings_PassphraseSourceType int32
* Structure representing passphrase source
const ( ApplySettings_ASK ApplySettings_PassphraseSourceType = 0 ApplySettings_DEVICE ApplySettings_PassphraseSourceType = 1 ApplySettings_HOST ApplySettings_PassphraseSourceType = 2 )
func (ApplySettings_PassphraseSourceType) Enum ¶
func (x ApplySettings_PassphraseSourceType) Enum() *ApplySettings_PassphraseSourceType
func (ApplySettings_PassphraseSourceType) EnumDescriptor ¶
func (ApplySettings_PassphraseSourceType) EnumDescriptor() ([]byte, []int)
func (ApplySettings_PassphraseSourceType) String ¶
func (x ApplySettings_PassphraseSourceType) String() string
func (*ApplySettings_PassphraseSourceType) UnmarshalJSON ¶
func (x *ApplySettings_PassphraseSourceType) UnmarshalJSON(data []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 @start @next Success
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 (m *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 @auxend
func (*ButtonAck) Descriptor ¶
func (*ButtonAck) ProtoMessage ¶
func (*ButtonAck) ProtoMessage()
func (*ButtonAck) XXX_DiscardUnknown ¶
func (m *ButtonAck) XXX_DiscardUnknown()
func (*ButtonAck) XXX_Marshal ¶
func (*ButtonAck) XXX_Unmarshal ¶
type ButtonRequest ¶
type ButtonRequest struct { Code *ButtonRequest_ButtonRequestType `protobuf:"varint,1,opt,name=code,enum=hw.trezor.messages.common.ButtonRequest_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. @auxstart @next ButtonAck
func (*ButtonRequest) Descriptor ¶
func (*ButtonRequest) Descriptor() ([]byte, []int)
func (*ButtonRequest) GetCode ¶
func (m *ButtonRequest) GetCode() ButtonRequest_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 (m *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 ButtonRequest_ButtonRequestType ¶
type ButtonRequest_ButtonRequestType int32
* Type of button request
const ( ButtonRequest_ButtonRequest_Other ButtonRequest_ButtonRequestType = 1 ButtonRequest_ButtonRequest_FeeOverThreshold ButtonRequest_ButtonRequestType = 2 ButtonRequest_ButtonRequest_ConfirmOutput ButtonRequest_ButtonRequestType = 3 ButtonRequest_ButtonRequest_ResetDevice ButtonRequest_ButtonRequestType = 4 ButtonRequest_ButtonRequest_ConfirmWord ButtonRequest_ButtonRequestType = 5 ButtonRequest_ButtonRequest_WipeDevice ButtonRequest_ButtonRequestType = 6 ButtonRequest_ButtonRequest_ProtectCall ButtonRequest_ButtonRequestType = 7 ButtonRequest_ButtonRequest_SignTx ButtonRequest_ButtonRequestType = 8 ButtonRequest_ButtonRequest_FirmwareCheck ButtonRequest_ButtonRequestType = 9 ButtonRequest_ButtonRequest_Address ButtonRequest_ButtonRequestType = 10 ButtonRequest_ButtonRequest_PublicKey ButtonRequest_ButtonRequestType = 11 ButtonRequest_ButtonRequest_MnemonicWordCount ButtonRequest_ButtonRequestType = 12 ButtonRequest_ButtonRequest_MnemonicInput ButtonRequest_ButtonRequestType = 13 ButtonRequest_ButtonRequest_PassphraseType ButtonRequest_ButtonRequestType = 14 ButtonRequest_ButtonRequest_UnknownDerivationPath ButtonRequest_ButtonRequestType = 15 )
func (ButtonRequest_ButtonRequestType) Enum ¶
func (x ButtonRequest_ButtonRequestType) Enum() *ButtonRequest_ButtonRequestType
func (ButtonRequest_ButtonRequestType) EnumDescriptor ¶
func (ButtonRequest_ButtonRequestType) EnumDescriptor() ([]byte, []int)
func (ButtonRequest_ButtonRequestType) String ¶
func (x ButtonRequest_ButtonRequestType) String() string
func (*ButtonRequest_ButtonRequestType) UnmarshalJSON ¶
func (x *ButtonRequest_ButtonRequestType) UnmarshalJSON(data []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 @start @next Failure
func (*Cancel) Descriptor ¶
func (*Cancel) ProtoMessage ¶
func (*Cancel) ProtoMessage()
func (*Cancel) XXX_DiscardUnknown ¶
func (m *Cancel) XXX_DiscardUnknown()
func (*Cancel) XXX_Marshal ¶
func (*Cancel) XXX_Unmarshal ¶
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 @start @next Success @next Failure
func (*ChangePin) Descriptor ¶
func (*ChangePin) ProtoMessage ¶
func (*ChangePin) ProtoMessage()
func (*ChangePin) XXX_DiscardUnknown ¶
func (m *ChangePin) XXX_DiscardUnknown()
func (*ChangePin) XXX_Marshal ¶
func (*ChangePin) XXX_Unmarshal ¶
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). @start @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 (m *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 ConferoAddress ¶
type ConferoAddress struct { AddressBin []byte `protobuf:"bytes,1,opt,name=addressBin" json:"addressBin,omitempty"` AddressHex *string `protobuf:"bytes,2,opt,name=addressHex" json:"addressHex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Response: Contains an Confero address derived from device private seed @end
func (*ConferoAddress) Descriptor ¶
func (*ConferoAddress) Descriptor() ([]byte, []int)
func (*ConferoAddress) GetAddressBin ¶
func (m *ConferoAddress) GetAddressBin() []byte
func (*ConferoAddress) GetAddressHex ¶
func (m *ConferoAddress) GetAddressHex() string
func (*ConferoAddress) ProtoMessage ¶
func (*ConferoAddress) ProtoMessage()
func (*ConferoAddress) Reset ¶
func (m *ConferoAddress) Reset()
func (*ConferoAddress) String ¶
func (m *ConferoAddress) String() string
func (*ConferoAddress) XXX_DiscardUnknown ¶
func (m *ConferoAddress) XXX_DiscardUnknown()
func (*ConferoAddress) XXX_Marshal ¶
func (m *ConferoAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoAddress) XXX_Merge ¶
func (m *ConferoAddress) XXX_Merge(src proto.Message)
func (*ConferoAddress) XXX_Size ¶
func (m *ConferoAddress) XXX_Size() int
func (*ConferoAddress) XXX_Unmarshal ¶
func (m *ConferoAddress) XXX_Unmarshal(b []byte) error
type ConferoGetAddress ¶
type ConferoGetAddress 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 Confero address corresponding to address_n path @start @next ConferoAddress @next Failure
func (*ConferoGetAddress) Descriptor ¶
func (*ConferoGetAddress) Descriptor() ([]byte, []int)
func (*ConferoGetAddress) GetAddressN ¶
func (m *ConferoGetAddress) GetAddressN() []uint32
func (*ConferoGetAddress) GetShowDisplay ¶
func (m *ConferoGetAddress) GetShowDisplay() bool
func (*ConferoGetAddress) ProtoMessage ¶
func (*ConferoGetAddress) ProtoMessage()
func (*ConferoGetAddress) Reset ¶
func (m *ConferoGetAddress) Reset()
func (*ConferoGetAddress) String ¶
func (m *ConferoGetAddress) String() string
func (*ConferoGetAddress) XXX_DiscardUnknown ¶
func (m *ConferoGetAddress) XXX_DiscardUnknown()
func (*ConferoGetAddress) XXX_Marshal ¶
func (m *ConferoGetAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoGetAddress) XXX_Merge ¶
func (m *ConferoGetAddress) XXX_Merge(src proto.Message)
func (*ConferoGetAddress) XXX_Size ¶
func (m *ConferoGetAddress) XXX_Size() int
func (*ConferoGetAddress) XXX_Unmarshal ¶
func (m *ConferoGetAddress) XXX_Unmarshal(b []byte) error
type ConferoGetPublicKey ¶
type ConferoGetPublicKey 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 public key corresponding to address_n path @start @next ConferoPublicKey @next Failure
func (*ConferoGetPublicKey) Descriptor ¶
func (*ConferoGetPublicKey) Descriptor() ([]byte, []int)
func (*ConferoGetPublicKey) GetAddressN ¶
func (m *ConferoGetPublicKey) GetAddressN() []uint32
func (*ConferoGetPublicKey) GetShowDisplay ¶
func (m *ConferoGetPublicKey) GetShowDisplay() bool
func (*ConferoGetPublicKey) ProtoMessage ¶
func (*ConferoGetPublicKey) ProtoMessage()
func (*ConferoGetPublicKey) Reset ¶
func (m *ConferoGetPublicKey) Reset()
func (*ConferoGetPublicKey) String ¶
func (m *ConferoGetPublicKey) String() string
func (*ConferoGetPublicKey) XXX_DiscardUnknown ¶
func (m *ConferoGetPublicKey) XXX_DiscardUnknown()
func (*ConferoGetPublicKey) XXX_Marshal ¶
func (m *ConferoGetPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoGetPublicKey) XXX_Merge ¶
func (m *ConferoGetPublicKey) XXX_Merge(src proto.Message)
func (*ConferoGetPublicKey) XXX_Size ¶
func (m *ConferoGetPublicKey) XXX_Size() int
func (*ConferoGetPublicKey) XXX_Unmarshal ¶
func (m *ConferoGetPublicKey) XXX_Unmarshal(b []byte) error
type ConferoMessageSignature ¶
type ConferoMessageSignature struct { AddressBin []byte `protobuf:"bytes,1,opt,name=addressBin" json:"addressBin,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` AddressHex *string `protobuf:"bytes,3,opt,name=addressHex" json:"addressHex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Response: Signed message @end
func (*ConferoMessageSignature) Descriptor ¶
func (*ConferoMessageSignature) Descriptor() ([]byte, []int)
func (*ConferoMessageSignature) GetAddressBin ¶
func (m *ConferoMessageSignature) GetAddressBin() []byte
func (*ConferoMessageSignature) GetAddressHex ¶
func (m *ConferoMessageSignature) GetAddressHex() string
func (*ConferoMessageSignature) GetSignature ¶
func (m *ConferoMessageSignature) GetSignature() []byte
func (*ConferoMessageSignature) ProtoMessage ¶
func (*ConferoMessageSignature) ProtoMessage()
func (*ConferoMessageSignature) Reset ¶
func (m *ConferoMessageSignature) Reset()
func (*ConferoMessageSignature) String ¶
func (m *ConferoMessageSignature) String() string
func (*ConferoMessageSignature) XXX_DiscardUnknown ¶
func (m *ConferoMessageSignature) XXX_DiscardUnknown()
func (*ConferoMessageSignature) XXX_Marshal ¶
func (m *ConferoMessageSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoMessageSignature) XXX_Merge ¶
func (m *ConferoMessageSignature) XXX_Merge(src proto.Message)
func (*ConferoMessageSignature) XXX_Size ¶
func (m *ConferoMessageSignature) XXX_Size() int
func (*ConferoMessageSignature) XXX_Unmarshal ¶
func (m *ConferoMessageSignature) XXX_Unmarshal(b []byte) error
type ConferoPublicKey ¶
type ConferoPublicKey struct { Node *HDNodeType `protobuf:"bytes,1,opt,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 @end
func (*ConferoPublicKey) Descriptor ¶
func (*ConferoPublicKey) Descriptor() ([]byte, []int)
func (*ConferoPublicKey) GetNode ¶
func (m *ConferoPublicKey) GetNode() *HDNodeType
func (*ConferoPublicKey) GetXpub ¶
func (m *ConferoPublicKey) GetXpub() string
func (*ConferoPublicKey) ProtoMessage ¶
func (*ConferoPublicKey) ProtoMessage()
func (*ConferoPublicKey) Reset ¶
func (m *ConferoPublicKey) Reset()
func (*ConferoPublicKey) String ¶
func (m *ConferoPublicKey) String() string
func (*ConferoPublicKey) XXX_DiscardUnknown ¶
func (m *ConferoPublicKey) XXX_DiscardUnknown()
func (*ConferoPublicKey) XXX_Marshal ¶
func (m *ConferoPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoPublicKey) XXX_Merge ¶
func (m *ConferoPublicKey) XXX_Merge(src proto.Message)
func (*ConferoPublicKey) XXX_Size ¶
func (m *ConferoPublicKey) XXX_Size() int
func (*ConferoPublicKey) XXX_Unmarshal ¶
func (m *ConferoPublicKey) XXX_Unmarshal(b []byte) error
type ConferoSignMessage ¶
type ConferoSignMessage struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Request: Ask device to sign message @start @next ConferoMessageSignature @next Failure
func (*ConferoSignMessage) Descriptor ¶
func (*ConferoSignMessage) Descriptor() ([]byte, []int)
func (*ConferoSignMessage) GetAddressN ¶
func (m *ConferoSignMessage) GetAddressN() []uint32
func (*ConferoSignMessage) GetMessage ¶
func (m *ConferoSignMessage) GetMessage() []byte
func (*ConferoSignMessage) ProtoMessage ¶
func (*ConferoSignMessage) ProtoMessage()
func (*ConferoSignMessage) Reset ¶
func (m *ConferoSignMessage) Reset()
func (*ConferoSignMessage) String ¶
func (m *ConferoSignMessage) String() string
func (*ConferoSignMessage) XXX_DiscardUnknown ¶
func (m *ConferoSignMessage) XXX_DiscardUnknown()
func (*ConferoSignMessage) XXX_Marshal ¶
func (m *ConferoSignMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoSignMessage) XXX_Merge ¶
func (m *ConferoSignMessage) XXX_Merge(src proto.Message)
func (*ConferoSignMessage) XXX_Size ¶
func (m *ConferoSignMessage) XXX_Size() int
func (*ConferoSignMessage) XXX_Unmarshal ¶
func (m *ConferoSignMessage) XXX_Unmarshal(b []byte) error
type ConferoSignTx ¶
type ConferoSignTx 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"` ToBin []byte `protobuf:"bytes,5,opt,name=toBin" json:"toBin,omitempty"` ToHex *string `protobuf:"bytes,11,opt,name=toHex" json:"toHex,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"` TxType *uint32 `protobuf:"varint,10,opt,name=tx_type,json=txType" json:"tx_type,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. @start @next ConferoTxRequest @next Failure
func (*ConferoSignTx) Descriptor ¶
func (*ConferoSignTx) Descriptor() ([]byte, []int)
func (*ConferoSignTx) GetAddressN ¶
func (m *ConferoSignTx) GetAddressN() []uint32
func (*ConferoSignTx) GetChainId ¶
func (m *ConferoSignTx) GetChainId() uint32
func (*ConferoSignTx) GetDataInitialChunk ¶
func (m *ConferoSignTx) GetDataInitialChunk() []byte
func (*ConferoSignTx) GetDataLength ¶
func (m *ConferoSignTx) GetDataLength() uint32
func (*ConferoSignTx) GetGasLimit ¶
func (m *ConferoSignTx) GetGasLimit() []byte
func (*ConferoSignTx) GetGasPrice ¶
func (m *ConferoSignTx) GetGasPrice() []byte
func (*ConferoSignTx) GetNonce ¶
func (m *ConferoSignTx) GetNonce() []byte
func (*ConferoSignTx) GetToBin ¶
func (m *ConferoSignTx) GetToBin() []byte
func (*ConferoSignTx) GetToHex ¶
func (m *ConferoSignTx) GetToHex() string
func (*ConferoSignTx) GetTxType ¶
func (m *ConferoSignTx) GetTxType() uint32
func (*ConferoSignTx) GetValue ¶
func (m *ConferoSignTx) GetValue() []byte
func (*ConferoSignTx) ProtoMessage ¶
func (*ConferoSignTx) ProtoMessage()
func (*ConferoSignTx) Reset ¶
func (m *ConferoSignTx) Reset()
func (*ConferoSignTx) String ¶
func (m *ConferoSignTx) String() string
func (*ConferoSignTx) XXX_DiscardUnknown ¶
func (m *ConferoSignTx) XXX_DiscardUnknown()
func (*ConferoSignTx) XXX_Marshal ¶
func (m *ConferoSignTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoSignTx) XXX_Merge ¶
func (m *ConferoSignTx) XXX_Merge(src proto.Message)
func (*ConferoSignTx) XXX_Size ¶
func (m *ConferoSignTx) XXX_Size() int
func (*ConferoSignTx) XXX_Unmarshal ¶
func (m *ConferoSignTx) XXX_Unmarshal(b []byte) error
type ConferoTxAck ¶
type ConferoTxAck 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. @next ConferoTxRequest
func (*ConferoTxAck) Descriptor ¶
func (*ConferoTxAck) Descriptor() ([]byte, []int)
func (*ConferoTxAck) GetDataChunk ¶
func (m *ConferoTxAck) GetDataChunk() []byte
func (*ConferoTxAck) ProtoMessage ¶
func (*ConferoTxAck) ProtoMessage()
func (*ConferoTxAck) Reset ¶
func (m *ConferoTxAck) Reset()
func (*ConferoTxAck) String ¶
func (m *ConferoTxAck) String() string
func (*ConferoTxAck) XXX_DiscardUnknown ¶
func (m *ConferoTxAck) XXX_DiscardUnknown()
func (*ConferoTxAck) XXX_Marshal ¶
func (m *ConferoTxAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoTxAck) XXX_Merge ¶
func (m *ConferoTxAck) XXX_Merge(src proto.Message)
func (*ConferoTxAck) XXX_Size ¶
func (m *ConferoTxAck) XXX_Size() int
func (*ConferoTxAck) XXX_Unmarshal ¶
func (m *ConferoTxAck) XXX_Unmarshal(b []byte) error
type ConferoTxRequest ¶
type ConferoTxRequest 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. @end @next ConferoTxAck
func (*ConferoTxRequest) Descriptor ¶
func (*ConferoTxRequest) Descriptor() ([]byte, []int)
func (*ConferoTxRequest) GetDataLength ¶
func (m *ConferoTxRequest) GetDataLength() uint32
func (*ConferoTxRequest) GetSignatureR ¶
func (m *ConferoTxRequest) GetSignatureR() []byte
func (*ConferoTxRequest) GetSignatureS ¶
func (m *ConferoTxRequest) GetSignatureS() []byte
func (*ConferoTxRequest) GetSignatureV ¶
func (m *ConferoTxRequest) GetSignatureV() uint32
func (*ConferoTxRequest) ProtoMessage ¶
func (*ConferoTxRequest) ProtoMessage()
func (*ConferoTxRequest) Reset ¶
func (m *ConferoTxRequest) Reset()
func (*ConferoTxRequest) String ¶
func (m *ConferoTxRequest) String() string
func (*ConferoTxRequest) XXX_DiscardUnknown ¶
func (m *ConferoTxRequest) XXX_DiscardUnknown()
func (*ConferoTxRequest) XXX_Marshal ¶
func (m *ConferoTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoTxRequest) XXX_Merge ¶
func (m *ConferoTxRequest) XXX_Merge(src proto.Message)
func (*ConferoTxRequest) XXX_Size ¶
func (m *ConferoTxRequest) XXX_Size() int
func (*ConferoTxRequest) XXX_Unmarshal ¶
func (m *ConferoTxRequest) XXX_Unmarshal(b []byte) error
type ConferoVerifyMessage ¶
type ConferoVerifyMessage struct { AddressBin []byte `protobuf:"bytes,1,opt,name=addressBin" json:"addressBin,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` AddressHex *string `protobuf:"bytes,4,opt,name=addressHex" json:"addressHex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Request: Ask device to verify message @start @next Success @next Failure
func (*ConferoVerifyMessage) Descriptor ¶
func (*ConferoVerifyMessage) Descriptor() ([]byte, []int)
func (*ConferoVerifyMessage) GetAddressBin ¶
func (m *ConferoVerifyMessage) GetAddressBin() []byte
func (*ConferoVerifyMessage) GetAddressHex ¶
func (m *ConferoVerifyMessage) GetAddressHex() string
func (*ConferoVerifyMessage) GetMessage ¶
func (m *ConferoVerifyMessage) GetMessage() []byte
func (*ConferoVerifyMessage) GetSignature ¶
func (m *ConferoVerifyMessage) GetSignature() []byte
func (*ConferoVerifyMessage) ProtoMessage ¶
func (*ConferoVerifyMessage) ProtoMessage()
func (*ConferoVerifyMessage) Reset ¶
func (m *ConferoVerifyMessage) Reset()
func (*ConferoVerifyMessage) String ¶
func (m *ConferoVerifyMessage) String() string
func (*ConferoVerifyMessage) XXX_DiscardUnknown ¶
func (m *ConferoVerifyMessage) XXX_DiscardUnknown()
func (*ConferoVerifyMessage) XXX_Marshal ¶
func (m *ConferoVerifyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConferoVerifyMessage) XXX_Merge ¶
func (m *ConferoVerifyMessage) XXX_Merge(src proto.Message)
func (*ConferoVerifyMessage) XXX_Size ¶
func (m *ConferoVerifyMessage) XXX_Size() int
func (*ConferoVerifyMessage) XXX_Unmarshal ¶
func (m *ConferoVerifyMessage) 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 @end
func (*Entropy) Descriptor ¶
func (*Entropy) GetEntropy ¶
func (*Entropy) ProtoMessage ¶
func (*Entropy) ProtoMessage()
func (*Entropy) XXX_DiscardUnknown ¶
func (m *Entropy) XXX_DiscardUnknown()
func (*Entropy) XXX_Marshal ¶
func (*Entropy) XXX_Unmarshal ¶
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 @next Success
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 (m *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 @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 (m *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 Failure ¶
type Failure struct { Code *Failure_FailureType `protobuf:"varint,1,opt,name=code,enum=hw.trezor.messages.common.Failure_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 @end
func (*Failure) Descriptor ¶
func (*Failure) GetCode ¶
func (m *Failure) GetCode() Failure_FailureType
func (*Failure) GetMessage ¶
func (*Failure) ProtoMessage ¶
func (*Failure) ProtoMessage()
func (*Failure) XXX_DiscardUnknown ¶
func (m *Failure) XXX_DiscardUnknown()
func (*Failure) XXX_Marshal ¶
func (*Failure) XXX_Unmarshal ¶
type Failure_FailureType ¶
type Failure_FailureType int32
const ( Failure_Failure_UnexpectedMessage Failure_FailureType = 1 Failure_Failure_ButtonExpected Failure_FailureType = 2 Failure_Failure_DataError Failure_FailureType = 3 Failure_Failure_ActionCancelled Failure_FailureType = 4 Failure_Failure_PinExpected Failure_FailureType = 5 Failure_Failure_PinCancelled Failure_FailureType = 6 Failure_Failure_PinInvalid Failure_FailureType = 7 Failure_Failure_InvalidSignature Failure_FailureType = 8 Failure_Failure_ProcessError Failure_FailureType = 9 Failure_Failure_NotEnoughFunds Failure_FailureType = 10 Failure_Failure_NotInitialized Failure_FailureType = 11 Failure_Failure_PinMismatch Failure_FailureType = 12 Failure_Failure_FirmwareError Failure_FailureType = 99 )
func (Failure_FailureType) Enum ¶
func (x Failure_FailureType) Enum() *Failure_FailureType
func (Failure_FailureType) EnumDescriptor ¶
func (Failure_FailureType) EnumDescriptor() ([]byte, []int)
func (Failure_FailureType) String ¶
func (x Failure_FailureType) String() string
func (*Failure_FailureType) UnmarshalJSON ¶
func (x *Failure_FailureType) UnmarshalJSON(data []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"` 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"` FwMajor *uint32 `protobuf:"varint,22,opt,name=fw_major,json=fwMajor" json:"fw_major,omitempty"` FwMinor *uint32 `protobuf:"varint,23,opt,name=fw_minor,json=fwMinor" json:"fw_minor,omitempty"` FwPatch *uint32 `protobuf:"varint,24,opt,name=fw_patch,json=fwPatch" json:"fw_patch,omitempty"` FwVendor *string `protobuf:"bytes,25,opt,name=fw_vendor,json=fwVendor" json:"fw_vendor,omitempty"` FwVendorKeys []byte `protobuf:"bytes,26,opt,name=fw_vendor_keys,json=fwVendorKeys" json:"fw_vendor_keys,omitempty"` UnfinishedBackup *bool `protobuf:"varint,27,opt,name=unfinished_backup,json=unfinishedBackup" json:"unfinished_backup,omitempty"` NoBackup *bool `protobuf:"varint,28,opt,name=no_backup,json=noBackup" json:"no_backup,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Response: Reports various information about the device @end
func (*Features) Descriptor ¶
func (*Features) GetBootloaderHash ¶
func (*Features) GetBootloaderMode ¶
func (*Features) GetDeviceId ¶
func (*Features) GetFirmwarePresent ¶
func (*Features) GetFwMajor ¶
func (*Features) GetFwMinor ¶
func (*Features) GetFwPatch ¶
func (*Features) GetFwVendor ¶
func (*Features) GetFwVendorKeys ¶
func (*Features) GetImported ¶
func (*Features) GetInitialized ¶
func (*Features) GetLanguage ¶
func (*Features) GetMajorVersion ¶
func (*Features) GetMinorVersion ¶
func (*Features) GetNeedsBackup ¶
func (*Features) GetNoBackup ¶
func (*Features) GetPassphraseCached ¶
func (*Features) GetPassphraseProtection ¶
func (*Features) GetPatchVersion ¶
func (*Features) GetPinCached ¶
func (*Features) GetPinProtection ¶
func (*Features) GetRevision ¶
func (*Features) GetUnfinishedBackup ¶
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) XXX_DiscardUnknown ¶
func (m *Features) XXX_DiscardUnknown()
func (*Features) XXX_Marshal ¶
func (*Features) XXX_Unmarshal ¶
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. @start @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 (m *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) @start @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 (m *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 HDNodeType ¶
type HDNodeType struct { Depth *uint32 `protobuf:"varint,1,req,name=depth" json:"depth,omitempty"` Fingerprint *uint32 `protobuf:"varint,2,req,name=fingerprint" json:"fingerprint,omitempty"` ChildNum *uint32 `protobuf:"varint,3,req,name=child_num,json=childNum" json:"child_num,omitempty"` ChainCode []byte `protobuf:"bytes,4,req,name=chain_code,json=chainCode" json:"chain_code,omitempty"` PrivateKey []byte `protobuf:"bytes,5,opt,name=private_key,json=privateKey" json:"private_key,omitempty"` PublicKey []byte `protobuf:"bytes,6,opt,name=public_key,json=publicKey" json:"public_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Structure representing BIP32 (hierarchical deterministic) node Used for imports of private key into the device and exporting public key out of device @embed
func (*HDNodeType) Descriptor ¶
func (*HDNodeType) Descriptor() ([]byte, []int)
func (*HDNodeType) GetChainCode ¶
func (m *HDNodeType) GetChainCode() []byte
func (*HDNodeType) GetChildNum ¶
func (m *HDNodeType) GetChildNum() uint32
func (*HDNodeType) GetDepth ¶
func (m *HDNodeType) GetDepth() uint32
func (*HDNodeType) GetFingerprint ¶
func (m *HDNodeType) GetFingerprint() uint32
func (*HDNodeType) GetPrivateKey ¶
func (m *HDNodeType) GetPrivateKey() []byte
func (*HDNodeType) GetPublicKey ¶
func (m *HDNodeType) GetPublicKey() []byte
func (*HDNodeType) ProtoMessage ¶
func (*HDNodeType) ProtoMessage()
func (*HDNodeType) Reset ¶
func (m *HDNodeType) Reset()
func (*HDNodeType) String ¶
func (m *HDNodeType) String() string
func (*HDNodeType) XXX_DiscardUnknown ¶
func (m *HDNodeType) XXX_DiscardUnknown()
func (*HDNodeType) XXX_Marshal ¶
func (m *HDNodeType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HDNodeType) XXX_Merge ¶
func (m *HDNodeType) XXX_Merge(src proto.Message)
func (*HDNodeType) XXX_Size ¶
func (m *HDNodeType) XXX_Size() int
func (*HDNodeType) XXX_Unmarshal ¶
func (m *HDNodeType) XXX_Unmarshal(b []byte) error
type Initialize ¶
type Initialize struct { State []byte `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"` SkipPassphrase *bool `protobuf:"varint,2,opt,name=skip_passphrase,json=skipPassphrase" json:"skip_passphrase,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Request: Reset device to default state and ask for device details @start @next Features
func (*Initialize) Descriptor ¶
func (*Initialize) Descriptor() ([]byte, []int)
func (*Initialize) GetSkipPassphrase ¶
func (m *Initialize) GetSkipPassphrase() bool
func (*Initialize) GetState ¶
func (m *Initialize) GetState() []byte
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 (m *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 *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 @start @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() *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 (m *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 MessageType ¶
type MessageType int32
* Mapping between TREZOR wire identifier (uint) and a protobuf message
const ( // Management 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_GetEntropy MessageType = 9 MessageType_MessageType_Entropy MessageType = 10 MessageType_MessageType_LoadDevice MessageType = 13 MessageType_MessageType_ResetDevice MessageType = 14 MessageType_MessageType_Features MessageType = 17 MessageType_MessageType_PinMatrixRequest MessageType = 18 MessageType_MessageType_PinMatrixAck MessageType = 19 MessageType_MessageType_Cancel MessageType = 20 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_BackupDevice MessageType = 34 MessageType_MessageType_EntropyRequest MessageType = 35 MessageType_MessageType_EntropyAck MessageType = 36 MessageType_MessageType_PassphraseRequest MessageType = 41 MessageType_MessageType_PassphraseAck MessageType = 42 MessageType_MessageType_PassphraseStateRequest MessageType = 77 MessageType_MessageType_PassphraseStateAck MessageType = 78 MessageType_MessageType_RecoveryDevice MessageType = 45 MessageType_MessageType_WordRequest MessageType = 46 MessageType_MessageType_WordAck MessageType = 47 MessageType_MessageType_GetFeatures MessageType = 55 MessageType_MessageType_SetU2FCounter MessageType = 63 // Bootloader MessageType_MessageType_FirmwareErase MessageType = 6 MessageType_MessageType_FirmwareUpload MessageType = 7 MessageType_MessageType_FirmwareRequest MessageType = 8 MessageType_MessageType_SelfTest MessageType = 32 // Bitcoin MessageType_MessageType_GetPublicKey MessageType = 11 MessageType_MessageType_PublicKey MessageType = 12 MessageType_MessageType_SignTx MessageType = 15 MessageType_MessageType_TxRequest MessageType = 21 MessageType_MessageType_TxAck MessageType = 22 MessageType_MessageType_GetAddress MessageType = 29 MessageType_MessageType_Address MessageType = 30 MessageType_MessageType_SignMessage MessageType = 38 MessageType_MessageType_VerifyMessage MessageType = 39 MessageType_MessageType_MessageSignature MessageType = 40 // Crypto MessageType_MessageType_CipherKeyValue MessageType = 23 MessageType_MessageType_CipheredKeyValue MessageType = 48 MessageType_MessageType_SignIdentity MessageType = 53 MessageType_MessageType_SignedIdentity MessageType = 54 MessageType_MessageType_GetECDHSessionKey MessageType = 61 MessageType_MessageType_ECDHSessionKey MessageType = 62 MessageType_MessageType_CosiCommit MessageType = 71 MessageType_MessageType_CosiCommitment MessageType = 72 MessageType_MessageType_CosiSign MessageType = 73 MessageType_MessageType_CosiSignature MessageType = 74 // Debug 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 // Confero MessageType_MessageType_ConferoGetPublicKey MessageType = 450 MessageType_MessageType_ConferoPublicKey MessageType = 451 MessageType_MessageType_ConferoGetAddress MessageType = 56 MessageType_MessageType_ConferoAddress MessageType = 57 MessageType_MessageType_ConferoSignTx MessageType = 58 MessageType_MessageType_ConferoTxRequest MessageType = 59 MessageType_MessageType_ConferoTxAck MessageType = 60 MessageType_MessageType_ConferoSignMessage MessageType = 64 MessageType_MessageType_ConferoVerifyMessage MessageType = 65 MessageType_MessageType_ConferoMessageSignature MessageType = 66 // NEM MessageType_MessageType_NEMGetAddress MessageType = 67 MessageType_MessageType_NEMAddress MessageType = 68 MessageType_MessageType_NEMSignTx MessageType = 69 MessageType_MessageType_NEMSignedTx MessageType = 70 MessageType_MessageType_NEMDecryptMessage MessageType = 75 MessageType_MessageType_NEMDecryptedMessage MessageType = 76 // Lisk MessageType_MessageType_LiskGetAddress MessageType = 114 MessageType_MessageType_LiskAddress MessageType = 115 MessageType_MessageType_LiskSignTx MessageType = 116 MessageType_MessageType_LiskSignedTx MessageType = 117 MessageType_MessageType_LiskSignMessage MessageType = 118 MessageType_MessageType_LiskMessageSignature MessageType = 119 MessageType_MessageType_LiskVerifyMessage MessageType = 120 MessageType_MessageType_LiskGetPublicKey MessageType = 121 MessageType_MessageType_LiskPublicKey MessageType = 122 // Tezos MessageType_MessageType_TezosGetAddress MessageType = 150 MessageType_MessageType_TezosAddress MessageType = 151 MessageType_MessageType_TezosSignTx MessageType = 152 MessageType_MessageType_TezosSignedTx MessageType = 153 MessageType_MessageType_TezosGetPublicKey MessageType = 154 MessageType_MessageType_TezosPublicKey MessageType = 155 // Stellar MessageType_MessageType_StellarSignTx MessageType = 202 MessageType_MessageType_StellarTxOpRequest MessageType = 203 MessageType_MessageType_StellarGetAddress MessageType = 207 MessageType_MessageType_StellarAddress MessageType = 208 MessageType_MessageType_StellarCreateAccountOp MessageType = 210 MessageType_MessageType_StellarPaymentOp MessageType = 211 MessageType_MessageType_StellarPathPaymentOp MessageType = 212 MessageType_MessageType_StellarManageOfferOp MessageType = 213 MessageType_MessageType_StellarCreatePassiveOfferOp MessageType = 214 MessageType_MessageType_StellarSetOptionsOp MessageType = 215 MessageType_MessageType_StellarChangeTrustOp MessageType = 216 MessageType_MessageType_StellarAllowTrustOp MessageType = 217 MessageType_MessageType_StellarAccountMergeOp MessageType = 218 // omitted: StellarInflationOp is not a supported operation, would be 219 MessageType_MessageType_StellarManageDataOp MessageType = 220 MessageType_MessageType_StellarBumpSequenceOp MessageType = 221 MessageType_MessageType_StellarSignedTx MessageType = 230 // TRON MessageType_MessageType_TronGetAddress MessageType = 250 MessageType_MessageType_TronAddress MessageType = 251 MessageType_MessageType_TronSignTx MessageType = 252 MessageType_MessageType_TronSignedTx MessageType = 253 // Cardano // dropped Sign/VerifyMessage ids 300-302 MessageType_MessageType_CardanoSignTx MessageType = 303 MessageType_MessageType_CardanoTxRequest MessageType = 304 MessageType_MessageType_CardanoGetPublicKey MessageType = 305 MessageType_MessageType_CardanoPublicKey MessageType = 306 MessageType_MessageType_CardanoGetAddress MessageType = 307 MessageType_MessageType_CardanoAddress MessageType = 308 MessageType_MessageType_CardanoTxAck MessageType = 309 MessageType_MessageType_CardanoSignedTx MessageType = 310 // Ontology MessageType_MessageType_OntologyGetAddress MessageType = 350 MessageType_MessageType_OntologyAddress MessageType = 351 MessageType_MessageType_OntologyGetPublicKey MessageType = 352 MessageType_MessageType_OntologyPublicKey MessageType = 353 MessageType_MessageType_OntologySignTransfer MessageType = 354 MessageType_MessageType_OntologySignedTransfer MessageType = 355 MessageType_MessageType_OntologySignWithdrawOng MessageType = 356 MessageType_MessageType_OntologySignedWithdrawOng MessageType = 357 MessageType_MessageType_OntologySignOntIdRegister MessageType = 358 MessageType_MessageType_OntologySignedOntIdRegister MessageType = 359 MessageType_MessageType_OntologySignOntIdAddAttributes MessageType = 360 MessageType_MessageType_OntologySignedOntIdAddAttributes MessageType = 361 // Ripple MessageType_MessageType_RippleGetAddress MessageType = 400 MessageType_MessageType_RippleAddress MessageType = 401 MessageType_MessageType_RippleSignTx MessageType = 402 MessageType_MessageType_RippleSignedTx MessageType = 403 // Monero MessageType_MessageType_MoneroTransactionInitRequest MessageType = 501 MessageType_MessageType_MoneroTransactionInitAck MessageType = 502 MessageType_MessageType_MoneroTransactionSetInputRequest MessageType = 503 MessageType_MessageType_MoneroTransactionSetInputAck MessageType = 504 MessageType_MessageType_MoneroTransactionInputsPermutationRequest MessageType = 505 MessageType_MessageType_MoneroTransactionInputsPermutationAck MessageType = 506 MessageType_MessageType_MoneroTransactionInputViniRequest MessageType = 507 MessageType_MessageType_MoneroTransactionInputViniAck MessageType = 508 MessageType_MessageType_MoneroTransactionAllInputsSetRequest MessageType = 509 MessageType_MessageType_MoneroTransactionAllInputsSetAck MessageType = 510 MessageType_MessageType_MoneroTransactionSetOutputRequest MessageType = 511 MessageType_MessageType_MoneroTransactionSetOutputAck MessageType = 512 MessageType_MessageType_MoneroTransactionAllOutSetRequest MessageType = 513 MessageType_MessageType_MoneroTransactionAllOutSetAck MessageType = 514 MessageType_MessageType_MoneroTransactionSignInputRequest MessageType = 515 MessageType_MessageType_MoneroTransactionSignInputAck MessageType = 516 MessageType_MessageType_MoneroTransactionFinalRequest MessageType = 517 MessageType_MessageType_MoneroTransactionFinalAck MessageType = 518 MessageType_MessageType_MoneroKeyImageExportInitRequest MessageType = 530 MessageType_MessageType_MoneroKeyImageExportInitAck MessageType = 531 MessageType_MessageType_MoneroKeyImageSyncStepRequest MessageType = 532 MessageType_MessageType_MoneroKeyImageSyncStepAck MessageType = 533 MessageType_MessageType_MoneroKeyImageSyncFinalRequest MessageType = 534 MessageType_MessageType_MoneroKeyImageSyncFinalAck MessageType = 535 MessageType_MessageType_MoneroGetAddress MessageType = 540 MessageType_MessageType_MoneroAddress MessageType = 541 MessageType_MessageType_MoneroGetWatchKey MessageType = 542 MessageType_MessageType_MoneroWatchKey MessageType = 543 MessageType_MessageType_DebugMoneroDiagRequest MessageType = 546 MessageType_MessageType_DebugMoneroDiagAck MessageType = 547 MessageType_MessageType_MoneroGetTxKeyRequest MessageType = 550 MessageType_MessageType_MoneroGetTxKeyAck MessageType = 551 MessageType_MessageType_MoneroLiveRefreshStartRequest MessageType = 552 MessageType_MessageType_MoneroLiveRefreshStartAck MessageType = 553 MessageType_MessageType_MoneroLiveRefreshStepRequest MessageType = 554 MessageType_MessageType_MoneroLiveRefreshStepAck MessageType = 555 MessageType_MessageType_MoneroLiveRefreshFinalRequest MessageType = 556 MessageType_MessageType_MoneroLiveRefreshFinalAck MessageType = 557 // EOS MessageType_MessageType_EosGetPublicKey MessageType = 600 MessageType_MessageType_EosPublicKey MessageType = 601 MessageType_MessageType_EosSignTx MessageType = 602 MessageType_MessageType_EosTxActionRequest MessageType = 603 MessageType_MessageType_EosTxActionAck MessageType = 604 MessageType_MessageType_EosSignedTx MessageType = 605 // Binance MessageType_MessageType_BinanceGetAddress MessageType = 700 MessageType_MessageType_BinanceAddress MessageType = 701 MessageType_MessageType_BinanceGetPublicKey MessageType = 702 MessageType_MessageType_BinancePublicKey MessageType = 703 MessageType_MessageType_BinanceSignTx MessageType = 704 MessageType_MessageType_BinanceTxRequest MessageType = 705 MessageType_MessageType_BinanceTransferMsg MessageType = 706 MessageType_MessageType_BinanceOrderMsg MessageType = 707 MessageType_MessageType_BinanceCancelMsg MessageType = 708 MessageType_MessageType_BinanceSignedTx MessageType = 709 )
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 PassphraseAck ¶
type PassphraseAck struct { Passphrase *string `protobuf:"bytes,1,opt,name=passphrase" json:"passphrase,omitempty"` State []byte `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Request: Send passphrase back @next PassphraseStateRequest
func (*PassphraseAck) Descriptor ¶
func (*PassphraseAck) Descriptor() ([]byte, []int)
func (*PassphraseAck) GetPassphrase ¶
func (m *PassphraseAck) GetPassphrase() string
func (*PassphraseAck) GetState ¶
func (m *PassphraseAck) GetState() []byte
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 (m *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 { OnDevice *bool `protobuf:"varint,1,opt,name=on_device,json=onDevice" json:"on_device,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Response: Device awaits encryption passphrase @auxstart @next PassphraseAck
func (*PassphraseRequest) Descriptor ¶
func (*PassphraseRequest) Descriptor() ([]byte, []int)
func (*PassphraseRequest) GetOnDevice ¶
func (m *PassphraseRequest) GetOnDevice() bool
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 (m *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 PassphraseStateAck ¶
type PassphraseStateAck struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Request: Send passphrase state back @auxend
func (*PassphraseStateAck) Descriptor ¶
func (*PassphraseStateAck) Descriptor() ([]byte, []int)
func (*PassphraseStateAck) ProtoMessage ¶
func (*PassphraseStateAck) ProtoMessage()
func (*PassphraseStateAck) Reset ¶
func (m *PassphraseStateAck) Reset()
func (*PassphraseStateAck) String ¶
func (m *PassphraseStateAck) String() string
func (*PassphraseStateAck) XXX_DiscardUnknown ¶
func (m *PassphraseStateAck) XXX_DiscardUnknown()
func (*PassphraseStateAck) XXX_Marshal ¶
func (m *PassphraseStateAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PassphraseStateAck) XXX_Merge ¶
func (m *PassphraseStateAck) XXX_Merge(src proto.Message)
func (*PassphraseStateAck) XXX_Size ¶
func (m *PassphraseStateAck) XXX_Size() int
func (*PassphraseStateAck) XXX_Unmarshal ¶
func (m *PassphraseStateAck) XXX_Unmarshal(b []byte) error
type PassphraseStateRequest ¶
type PassphraseStateRequest struct { State []byte `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Response: Device awaits passphrase state @next PassphraseStateAck
func (*PassphraseStateRequest) Descriptor ¶
func (*PassphraseStateRequest) Descriptor() ([]byte, []int)
func (*PassphraseStateRequest) GetState ¶
func (m *PassphraseStateRequest) GetState() []byte
func (*PassphraseStateRequest) ProtoMessage ¶
func (*PassphraseStateRequest) ProtoMessage()
func (*PassphraseStateRequest) Reset ¶
func (m *PassphraseStateRequest) Reset()
func (*PassphraseStateRequest) String ¶
func (m *PassphraseStateRequest) String() string
func (*PassphraseStateRequest) XXX_DiscardUnknown ¶
func (m *PassphraseStateRequest) XXX_DiscardUnknown()
func (*PassphraseStateRequest) XXX_Marshal ¶
func (m *PassphraseStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PassphraseStateRequest) XXX_Merge ¶
func (m *PassphraseStateRequest) XXX_Merge(src proto.Message)
func (*PassphraseStateRequest) XXX_Size ¶
func (m *PassphraseStateRequest) XXX_Size() int
func (*PassphraseStateRequest) XXX_Unmarshal ¶
func (m *PassphraseStateRequest) 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 @auxend
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 (m *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 *PinMatrixRequest_PinMatrixRequestType `protobuf:"varint,1,opt,name=type,enum=hw.trezor.messages.common.PinMatrixRequest_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 @auxstart @next PinMatrixAck
func (*PinMatrixRequest) Descriptor ¶
func (*PinMatrixRequest) Descriptor() ([]byte, []int)
func (*PinMatrixRequest) GetType ¶
func (m *PinMatrixRequest) GetType() PinMatrixRequest_PinMatrixRequestType
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 (m *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 PinMatrixRequest_PinMatrixRequestType ¶
type PinMatrixRequest_PinMatrixRequestType int32
* Type of PIN request
const ( PinMatrixRequest_PinMatrixRequestType_Current PinMatrixRequest_PinMatrixRequestType = 1 PinMatrixRequest_PinMatrixRequestType_NewFirst PinMatrixRequest_PinMatrixRequestType = 2 PinMatrixRequest_PinMatrixRequestType_NewSecond PinMatrixRequest_PinMatrixRequestType = 3 )
func (PinMatrixRequest_PinMatrixRequestType) EnumDescriptor ¶
func (PinMatrixRequest_PinMatrixRequestType) EnumDescriptor() ([]byte, []int)
func (PinMatrixRequest_PinMatrixRequestType) String ¶
func (x PinMatrixRequest_PinMatrixRequestType) String() string
func (*PinMatrixRequest_PinMatrixRequestType) UnmarshalJSON ¶
func (x *PinMatrixRequest_PinMatrixRequestType) UnmarshalJSON(data []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 @start @next Success
func (*Ping) Descriptor ¶
func (*Ping) GetButtonProtection ¶
func (*Ping) GetMessage ¶
func (*Ping) GetPassphraseProtection ¶
func (*Ping) GetPinProtection ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) XXX_DiscardUnknown ¶
func (m *Ping) XXX_DiscardUnknown()
func (*Ping) XXX_Unmarshal ¶
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 *RecoveryDevice_RecoveryDeviceType `protobuf:"varint,8,opt,name=type,enum=hw.trezor.messages.management.RecoveryDevice_RecoveryDeviceType" 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. @start @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() RecoveryDevice_RecoveryDeviceType
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 (m *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 RecoveryDevice_RecoveryDeviceType ¶
type RecoveryDevice_RecoveryDeviceType int32
* Type of recovery procedure. These should be used as bitmask, e.g., `RecoveryDeviceType_ScrambledWords | RecoveryDeviceType_Matrix` listing every method supported by the host computer.
Note that ScrambledWords must be supported by every implementation for backward compatibility; there is no way to not support it.
const ( // use powers of two when extending this field RecoveryDevice_RecoveryDeviceType_ScrambledWords RecoveryDevice_RecoveryDeviceType = 0 RecoveryDevice_RecoveryDeviceType_Matrix RecoveryDevice_RecoveryDeviceType = 1 )
func (RecoveryDevice_RecoveryDeviceType) Enum ¶
func (x RecoveryDevice_RecoveryDeviceType) Enum() *RecoveryDevice_RecoveryDeviceType
func (RecoveryDevice_RecoveryDeviceType) EnumDescriptor ¶
func (RecoveryDevice_RecoveryDeviceType) EnumDescriptor() ([]byte, []int)
func (RecoveryDevice_RecoveryDeviceType) String ¶
func (x RecoveryDevice_RecoveryDeviceType) String() string
func (*RecoveryDevice_RecoveryDeviceType) UnmarshalJSON ¶
func (x *RecoveryDevice_RecoveryDeviceType) UnmarshalJSON(data []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"` NoBackup *bool `protobuf:"varint,9,opt,name=no_backup,json=noBackup" json:"no_backup,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* Request: Ask device to do initialization involving user interaction @start @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) GetNoBackup ¶
func (m *ResetDevice) GetNoBackup() bool
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 (m *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 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 @start @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 (m *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 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 @end
func (*Success) Descriptor ¶
func (*Success) GetMessage ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) XXX_DiscardUnknown ¶
func (m *Success) XXX_DiscardUnknown()
func (*Success) XXX_Marshal ¶
func (*Success) XXX_Unmarshal ¶
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 @start @next Success @next Failure
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 (m *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 @next WordRequest @next Success @next Failure
func (*WordAck) Descriptor ¶
func (*WordAck) ProtoMessage ¶
func (*WordAck) ProtoMessage()
func (*WordAck) XXX_DiscardUnknown ¶
func (m *WordAck) XXX_DiscardUnknown()
func (*WordAck) XXX_Marshal ¶
func (*WordAck) XXX_Unmarshal ¶
type WordRequest ¶
type WordRequest struct { Type *WordRequest_WordRequestType `protobuf:"varint,1,opt,name=type,enum=hw.trezor.messages.management.WordRequest_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. @next WordAck
func (*WordRequest) Descriptor ¶
func (*WordRequest) Descriptor() ([]byte, []int)
func (*WordRequest) GetType ¶
func (m *WordRequest) GetType() WordRequest_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 (m *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
type WordRequest_WordRequestType ¶
type WordRequest_WordRequestType int32
* Type of Recovery Word request
const ( WordRequest_WordRequestType_Plain WordRequest_WordRequestType = 0 WordRequest_WordRequestType_Matrix9 WordRequest_WordRequestType = 1 WordRequest_WordRequestType_Matrix6 WordRequest_WordRequestType = 2 )
func (WordRequest_WordRequestType) Enum ¶
func (x WordRequest_WordRequestType) Enum() *WordRequest_WordRequestType
func (WordRequest_WordRequestType) EnumDescriptor ¶
func (WordRequest_WordRequestType) EnumDescriptor() ([]byte, []int)
func (WordRequest_WordRequestType) String ¶
func (x WordRequest_WordRequestType) String() string
func (*WordRequest_WordRequestType) UnmarshalJSON ¶
func (x *WordRequest_WordRequestType) UnmarshalJSON(data []byte) error