Documentation ¶
Overview ¶
Package messages is a generated protocol buffer package.
It is generated from these files:
messages.proto
It has these top-level messages:
Initialize GetFeatures Features ClearSession ApplySettings ChangePin Ping Success Failure ButtonRequest ButtonAck PinMatrixRequest PinMatrixAck Cancel PassphraseRequest PassphraseAck GetEntropy Entropy GetPublicKey PublicKey GetAddress EthereumGetAddress Address EthereumAddress WipeDevice LoadDevice ResetDevice EntropyRequest EntropyAck RecoveryDevice WordRequest WordAck CharacterRequest CharacterAck SignMessage VerifyMessage MessageSignature EncryptMessage EncryptedMessage DecryptMessage DecryptedMessage CipherKeyValue CipheredKeyValue EstimateTxSize TxSize SignTx SimpleSignTx TxRequest TxAck RawTxAck EthereumSignTx EthereumTxRequest EthereumTxAck SignIdentity SignedIdentity ApplyPolicies FirmwareErase FirmwareUpload DebugLinkDecision DebugLinkGetState DebugLinkState DebugLinkStop DebugLinkLog DebugLinkFillConfig
Index ¶
- Constants
- Variables
- type Address
- type ApplyPolicies
- type ApplySettings
- func (*ApplySettings) Descriptor() ([]byte, []int)
- func (*ApplySettings) GetHomescreen() []byte
- func (m *ApplySettings) GetLabel() string
- func (m *ApplySettings) GetLanguage() string
- func (m *ApplySettings) GetUsePassphrase() bool
- func (*ApplySettings) ProtoMessage()
- func (m *ApplySettings) Reset()
- func (*ApplySettings) SetHomescreen(x []byte)
- func (z *ApplySettings) SetLabel(x *string)
- func (z *ApplySettings) SetLanguage(x *string)
- func (z *ApplySettings) SetUsePassphrase(x *bool)
- func (m *ApplySettings) String() string
- type ButtonAck
- type ButtonRequest
- func (*ButtonRequest) Descriptor() ([]byte, []int)
- func (m *ButtonRequest) GetCode() commontypes.ButtonRequestTyper
- func (m *ButtonRequest) GetData() string
- func (*ButtonRequest) ProtoMessage()
- func (m *ButtonRequest) Reset()
- func (z *ButtonRequest) SetCode(x commontypes.ButtonRequestTyper)
- func (z *ButtonRequest) SetData(x *string)
- func (m *ButtonRequest) String() string
- type Cancel
- type ChangePin
- type CharacterAck
- func (*CharacterAck) Descriptor() ([]byte, []int)
- func (m *CharacterAck) GetCharacter() string
- func (m *CharacterAck) GetDelete() bool
- func (m *CharacterAck) GetDone() bool
- func (*CharacterAck) ProtoMessage()
- func (m *CharacterAck) Reset()
- func (z *CharacterAck) SetCharacter(x *string)
- func (z *CharacterAck) SetDelete(x *bool)
- func (z *CharacterAck) SetDone(x *bool)
- func (m *CharacterAck) String() string
- type CharacterRequest
- func (*CharacterRequest) Descriptor() ([]byte, []int)
- func (m *CharacterRequest) GetCharacterPos() uint32
- func (m *CharacterRequest) GetWordPos() uint32
- func (*CharacterRequest) ProtoMessage()
- func (m *CharacterRequest) Reset()
- func (z *CharacterRequest) SetCharacterPos(x *uint32)
- func (z *CharacterRequest) SetWordPos(x *uint32)
- func (m *CharacterRequest) String() string
- type CipherKeyValue
- func (*CipherKeyValue) Descriptor() ([]byte, []int)
- func (m *CipherKeyValue) GetAddressN() []uint32
- func (m *CipherKeyValue) GetAskOnDecrypt() bool
- func (m *CipherKeyValue) GetAskOnEncrypt() bool
- func (m *CipherKeyValue) GetEncrypt() bool
- func (m *CipherKeyValue) GetIv() []byte
- func (m *CipherKeyValue) GetKey() string
- func (m *CipherKeyValue) GetValue() []byte
- func (*CipherKeyValue) ProtoMessage()
- func (m *CipherKeyValue) Reset()
- func (z *CipherKeyValue) SetAddressN(x []uint32)
- func (z *CipherKeyValue) SetAskOnDecrypt(x *bool)
- func (z *CipherKeyValue) SetAskOnEncrypt(x *bool)
- func (z *CipherKeyValue) SetEncrypt(x *bool)
- func (z *CipherKeyValue) SetIv(x []byte)
- func (z *CipherKeyValue) SetKey(x *string)
- func (z *CipherKeyValue) SetValue(x []byte)
- func (m *CipherKeyValue) String() string
- type CipheredKeyValue
- type ClearSession
- type DebugLinkDecision
- type DebugLinkFillConfig
- type DebugLinkFlashErase
- type DebugLinkGetState
- type DebugLinkLog
- func (*DebugLinkLog) Descriptor() ([]byte, []int)
- func (m *DebugLinkLog) GetBucket() string
- func (m *DebugLinkLog) GetLevel() uint32
- func (m *DebugLinkLog) GetText() string
- func (*DebugLinkLog) ProtoMessage()
- func (m *DebugLinkLog) Reset()
- func (z *DebugLinkLog) SetBucket(x *string)
- func (z *DebugLinkLog) SetLevel(x *uint32)
- func (z *DebugLinkLog) SetText(x *string)
- func (m *DebugLinkLog) String() string
- type DebugLinkMemory
- type DebugLinkMemoryRead
- func (*DebugLinkMemoryRead) GetAddress() uint32
- func (*DebugLinkMemoryRead) GetLength() uint32
- func (*DebugLinkMemoryRead) ProtoMessage()
- func (*DebugLinkMemoryRead) Reset()
- func (*DebugLinkMemoryRead) SetAddress(x *uint32)
- func (*DebugLinkMemoryRead) SetLength(x *uint32)
- func (*DebugLinkMemoryRead) String() string
- type DebugLinkMemoryWrite
- func (*DebugLinkMemoryWrite) GetAddress() uint32
- func (*DebugLinkMemoryWrite) GetFlash() bool
- func (*DebugLinkMemoryWrite) GetMemory() []byte
- func (*DebugLinkMemoryWrite) ProtoMessage()
- func (*DebugLinkMemoryWrite) Reset()
- func (*DebugLinkMemoryWrite) SetAddress(x *uint32)
- func (*DebugLinkMemoryWrite) SetFlash(x *bool)
- func (*DebugLinkMemoryWrite) SetMemory(x []byte)
- func (*DebugLinkMemoryWrite) String() string
- type DebugLinkState
- func (*DebugLinkState) Descriptor() ([]byte, []int)
- func (m *DebugLinkState) GetFirmwareHash() []byte
- func (m *DebugLinkState) GetLayout() []byte
- func (m *DebugLinkState) GetMatrix() string
- func (m *DebugLinkState) GetMnemonic() string
- func (m *DebugLinkState) GetNode() commontypes.HDNodeTyper
- func (m *DebugLinkState) GetPassphraseProtection() bool
- func (m *DebugLinkState) GetPin() string
- func (m *DebugLinkState) GetRecoveryAutoCompletedWord() string
- func (m *DebugLinkState) GetRecoveryCipher() string
- func (m *DebugLinkState) GetRecoveryFakeWord() string
- func (m *DebugLinkState) GetRecoveryWordPos() uint32
- func (m *DebugLinkState) GetResetEntropy() []byte
- func (m *DebugLinkState) GetResetWord() string
- func (m *DebugLinkState) GetStorageHash() []byte
- func (*DebugLinkState) ProtoMessage()
- func (m *DebugLinkState) Reset()
- func (z *DebugLinkState) SetFirmwareHash(x []byte)
- func (z *DebugLinkState) SetLayout(x []byte)
- func (z *DebugLinkState) SetMatrix(x *string)
- func (z *DebugLinkState) SetMnemonic(x *string)
- func (z *DebugLinkState) SetNode(x commontypes.HDNodeTyper)
- func (z *DebugLinkState) SetPassphraseProtection(x *bool)
- func (z *DebugLinkState) SetPin(x *string)
- func (z *DebugLinkState) SetRecoveryAutoCompletedWord(x *string)
- func (z *DebugLinkState) SetRecoveryCipher(x *string)
- func (z *DebugLinkState) SetRecoveryFakeWord(x *string)
- func (z *DebugLinkState) SetRecoveryWordPos(x *uint32)
- func (z *DebugLinkState) SetResetEntropy(x []byte)
- func (z *DebugLinkState) SetResetWord(x *string)
- func (z *DebugLinkState) SetStorageHash(x []byte)
- func (m *DebugLinkState) String() string
- type DebugLinkStop
- type DecryptMessage
- func (*DecryptMessage) Descriptor() ([]byte, []int)
- func (m *DecryptMessage) GetAddressN() []uint32
- func (m *DecryptMessage) GetHmac() []byte
- func (m *DecryptMessage) GetMessage() []byte
- func (m *DecryptMessage) GetNonce() []byte
- func (*DecryptMessage) ProtoMessage()
- func (m *DecryptMessage) Reset()
- func (z *DecryptMessage) SetAddressN(x []uint32)
- func (z *DecryptMessage) SetHmac(x []byte)
- func (z *DecryptMessage) SetMessage(x []byte)
- func (z *DecryptMessage) SetNonce(x []byte)
- func (m *DecryptMessage) String() string
- type DecryptedMessage
- func (*DecryptedMessage) Descriptor() ([]byte, []int)
- func (m *DecryptedMessage) GetAddress() string
- func (m *DecryptedMessage) GetMessage() []byte
- func (*DecryptedMessage) ProtoMessage()
- func (m *DecryptedMessage) Reset()
- func (z *DecryptedMessage) SetAddress(x *string)
- func (z *DecryptedMessage) SetMessage(x []byte)
- func (m *DecryptedMessage) String() string
- type ECDHSessionKey
- type EncryptMessage
- func (*EncryptMessage) Descriptor() ([]byte, []int)
- func (m *EncryptMessage) GetAddressN() []uint32
- func (m *EncryptMessage) GetCoinName() string
- func (m *EncryptMessage) GetDisplayOnly() bool
- func (m *EncryptMessage) GetMessage() []byte
- func (m *EncryptMessage) GetPubkey() []byte
- func (*EncryptMessage) ProtoMessage()
- func (m *EncryptMessage) Reset()
- func (z *EncryptMessage) SetAddressN(x []uint32)
- func (z *EncryptMessage) SetCoinName(x *string)
- func (z *EncryptMessage) SetDisplayOnly(x *bool)
- func (z *EncryptMessage) SetMessage(x []byte)
- func (z *EncryptMessage) SetPubkey(x []byte)
- func (m *EncryptMessage) String() string
- type EncryptedMessage
- func (*EncryptedMessage) Descriptor() ([]byte, []int)
- func (m *EncryptedMessage) GetHmac() []byte
- func (m *EncryptedMessage) GetMessage() []byte
- func (m *EncryptedMessage) GetNonce() []byte
- func (*EncryptedMessage) ProtoMessage()
- func (m *EncryptedMessage) Reset()
- func (z *EncryptedMessage) SetHmac(x []byte)
- func (z *EncryptedMessage) SetMessage(x []byte)
- func (z *EncryptedMessage) SetNonce(x []byte)
- func (m *EncryptedMessage) String() string
- type Entropy
- type EntropyAck
- type EntropyRequest
- type EstimateTxSize
- func (*EstimateTxSize) Descriptor() ([]byte, []int)
- func (m *EstimateTxSize) GetCoinName() string
- func (m *EstimateTxSize) GetInputsCount() uint32
- func (m *EstimateTxSize) GetOutputsCount() uint32
- func (*EstimateTxSize) ProtoMessage()
- func (m *EstimateTxSize) Reset()
- func (z *EstimateTxSize) SetCoinName(x *string)
- func (z *EstimateTxSize) SetInputsCount(x *uint32)
- func (z *EstimateTxSize) SetOutputsCount(x *uint32)
- func (m *EstimateTxSize) String() string
- type EthereumAddress
- type EthereumGetAddress
- func (*EthereumGetAddress) Descriptor() ([]byte, []int)
- func (m *EthereumGetAddress) GetAddressN() []uint32
- func (m *EthereumGetAddress) GetShowDisplay() bool
- func (*EthereumGetAddress) ProtoMessage()
- func (m *EthereumGetAddress) Reset()
- func (z *EthereumGetAddress) SetAddressN(x []uint32)
- func (z *EthereumGetAddress) SetShowDisplay(x *bool)
- func (m *EthereumGetAddress) String() string
- type EthereumSignTx
- func (*EthereumSignTx) Descriptor() ([]byte, []int)
- func (m *EthereumSignTx) GetAddressN() []uint32
- func (m *EthereumSignTx) GetAddressType() commontypes.OutputAddressTyper
- func (m *EthereumSignTx) GetChainId() uint32
- func (m *EthereumSignTx) GetDataInitialChunk() []byte
- func (m *EthereumSignTx) GetDataLength() uint32
- func (m *EthereumSignTx) GetExchangeType() commontypes.ExchangeTyper
- func (m *EthereumSignTx) GetGasLimit() []byte
- func (m *EthereumSignTx) GetGasPrice() []byte
- func (m *EthereumSignTx) GetNonce() []byte
- func (m *EthereumSignTx) GetTo() []byte
- func (m *EthereumSignTx) GetToAddressN() []uint32
- func (m *EthereumSignTx) GetValue() []byte
- func (*EthereumSignTx) ProtoMessage()
- func (m *EthereumSignTx) Reset()
- func (z *EthereumSignTx) SetAddressN(x []uint32)
- func (z *EthereumSignTx) SetAddressType(x commontypes.OutputAddressTyper)
- func (z *EthereumSignTx) SetChainId(x *uint32)
- func (z *EthereumSignTx) SetDataInitialChunk(x []byte)
- func (z *EthereumSignTx) SetDataLength(x *uint32)
- func (z *EthereumSignTx) SetExchangeType(x commontypes.ExchangeTyper)
- func (z *EthereumSignTx) SetGasLimit(x []byte)
- func (z *EthereumSignTx) SetGasPrice(x []byte)
- func (z *EthereumSignTx) SetNonce(x []byte)
- func (z *EthereumSignTx) SetTo(x []byte)
- func (z *EthereumSignTx) SetToAddressN(x []uint32)
- func (z *EthereumSignTx) SetValue(x []byte)
- func (m *EthereumSignTx) String() string
- type EthereumTxAck
- type EthereumTxRequest
- func (*EthereumTxRequest) Descriptor() ([]byte, []int)
- func (m *EthereumTxRequest) GetDataLength() uint32
- func (m *EthereumTxRequest) GetHash() []byte
- func (m *EthereumTxRequest) GetSignatureDer() []byte
- func (m *EthereumTxRequest) GetSignatureR() []byte
- func (m *EthereumTxRequest) GetSignatureS() []byte
- func (m *EthereumTxRequest) GetSignatureV() uint32
- func (*EthereumTxRequest) ProtoMessage()
- func (m *EthereumTxRequest) Reset()
- func (z *EthereumTxRequest) SetDataLength(x *uint32)
- func (z *EthereumTxRequest) SetHash(x []byte)
- func (z *EthereumTxRequest) SetSignatureDer(x []byte)
- func (z *EthereumTxRequest) SetSignatureR(x []byte)
- func (z *EthereumTxRequest) SetSignatureS(x []byte)
- func (z *EthereumTxRequest) SetSignatureV(x *uint32)
- func (m *EthereumTxRequest) String() string
- type Failure
- func (*Failure) Descriptor() ([]byte, []int)
- func (m *Failure) GetCode() commontypes.FailureTyper
- func (m *Failure) GetMessage() string
- func (*Failure) ProtoMessage()
- func (m *Failure) Reset()
- func (z *Failure) SetCode(x commontypes.FailureTyper)
- func (z *Failure) SetMessage(x *string)
- func (m *Failure) String() string
- type Features
- func (*Features) Descriptor() ([]byte, []int)
- func (m *Features) GetBootloaderHash() []byte
- func (m *Features) GetBootloaderMode() bool
- func (m *Features) GetCoins() []commontypes.CoinTyper
- func (m *Features) GetDeviceId() string
- func (*Features) GetFirmwarePresent() bool
- 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) 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) GetPolicies() []commontypes.PolicyTyper
- func (m *Features) GetRevision() []byte
- func (m *Features) GetVendor() string
- func (*Features) ProtoMessage()
- func (m *Features) Reset()
- func (z *Features) SetBootloaderHash(x []byte)
- func (z *Features) SetBootloaderMode(x *bool)
- func (z *Features) SetCoins(x []commontypes.CoinTyper)
- func (z *Features) SetDeviceId(x *string)
- func (*Features) SetFirmwarePresent(x *bool)
- func (z *Features) SetImported(x *bool)
- func (z *Features) SetInitialized(x *bool)
- func (z *Features) SetLabel(x *string)
- func (z *Features) SetLanguage(x *string)
- func (z *Features) SetMajorVersion(x *uint32)
- func (z *Features) SetMinorVersion(x *uint32)
- func (z *Features) SetPassphraseCached(x *bool)
- func (z *Features) SetPassphraseProtection(x *bool)
- func (z *Features) SetPatchVersion(x *uint32)
- func (z *Features) SetPinCached(x *bool)
- func (z *Features) SetPinProtection(x *bool)
- func (z *Features) SetPolicies(x []commontypes.PolicyTyper)
- func (z *Features) SetRevision(x []byte)
- func (z *Features) SetVendor(x *string)
- func (m *Features) String() string
- type FirmwareErase
- type FirmwareRequest
- type FirmwareUpload
- func (*FirmwareUpload) Descriptor() ([]byte, []int)
- func (*FirmwareUpload) GetHash() []byte
- func (m *FirmwareUpload) GetPayload() []byte
- func (m *FirmwareUpload) GetPayloadHash() []byte
- func (*FirmwareUpload) ProtoMessage()
- func (m *FirmwareUpload) Reset()
- func (*FirmwareUpload) SetHash(x []byte)
- func (z *FirmwareUpload) SetPayload(x []byte)
- func (z *FirmwareUpload) SetPayloadHash(x []byte)
- func (m *FirmwareUpload) String() string
- type GetAddress
- func (*GetAddress) Descriptor() ([]byte, []int)
- func (m *GetAddress) GetAddressN() []uint32
- func (m *GetAddress) GetCoinName() string
- func (m *GetAddress) GetMultisig() commontypes.MultisigRedeemScriptTyper
- func (m *GetAddress) GetScriptType() commontypes.InputScriptTyper
- func (m *GetAddress) GetShowDisplay() bool
- func (*GetAddress) ProtoMessage()
- func (m *GetAddress) Reset()
- func (z *GetAddress) SetAddressN(x []uint32)
- func (z *GetAddress) SetCoinName(x *string)
- func (z *GetAddress) SetMultisig(x commontypes.MultisigRedeemScriptTyper)
- func (z *GetAddress) SetScriptType(x commontypes.InputScriptTyper)
- func (z *GetAddress) SetShowDisplay(x *bool)
- func (m *GetAddress) String() string
- type GetECDHSessionKey
- func (*GetECDHSessionKey) GetEcdsaCurveName() string
- func (*GetECDHSessionKey) GetIdentity() commontypes.IdentityTyper
- func (*GetECDHSessionKey) GetPeerPublicKey() []byte
- func (*GetECDHSessionKey) ProtoMessage()
- func (*GetECDHSessionKey) Reset()
- func (*GetECDHSessionKey) SetEcdsaCurveName(x *string)
- func (*GetECDHSessionKey) SetIdentity(x commontypes.IdentityTyper)
- func (*GetECDHSessionKey) SetPeerPublicKey(x []byte)
- func (*GetECDHSessionKey) String() string
- type GetEntropy
- type GetFeatures
- type GetPublicKey
- func (*GetPublicKey) Descriptor() ([]byte, []int)
- func (m *GetPublicKey) GetAddressN() []uint32
- func (m *GetPublicKey) GetEcdsaCurveName() string
- func (m *GetPublicKey) GetShowDisplay() bool
- func (*GetPublicKey) ProtoMessage()
- func (m *GetPublicKey) Reset()
- func (z *GetPublicKey) SetAddressN(x []uint32)
- func (z *GetPublicKey) SetEcdsaCurveName(x *string)
- func (z *GetPublicKey) SetShowDisplay(x *bool)
- func (m *GetPublicKey) String() string
- type Getter
- func (*Getter) GetAddress() common.Addresser
- func (*Getter) GetApplyPolicies() common.ApplyPolicieser
- func (*Getter) GetApplySettings() common.ApplySettingser
- func (*Getter) GetButtonAck() common.ButtonAcker
- func (*Getter) GetButtonRequest() common.ButtonRequester
- func (*Getter) GetCancel() common.Canceler
- func (*Getter) GetChangePin() common.ChangePiner
- func (*Getter) GetCharacterAck() common.CharacterAcker
- func (*Getter) GetCharacterRequest() common.CharacterRequester
- func (*Getter) GetCipherKeyValue() common.CipherKeyValuer
- func (*Getter) GetCipheredKeyValue() common.CipheredKeyValuer
- func (*Getter) GetClearSession() common.ClearSessioner
- func (*Getter) GetDebugLinkDecision() common.DebugLinkDecisioner
- func (*Getter) GetDebugLinkFillConfig() common.DebugLinkFillConfiger
- func (*Getter) GetDebugLinkFlashErase() common.DebugLinkFlashEraser
- func (*Getter) GetDebugLinkGetState() common.DebugLinkGetStater
- func (*Getter) GetDebugLinkLog() common.DebugLinkLoger
- func (*Getter) GetDebugLinkMemory() common.DebugLinkMemoryer
- func (*Getter) GetDebugLinkMemoryRead() common.DebugLinkMemoryReader
- func (*Getter) GetDebugLinkMemoryWrite() common.DebugLinkMemoryWriter
- func (*Getter) GetDebugLinkState() common.DebugLinkStater
- func (*Getter) GetDebugLinkStop() common.DebugLinkStoper
- func (*Getter) GetDecryptMessage() common.DecryptMessager
- func (*Getter) GetDecryptedMessage() common.DecryptedMessager
- func (*Getter) GetECDHSessionKey() common.ECDHSessionKeyer
- func (*Getter) GetEncryptMessage() common.EncryptMessager
- func (*Getter) GetEncryptedMessage() common.EncryptedMessager
- func (*Getter) GetEntropy() common.Entropyer
- func (*Getter) GetEntropyAck() common.EntropyAcker
- func (*Getter) GetEntropyRequest() common.EntropyRequester
- func (*Getter) GetEstimateTxSize() common.EstimateTxSizer
- func (*Getter) GetEthereumAddress() common.EthereumAddresser
- func (*Getter) GetEthereumGetAddress() common.EthereumGetAddresser
- func (*Getter) GetEthereumSignTx() common.EthereumSignTxer
- func (*Getter) GetEthereumTxAck() common.EthereumTxAcker
- func (*Getter) GetEthereumTxRequest() common.EthereumTxRequester
- func (*Getter) GetFailure() common.Failurer
- func (*Getter) GetFeatures() common.Featureser
- func (*Getter) GetFirmwareErase() common.FirmwareEraser
- func (*Getter) GetFirmwareRequest() common.FirmwareRequester
- func (*Getter) GetFirmwareUpload() common.FirmwareUploader
- func (*Getter) GetGetAddress() common.GetAddresser
- func (*Getter) GetGetECDHSessionKey() common.GetECDHSessionKeyer
- func (*Getter) GetGetEntropy() common.GetEntropyer
- func (*Getter) GetGetFeatures() common.GetFeatureser
- func (*Getter) GetGetPublicKey() common.GetPublicKeyer
- func (*Getter) GetInitialize() common.Initializer
- func (*Getter) GetLoadDevice() common.LoadDevicer
- func (*Getter) GetMessageSignature() common.MessageSignaturer
- func (*Getter) GetMessageType() common.MessageTyper
- func (*Getter) GetPassphraseAck() common.PassphraseAcker
- func (*Getter) GetPassphraseRequest() common.PassphraseRequester
- func (*Getter) GetPinMatrixAck() common.PinMatrixAcker
- func (*Getter) GetPinMatrixRequest() common.PinMatrixRequester
- func (*Getter) GetPing() common.Pinger
- func (*Getter) GetPublicKey() common.PublicKeyer
- func (*Getter) GetRawTxAck() common.RawTxAcker
- func (*Getter) GetRecoveryDevice() common.RecoveryDevicer
- func (*Getter) GetResetDevice() common.ResetDevicer
- func (*Getter) GetSetU2FCounter() common.SetU2FCounterer
- func (*Getter) GetSignIdentity() common.SignIdentityer
- func (*Getter) GetSignMessage() common.SignMessager
- func (*Getter) GetSignTx() common.SignTxer
- func (*Getter) GetSignedIdentity() common.SignedIdentityer
- func (*Getter) GetSimpleSignTx() common.SimpleSignTxer
- func (*Getter) GetSuccess() common.Successer
- func (*Getter) GetTxAck() common.TxAcker
- func (*Getter) GetTxRequest() common.TxRequester
- func (*Getter) GetTxSize() common.TxSizer
- func (*Getter) GetVerifyMessage() common.VerifyMessager
- func (*Getter) GetWipeDevice() common.WipeDevicer
- func (*Getter) GetWordAck() common.WordAcker
- func (*Getter) GetWordRequest() common.WordRequester
- type Initialize
- 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() commontypes.HDNodeTyper
- func (m *LoadDevice) GetPassphraseProtection() bool
- func (m *LoadDevice) GetPin() string
- func (m *LoadDevice) GetSkipChecksum() bool
- func (*LoadDevice) GetU2FCounter() uint32
- func (*LoadDevice) ProtoMessage()
- func (m *LoadDevice) Reset()
- func (z *LoadDevice) SetLabel(x *string)
- func (z *LoadDevice) SetLanguage(x *string)
- func (z *LoadDevice) SetMnemonic(x *string)
- func (z *LoadDevice) SetNode(x commontypes.HDNodeTyper)
- func (z *LoadDevice) SetPassphraseProtection(x *bool)
- func (z *LoadDevice) SetPin(x *string)
- func (z *LoadDevice) SetSkipChecksum(x *bool)
- func (*LoadDevice) SetU2FCounter(x *uint32)
- func (m *LoadDevice) String() string
- type MessageSignature
- func (*MessageSignature) Descriptor() ([]byte, []int)
- func (m *MessageSignature) GetAddress() string
- func (m *MessageSignature) GetSignature() []byte
- func (*MessageSignature) ProtoMessage()
- func (m *MessageSignature) Reset()
- func (z *MessageSignature) SetAddress(x *string)
- func (z *MessageSignature) SetSignature(x []byte)
- func (m *MessageSignature) String() string
- type MessageType
- type PassphraseAck
- type PassphraseRequest
- type PinMatrixAck
- type PinMatrixRequest
- func (*PinMatrixRequest) Descriptor() ([]byte, []int)
- func (m *PinMatrixRequest) GetType() commontypes.PinMatrixRequestTyper
- func (*PinMatrixRequest) ProtoMessage()
- func (m *PinMatrixRequest) Reset()
- func (z *PinMatrixRequest) SetType(x commontypes.PinMatrixRequestTyper)
- func (m *PinMatrixRequest) String() string
- 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 (z *Ping) SetButtonProtection(x *bool)
- func (z *Ping) SetMessage(x *string)
- func (z *Ping) SetPassphraseProtection(x *bool)
- func (z *Ping) SetPinProtection(x *bool)
- func (m *Ping) String() string
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetNode() commontypes.HDNodeTyper
- func (m *PublicKey) GetXpub() string
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (z *PublicKey) SetNode(x commontypes.HDNodeTyper)
- func (z *PublicKey) SetXpub(x *string)
- func (m *PublicKey) String() string
- type RawTxAck
- type RecoveryDevice
- func (*RecoveryDevice) Descriptor() ([]byte, []int)
- 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 (*RecoveryDevice) GetType() uint32
- func (*RecoveryDevice) GetU2FCounter() uint32
- func (m *RecoveryDevice) GetUseCharacterCipher() bool
- func (m *RecoveryDevice) GetWordCount() uint32
- func (*RecoveryDevice) ProtoMessage()
- func (m *RecoveryDevice) Reset()
- func (z *RecoveryDevice) SetEnforceWordlist(x *bool)
- func (z *RecoveryDevice) SetLabel(x *string)
- func (z *RecoveryDevice) SetLanguage(x *string)
- func (z *RecoveryDevice) SetPassphraseProtection(x *bool)
- func (z *RecoveryDevice) SetPinProtection(x *bool)
- func (*RecoveryDevice) SetU2FCounter(x *uint32)
- func (z *RecoveryDevice) SetUseCharacterCipher(x *bool)
- func (z *RecoveryDevice) SetWordCount(x *uint32)
- func (m *RecoveryDevice) String() string
- 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) GetPassphraseProtection() bool
- func (m *ResetDevice) GetPinProtection() bool
- func (m *ResetDevice) GetStrength() uint32
- func (*ResetDevice) GetU2FCounter() uint32
- func (*ResetDevice) ProtoMessage()
- func (m *ResetDevice) Reset()
- func (z *ResetDevice) SetDisplayRandom(x *bool)
- func (z *ResetDevice) SetLabel(x *string)
- func (z *ResetDevice) SetLanguage(x *string)
- func (z *ResetDevice) SetPassphraseProtection(x *bool)
- func (z *ResetDevice) SetPinProtection(x *bool)
- func (z *ResetDevice) SetStrength(x *uint32)
- func (*ResetDevice) SetU2FCounter(x *uint32)
- func (m *ResetDevice) String() string
- type SetU2FCounter
- type SignIdentity
- func (*SignIdentity) Descriptor() ([]byte, []int)
- func (m *SignIdentity) GetChallengeHidden() []byte
- func (m *SignIdentity) GetChallengeVisual() string
- func (m *SignIdentity) GetEcdsaCurveName() string
- func (m *SignIdentity) GetIdentity() commontypes.IdentityTyper
- func (*SignIdentity) ProtoMessage()
- func (m *SignIdentity) Reset()
- func (z *SignIdentity) SetChallengeHidden(x []byte)
- func (z *SignIdentity) SetChallengeVisual(x *string)
- func (z *SignIdentity) SetEcdsaCurveName(x *string)
- func (z *SignIdentity) SetIdentity(x commontypes.IdentityTyper)
- func (m *SignIdentity) String() string
- type SignMessage
- func (*SignMessage) Descriptor() ([]byte, []int)
- func (m *SignMessage) GetAddressN() []uint32
- func (m *SignMessage) GetCoinName() string
- func (m *SignMessage) GetMessage() []byte
- func (*SignMessage) ProtoMessage()
- func (m *SignMessage) Reset()
- func (z *SignMessage) SetAddressN(x []uint32)
- func (z *SignMessage) SetCoinName(x *string)
- func (z *SignMessage) SetMessage(x []byte)
- func (m *SignMessage) String() string
- type SignTx
- func (*SignTx) Descriptor() ([]byte, []int)
- func (m *SignTx) GetCoinName() string
- func (m *SignTx) GetInputsCount() uint32
- func (m *SignTx) GetLockTime() uint32
- func (m *SignTx) GetOutputsCount() uint32
- func (m *SignTx) GetVersion() uint32
- func (*SignTx) ProtoMessage()
- func (m *SignTx) Reset()
- func (z *SignTx) SetCoinName(x *string)
- func (z *SignTx) SetInputsCount(x *uint32)
- func (z *SignTx) SetLockTime(x *uint32)
- func (z *SignTx) SetOutputsCount(x *uint32)
- func (z *SignTx) SetVersion(x *uint32)
- func (m *SignTx) String() string
- type SignedIdentity
- func (*SignedIdentity) Descriptor() ([]byte, []int)
- func (m *SignedIdentity) GetAddress() string
- func (m *SignedIdentity) GetPublicKey() []byte
- func (m *SignedIdentity) GetSignature() []byte
- func (*SignedIdentity) ProtoMessage()
- func (m *SignedIdentity) Reset()
- func (z *SignedIdentity) SetAddress(x *string)
- func (z *SignedIdentity) SetPublicKey(x []byte)
- func (z *SignedIdentity) SetSignature(x []byte)
- func (m *SignedIdentity) String() string
- type SimpleSignTx
- func (*SimpleSignTx) Descriptor() ([]byte, []int)
- func (m *SimpleSignTx) GetCoinName() string
- func (m *SimpleSignTx) GetInputs() []commontypes.TxInputTyper
- func (m *SimpleSignTx) GetLockTime() uint32
- func (m *SimpleSignTx) GetOutputs() []commontypes.TxOutputTyper
- func (m *SimpleSignTx) GetTransactions() []commontypes.TransactionTyper
- func (m *SimpleSignTx) GetVersion() uint32
- func (*SimpleSignTx) ProtoMessage()
- func (m *SimpleSignTx) Reset()
- func (z *SimpleSignTx) SetCoinName(x *string)
- func (z *SimpleSignTx) SetInputs(x []commontypes.TxInputTyper)
- func (z *SimpleSignTx) SetLockTime(x *uint32)
- func (z *SimpleSignTx) SetOutputs(x []commontypes.TxOutputTyper)
- func (z *SimpleSignTx) SetTransactions(x []commontypes.TransactionTyper)
- func (z *SimpleSignTx) SetVersion(x *uint32)
- func (m *SimpleSignTx) String() string
- type Success
- type TxAck
- type TxRequest
- func (*TxRequest) Descriptor() ([]byte, []int)
- func (m *TxRequest) GetDetails() commontypes.TxRequestDetailsTyper
- func (m *TxRequest) GetRequestType() commontypes.RequestTyper
- func (m *TxRequest) GetSerialized() commontypes.TxRequestSerializedTyper
- func (*TxRequest) ProtoMessage()
- func (m *TxRequest) Reset()
- func (z *TxRequest) SetDetails(x commontypes.TxRequestDetailsTyper)
- func (z *TxRequest) SetRequestType(x commontypes.RequestTyper)
- func (z *TxRequest) SetSerialized(x commontypes.TxRequestSerializedTyper)
- func (m *TxRequest) String() string
- type TxSize
- type VerifyMessage
- func (*VerifyMessage) Descriptor() ([]byte, []int)
- func (m *VerifyMessage) GetAddress() string
- func (m *VerifyMessage) GetCoinName() string
- func (m *VerifyMessage) GetMessage() []byte
- func (m *VerifyMessage) GetSignature() []byte
- func (*VerifyMessage) ProtoMessage()
- func (m *VerifyMessage) Reset()
- func (z *VerifyMessage) SetAddress(x *string)
- func (z *VerifyMessage) SetCoinName(x *string)
- func (z *VerifyMessage) SetMessage(x []byte)
- func (z *VerifyMessage) SetSignature(x []byte)
- func (m *VerifyMessage) String() string
- type WipeDevice
- type WordAck
- type WordRequest
Constants ¶
const Default_EncryptMessage_CoinName string = "Bitcoin"
const Default_EstimateTxSize_CoinName string = "Bitcoin"
const Default_GetAddress_CoinName string = "Bitcoin"
const Default_GetAddress_ScriptType types.InputScriptType = types.InputScriptType_SPENDADDRESS
const Default_LoadDevice_Language string = "english"
const Default_RecoveryDevice_Language string = "english"
const Default_ResetDevice_Language string = "english"
const Default_ResetDevice_Strength uint32 = 256
const Default_SignMessage_CoinName string = "Bitcoin"
const Default_SignTx_CoinName string = "Bitcoin"
const Default_SignTx_LockTime uint32 = 0
const Default_SignTx_Version uint32 = 1
const Default_SimpleSignTx_CoinName string = "Bitcoin"
const Default_SimpleSignTx_LockTime uint32 = 0
const Default_SimpleSignTx_Version uint32 = 1
const Default_VerifyMessage_CoinName string = "Bitcoin"
Variables ¶
var MessageType_name = map[int32]string{
0: "MessageType_Initialize",
1: "MessageType_Ping",
2: "MessageType_Success",
3: "MessageType_Failure",
4: "MessageType_ChangePin",
5: "MessageType_WipeDevice",
6: "MessageType_FirmwareErase",
7: "MessageType_FirmwareUpload",
9: "MessageType_GetEntropy",
10: "MessageType_Entropy",
11: "MessageType_GetPublicKey",
12: "MessageType_PublicKey",
13: "MessageType_LoadDevice",
14: "MessageType_ResetDevice",
15: "MessageType_SignTx",
16: "MessageType_SimpleSignTx",
17: "MessageType_Features",
18: "MessageType_PinMatrixRequest",
19: "MessageType_PinMatrixAck",
20: "MessageType_Cancel",
21: "MessageType_TxRequest",
22: "MessageType_TxAck",
23: "MessageType_CipherKeyValue",
24: "MessageType_ClearSession",
25: "MessageType_ApplySettings",
26: "MessageType_ButtonRequest",
27: "MessageType_ButtonAck",
29: "MessageType_GetAddress",
30: "MessageType_Address",
35: "MessageType_EntropyRequest",
36: "MessageType_EntropyAck",
38: "MessageType_SignMessage",
39: "MessageType_VerifyMessage",
40: "MessageType_MessageSignature",
41: "MessageType_PassphraseRequest",
42: "MessageType_PassphraseAck",
43: "MessageType_EstimateTxSize",
44: "MessageType_TxSize",
45: "MessageType_RecoveryDevice",
46: "MessageType_WordRequest",
47: "MessageType_WordAck",
48: "MessageType_CipheredKeyValue",
49: "MessageType_EncryptMessage",
50: "MessageType_EncryptedMessage",
51: "MessageType_DecryptMessage",
52: "MessageType_DecryptedMessage",
53: "MessageType_SignIdentity",
54: "MessageType_SignedIdentity",
55: "MessageType_GetFeatures",
56: "MessageType_EthereumGetAddress",
57: "MessageType_EthereumAddress",
58: "MessageType_EthereumSignTx",
59: "MessageType_EthereumTxRequest",
60: "MessageType_EthereumTxAck",
80: "MessageType_CharacterRequest",
81: "MessageType_CharacterAck",
82: "MessageType_RawTxAck",
83: "MessageType_ApplyPolicies",
100: "MessageType_DebugLinkDecision",
101: "MessageType_DebugLinkGetState",
102: "MessageType_DebugLinkState",
103: "MessageType_DebugLinkStop",
104: "MessageType_DebugLinkLog",
105: "MessageType_DebugLinkFillConfig",
}
var MessageType_value = map[string]int32{
"MessageType_Initialize": 0,
"MessageType_Ping": 1,
"MessageType_Success": 2,
"MessageType_Failure": 3,
"MessageType_ChangePin": 4,
"MessageType_WipeDevice": 5,
"MessageType_FirmwareErase": 6,
"MessageType_FirmwareUpload": 7,
"MessageType_GetEntropy": 9,
"MessageType_Entropy": 10,
"MessageType_GetPublicKey": 11,
"MessageType_PublicKey": 12,
"MessageType_LoadDevice": 13,
"MessageType_ResetDevice": 14,
"MessageType_SignTx": 15,
"MessageType_SimpleSignTx": 16,
"MessageType_Features": 17,
"MessageType_PinMatrixRequest": 18,
"MessageType_PinMatrixAck": 19,
"MessageType_Cancel": 20,
"MessageType_TxRequest": 21,
"MessageType_TxAck": 22,
"MessageType_CipherKeyValue": 23,
"MessageType_ClearSession": 24,
"MessageType_ApplySettings": 25,
"MessageType_ButtonRequest": 26,
"MessageType_ButtonAck": 27,
"MessageType_GetAddress": 29,
"MessageType_Address": 30,
"MessageType_EntropyRequest": 35,
"MessageType_EntropyAck": 36,
"MessageType_SignMessage": 38,
"MessageType_VerifyMessage": 39,
"MessageType_MessageSignature": 40,
"MessageType_PassphraseRequest": 41,
"MessageType_PassphraseAck": 42,
"MessageType_EstimateTxSize": 43,
"MessageType_TxSize": 44,
"MessageType_RecoveryDevice": 45,
"MessageType_WordRequest": 46,
"MessageType_WordAck": 47,
"MessageType_CipheredKeyValue": 48,
"MessageType_EncryptMessage": 49,
"MessageType_EncryptedMessage": 50,
"MessageType_DecryptMessage": 51,
"MessageType_DecryptedMessage": 52,
"MessageType_SignIdentity": 53,
"MessageType_SignedIdentity": 54,
"MessageType_GetFeatures": 55,
"MessageType_EthereumGetAddress": 56,
"MessageType_EthereumAddress": 57,
"MessageType_EthereumSignTx": 58,
"MessageType_EthereumTxRequest": 59,
"MessageType_EthereumTxAck": 60,
"MessageType_CharacterRequest": 80,
"MessageType_CharacterAck": 81,
"MessageType_RawTxAck": 82,
"MessageType_ApplyPolicies": 83,
"MessageType_DebugLinkDecision": 100,
"MessageType_DebugLinkGetState": 101,
"MessageType_DebugLinkState": 102,
"MessageType_DebugLinkStop": 103,
"MessageType_DebugLinkLog": 104,
"MessageType_DebugLinkFillConfig": 105,
}
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Address *string `protobuf:"bytes,1,req,name=address" json:"address,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Contains address derived from device private seed @prev GetAddress
func Addresser2Type ¶
func (*Address) Descriptor ¶
func (*Address) GetAddress ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) SetAddress ¶
type ApplyPolicies ¶
type ApplyPolicies struct { Policy []*types.PolicyType `protobuf:"bytes,1,rep,name=policy" json:"policy,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to apply policy @next Success @next Failure @next ButtonRequest @next PinMatrixRequest
func ApplyPolicieser2Type ¶
func ApplyPolicieser2Type(x common.ApplyPolicieser) ApplyPolicies
func (*ApplyPolicies) Descriptor ¶
func (*ApplyPolicies) Descriptor() ([]byte, []int)
func (*ApplyPolicies) GetPolicy ¶
func (m *ApplyPolicies) GetPolicy() []commontypes.PolicyTyper
func (*ApplyPolicies) ProtoMessage ¶
func (*ApplyPolicies) ProtoMessage()
func (*ApplyPolicies) Reset ¶
func (m *ApplyPolicies) Reset()
func (*ApplyPolicies) SetPolicy ¶
func (z *ApplyPolicies) SetPolicy(x []commontypes.PolicyTyper)
func (*ApplyPolicies) String ¶
func (m *ApplyPolicies) String() string
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"` XXX_unrecognized []byte `json:"-"` }
* Request: change language and/or label of the device @next Success @next Failure @next ButtonRequest @next PinMatrixRequest
func ApplySettingser2Type ¶
func ApplySettingser2Type(x common.ApplySettingser) ApplySettings
func (*ApplySettings) Descriptor ¶
func (*ApplySettings) Descriptor() ([]byte, []int)
func (*ApplySettings) GetHomescreen ¶
func (*ApplySettings) GetHomescreen() []byte
func (*ApplySettings) GetLabel ¶
func (m *ApplySettings) GetLabel() string
func (*ApplySettings) GetLanguage ¶
func (m *ApplySettings) GetLanguage() string
func (*ApplySettings) GetUsePassphrase ¶
func (m *ApplySettings) GetUsePassphrase() bool
func (*ApplySettings) ProtoMessage ¶
func (*ApplySettings) ProtoMessage()
func (*ApplySettings) Reset ¶
func (m *ApplySettings) Reset()
func (*ApplySettings) SetHomescreen ¶
func (*ApplySettings) SetHomescreen(x []byte)
func (*ApplySettings) SetLabel ¶
func (z *ApplySettings) SetLabel(x *string)
func (*ApplySettings) SetLanguage ¶
func (z *ApplySettings) SetLanguage(x *string)
func (*ApplySettings) SetUsePassphrase ¶
func (z *ApplySettings) SetUsePassphrase(x *bool)
func (*ApplySettings) String ¶
func (m *ApplySettings) String() string
type ButtonAck ¶
type ButtonAck struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: Computer agrees to wait for HW button press @prev ButtonRequest
func ButtonAcker2Type ¶
func ButtonAcker2Type(x common.ButtonAcker) ButtonAck
func (*ButtonAck) Descriptor ¶
func (*ButtonAck) ProtoMessage ¶
func (*ButtonAck) ProtoMessage()
type ButtonRequest ¶
type ButtonRequest struct { Code *types.ButtonRequestType `protobuf:"varint,1,opt,name=code,enum=ButtonRequestType" json:"code,omitempty"` Data *string `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Device is waiting for HW button press. @next ButtonAck @next Cancel
func ButtonRequester2Type ¶
func ButtonRequester2Type(x common.ButtonRequester) ButtonRequest
func (*ButtonRequest) Descriptor ¶
func (*ButtonRequest) Descriptor() ([]byte, []int)
func (*ButtonRequest) GetCode ¶
func (m *ButtonRequest) GetCode() commontypes.ButtonRequestTyper
func (*ButtonRequest) GetData ¶
func (m *ButtonRequest) GetData() string
func (*ButtonRequest) ProtoMessage ¶
func (*ButtonRequest) ProtoMessage()
func (*ButtonRequest) Reset ¶
func (m *ButtonRequest) Reset()
func (*ButtonRequest) SetCode ¶
func (z *ButtonRequest) SetCode(x commontypes.ButtonRequestTyper)
func (*ButtonRequest) SetData ¶
func (z *ButtonRequest) SetData(x *string)
func (*ButtonRequest) String ¶
func (m *ButtonRequest) String() string
type Cancel ¶
type Cancel struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: Abort last operation that required user interaction @prev ButtonRequest @prev PinMatrixRequest @prev PassphraseRequest
func Canceler2Type ¶
func (*Cancel) Descriptor ¶
func (*Cancel) ProtoMessage ¶
func (*Cancel) ProtoMessage()
type ChangePin ¶
type ChangePin struct { Remove *bool `protobuf:"varint,1,opt,name=remove" json:"remove,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Starts workflow for setting/changing/removing the PIN @next ButtonRequest @next PinMatrixRequest
func ChangePiner2Type ¶
func ChangePiner2Type(x common.ChangePiner) ChangePin
func (*ChangePin) Descriptor ¶
func (*ChangePin) ProtoMessage ¶
func (*ChangePin) ProtoMessage()
type CharacterAck ¶
type CharacterAck struct { Character *string `protobuf:"bytes,1,opt,name=character" json:"character,omitempty"` Delete *bool `protobuf:"varint,2,opt,name=delete" json:"delete,omitempty"` Done *bool `protobuf:"varint,3,opt,name=done" json:"done,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Computer replies with character from the mnemonic using cipher @prev CharacterRequest @next CharacterRequest @next Failure
func CharacterAcker2Type ¶
func CharacterAcker2Type(x common.CharacterAcker) CharacterAck
func (*CharacterAck) Descriptor ¶
func (*CharacterAck) Descriptor() ([]byte, []int)
func (*CharacterAck) GetCharacter ¶
func (m *CharacterAck) GetCharacter() string
func (*CharacterAck) GetDelete ¶
func (m *CharacterAck) GetDelete() bool
func (*CharacterAck) GetDone ¶
func (m *CharacterAck) GetDone() bool
func (*CharacterAck) ProtoMessage ¶
func (*CharacterAck) ProtoMessage()
func (*CharacterAck) Reset ¶
func (m *CharacterAck) Reset()
func (*CharacterAck) SetCharacter ¶
func (z *CharacterAck) SetCharacter(x *string)
func (*CharacterAck) SetDelete ¶
func (z *CharacterAck) SetDelete(x *bool)
func (*CharacterAck) SetDone ¶
func (z *CharacterAck) SetDone(x *bool)
func (*CharacterAck) String ¶
func (m *CharacterAck) String() string
type CharacterRequest ¶
type CharacterRequest struct { WordPos *uint32 `protobuf:"varint,1,req,name=word_pos,json=wordPos" json:"word_pos,omitempty"` CharacterPos *uint32 `protobuf:"varint,2,req,name=character_pos,json=characterPos" json:"character_pos,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Device is waiting for user to enter character of the mnemonic using cipher. The cipher is shown on device's internal display. @prev RecoveryDevice @prev CharacterAck
func CharacterRequester2Type ¶
func CharacterRequester2Type(x common.CharacterRequester) CharacterRequest
func (*CharacterRequest) Descriptor ¶
func (*CharacterRequest) Descriptor() ([]byte, []int)
func (*CharacterRequest) GetCharacterPos ¶
func (m *CharacterRequest) GetCharacterPos() uint32
func (*CharacterRequest) GetWordPos ¶
func (m *CharacterRequest) GetWordPos() uint32
func (*CharacterRequest) ProtoMessage ¶
func (*CharacterRequest) ProtoMessage()
func (*CharacterRequest) Reset ¶
func (m *CharacterRequest) Reset()
func (*CharacterRequest) SetCharacterPos ¶
func (z *CharacterRequest) SetCharacterPos(x *uint32)
func (*CharacterRequest) SetWordPos ¶
func (z *CharacterRequest) SetWordPos(x *uint32)
func (*CharacterRequest) String ¶
func (m *CharacterRequest) String() string
type CipherKeyValue ¶
type CipherKeyValue struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` Encrypt *bool `protobuf:"varint,4,opt,name=encrypt" json:"encrypt,omitempty"` AskOnEncrypt *bool `protobuf:"varint,5,opt,name=ask_on_encrypt,json=askOnEncrypt" json:"ask_on_encrypt,omitempty"` AskOnDecrypt *bool `protobuf:"varint,6,opt,name=ask_on_decrypt,json=askOnDecrypt" json:"ask_on_decrypt,omitempty"` Iv []byte `protobuf:"bytes,7,opt,name=iv" json:"iv,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to encrypt or decrypt value of given key @next CipheredKeyValue @next Failure
func CipherKeyValuer2Type ¶
func CipherKeyValuer2Type(x common.CipherKeyValuer) CipherKeyValue
func (*CipherKeyValue) Descriptor ¶
func (*CipherKeyValue) Descriptor() ([]byte, []int)
func (*CipherKeyValue) GetAddressN ¶
func (m *CipherKeyValue) GetAddressN() []uint32
func (*CipherKeyValue) GetAskOnDecrypt ¶
func (m *CipherKeyValue) GetAskOnDecrypt() bool
func (*CipherKeyValue) GetAskOnEncrypt ¶
func (m *CipherKeyValue) GetAskOnEncrypt() bool
func (*CipherKeyValue) GetEncrypt ¶
func (m *CipherKeyValue) GetEncrypt() bool
func (*CipherKeyValue) GetIv ¶
func (m *CipherKeyValue) GetIv() []byte
func (*CipherKeyValue) GetKey ¶
func (m *CipherKeyValue) GetKey() string
func (*CipherKeyValue) GetValue ¶
func (m *CipherKeyValue) GetValue() []byte
func (*CipherKeyValue) ProtoMessage ¶
func (*CipherKeyValue) ProtoMessage()
func (*CipherKeyValue) Reset ¶
func (m *CipherKeyValue) Reset()
func (*CipherKeyValue) SetAddressN ¶
func (z *CipherKeyValue) SetAddressN(x []uint32)
func (*CipherKeyValue) SetAskOnDecrypt ¶
func (z *CipherKeyValue) SetAskOnDecrypt(x *bool)
func (*CipherKeyValue) SetAskOnEncrypt ¶
func (z *CipherKeyValue) SetAskOnEncrypt(x *bool)
func (*CipherKeyValue) SetEncrypt ¶
func (z *CipherKeyValue) SetEncrypt(x *bool)
func (*CipherKeyValue) SetIv ¶
func (z *CipherKeyValue) SetIv(x []byte)
func (*CipherKeyValue) SetKey ¶
func (z *CipherKeyValue) SetKey(x *string)
func (*CipherKeyValue) SetValue ¶
func (z *CipherKeyValue) SetValue(x []byte)
func (*CipherKeyValue) String ¶
func (m *CipherKeyValue) String() string
type CipheredKeyValue ¶
type CipheredKeyValue struct { Value []byte `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Return ciphered/deciphered value @prev CipherKeyValue
func CipheredKeyValuer2Type ¶
func CipheredKeyValuer2Type(x common.CipheredKeyValuer) CipheredKeyValue
func (*CipheredKeyValue) Descriptor ¶
func (*CipheredKeyValue) Descriptor() ([]byte, []int)
func (*CipheredKeyValue) GetValue ¶
func (m *CipheredKeyValue) GetValue() []byte
func (*CipheredKeyValue) ProtoMessage ¶
func (*CipheredKeyValue) ProtoMessage()
func (*CipheredKeyValue) Reset ¶
func (m *CipheredKeyValue) Reset()
func (*CipheredKeyValue) SetValue ¶
func (z *CipheredKeyValue) SetValue(x []byte)
func (*CipheredKeyValue) String ¶
func (m *CipheredKeyValue) String() string
type ClearSession ¶
type ClearSession struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: clear session (removes cached PIN, passphrase, etc). @next Success
func ClearSessioner2Type ¶
func ClearSessioner2Type(x common.ClearSessioner) ClearSession
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
type DebugLinkDecision ¶
type DebugLinkDecision struct { YesNo *bool `protobuf:"varint,1,req,name=yes_no,json=yesNo" json:"yes_no,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: "Press" the button on the device @next Success
func DebugLinkDecisioner2Type ¶
func DebugLinkDecisioner2Type(x common.DebugLinkDecisioner) DebugLinkDecision
func (*DebugLinkDecision) Descriptor ¶
func (*DebugLinkDecision) Descriptor() ([]byte, []int)
func (*DebugLinkDecision) GetYesNo ¶
func (m *DebugLinkDecision) GetYesNo() bool
func (*DebugLinkDecision) ProtoMessage ¶
func (*DebugLinkDecision) ProtoMessage()
func (*DebugLinkDecision) Reset ¶
func (m *DebugLinkDecision) Reset()
func (*DebugLinkDecision) SetYesNo ¶
func (z *DebugLinkDecision) SetYesNo(x *bool)
func (*DebugLinkDecision) String ¶
func (m *DebugLinkDecision) String() string
type DebugLinkFillConfig ¶
type DebugLinkFillConfig struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: Ask device to fill config area with sample data (used for testing firmware upload)
func DebugLinkFillConfiger2Type ¶
func DebugLinkFillConfiger2Type(x common.DebugLinkFillConfiger) DebugLinkFillConfig
func (*DebugLinkFillConfig) Descriptor ¶
func (*DebugLinkFillConfig) Descriptor() ([]byte, []int)
func (*DebugLinkFillConfig) ProtoMessage ¶
func (*DebugLinkFillConfig) ProtoMessage()
func (*DebugLinkFillConfig) Reset ¶
func (m *DebugLinkFillConfig) Reset()
func (*DebugLinkFillConfig) String ¶
func (m *DebugLinkFillConfig) String() string
type DebugLinkFlashErase ¶
type DebugLinkFlashErase struct{}
func (*DebugLinkFlashErase) GetSector ¶
func (*DebugLinkFlashErase) GetSector() uint32
func (*DebugLinkFlashErase) ProtoMessage ¶
func (*DebugLinkFlashErase) ProtoMessage()
func (*DebugLinkFlashErase) Reset ¶
func (*DebugLinkFlashErase) Reset()
func (*DebugLinkFlashErase) SetSector ¶
func (*DebugLinkFlashErase) SetSector(x *uint32)
func (*DebugLinkFlashErase) String ¶
func (*DebugLinkFlashErase) String() string
type DebugLinkGetState ¶
type DebugLinkGetState struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: Computer asks for device state @next DebugLinkState
func DebugLinkGetStater2Type ¶
func DebugLinkGetStater2Type(x common.DebugLinkGetStater) DebugLinkGetState
func (*DebugLinkGetState) Descriptor ¶
func (*DebugLinkGetState) Descriptor() ([]byte, []int)
func (*DebugLinkGetState) ProtoMessage ¶
func (*DebugLinkGetState) ProtoMessage()
func (*DebugLinkGetState) Reset ¶
func (m *DebugLinkGetState) Reset()
func (*DebugLinkGetState) String ¶
func (m *DebugLinkGetState) String() string
type DebugLinkLog ¶
type DebugLinkLog struct { Level *uint32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"` Bucket *string `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"` Text *string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Device wants host to log event
func DebugLinkLoger2Type ¶
func DebugLinkLoger2Type(x common.DebugLinkLoger) DebugLinkLog
func (*DebugLinkLog) Descriptor ¶
func (*DebugLinkLog) Descriptor() ([]byte, []int)
func (*DebugLinkLog) GetBucket ¶
func (m *DebugLinkLog) GetBucket() string
func (*DebugLinkLog) GetLevel ¶
func (m *DebugLinkLog) GetLevel() uint32
func (*DebugLinkLog) GetText ¶
func (m *DebugLinkLog) GetText() string
func (*DebugLinkLog) ProtoMessage ¶
func (*DebugLinkLog) ProtoMessage()
func (*DebugLinkLog) Reset ¶
func (m *DebugLinkLog) Reset()
func (*DebugLinkLog) SetBucket ¶
func (z *DebugLinkLog) SetBucket(x *string)
func (*DebugLinkLog) SetLevel ¶
func (z *DebugLinkLog) SetLevel(x *uint32)
func (*DebugLinkLog) SetText ¶
func (z *DebugLinkLog) SetText(x *string)
func (*DebugLinkLog) String ¶
func (m *DebugLinkLog) String() string
type DebugLinkMemory ¶
type DebugLinkMemory struct{}
func (*DebugLinkMemory) GetMemory ¶
func (*DebugLinkMemory) GetMemory() []byte
func (*DebugLinkMemory) ProtoMessage ¶
func (*DebugLinkMemory) ProtoMessage()
func (*DebugLinkMemory) Reset ¶
func (*DebugLinkMemory) Reset()
func (*DebugLinkMemory) SetMemory ¶
func (*DebugLinkMemory) SetMemory(x []byte)
func (*DebugLinkMemory) String ¶
func (*DebugLinkMemory) String() string
type DebugLinkMemoryRead ¶
type DebugLinkMemoryRead struct{}
func (*DebugLinkMemoryRead) GetAddress ¶
func (*DebugLinkMemoryRead) GetAddress() uint32
func (*DebugLinkMemoryRead) GetLength ¶
func (*DebugLinkMemoryRead) GetLength() uint32
func (*DebugLinkMemoryRead) ProtoMessage ¶
func (*DebugLinkMemoryRead) ProtoMessage()
func (*DebugLinkMemoryRead) Reset ¶
func (*DebugLinkMemoryRead) Reset()
func (*DebugLinkMemoryRead) SetAddress ¶
func (*DebugLinkMemoryRead) SetAddress(x *uint32)
func (*DebugLinkMemoryRead) SetLength ¶
func (*DebugLinkMemoryRead) SetLength(x *uint32)
func (*DebugLinkMemoryRead) String ¶
func (*DebugLinkMemoryRead) String() string
type DebugLinkMemoryWrite ¶
type DebugLinkMemoryWrite struct{}
func (*DebugLinkMemoryWrite) GetAddress ¶
func (*DebugLinkMemoryWrite) GetAddress() uint32
func (*DebugLinkMemoryWrite) GetFlash ¶
func (*DebugLinkMemoryWrite) GetFlash() bool
func (*DebugLinkMemoryWrite) GetMemory ¶
func (*DebugLinkMemoryWrite) GetMemory() []byte
func (*DebugLinkMemoryWrite) ProtoMessage ¶
func (*DebugLinkMemoryWrite) ProtoMessage()
func (*DebugLinkMemoryWrite) Reset ¶
func (*DebugLinkMemoryWrite) Reset()
func (*DebugLinkMemoryWrite) SetAddress ¶
func (*DebugLinkMemoryWrite) SetAddress(x *uint32)
func (*DebugLinkMemoryWrite) SetFlash ¶
func (*DebugLinkMemoryWrite) SetFlash(x *bool)
func (*DebugLinkMemoryWrite) SetMemory ¶
func (*DebugLinkMemoryWrite) SetMemory(x []byte)
func (*DebugLinkMemoryWrite) String ¶
func (*DebugLinkMemoryWrite) String() string
type DebugLinkState ¶
type DebugLinkState struct { Layout []byte `protobuf:"bytes,1,opt,name=layout" json:"layout,omitempty"` Pin *string `protobuf:"bytes,2,opt,name=pin" json:"pin,omitempty"` Matrix *string `protobuf:"bytes,3,opt,name=matrix" json:"matrix,omitempty"` Mnemonic *string `protobuf:"bytes,4,opt,name=mnemonic" json:"mnemonic,omitempty"` Node *types.HDNodeType `protobuf:"bytes,5,opt,name=node" json:"node,omitempty"` PassphraseProtection *bool `protobuf:"varint,6,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` ResetWord *string `protobuf:"bytes,7,opt,name=reset_word,json=resetWord" json:"reset_word,omitempty"` ResetEntropy []byte `protobuf:"bytes,8,opt,name=reset_entropy,json=resetEntropy" json:"reset_entropy,omitempty"` RecoveryFakeWord *string `protobuf:"bytes,9,opt,name=recovery_fake_word,json=recoveryFakeWord" json:"recovery_fake_word,omitempty"` RecoveryWordPos *uint32 `protobuf:"varint,10,opt,name=recovery_word_pos,json=recoveryWordPos" json:"recovery_word_pos,omitempty"` RecoveryCipher *string `protobuf:"bytes,11,opt,name=recovery_cipher,json=recoveryCipher" json:"recovery_cipher,omitempty"` RecoveryAutoCompletedWord *string `` /* 134-byte string literal not displayed */ FirmwareHash []byte `protobuf:"bytes,13,opt,name=firmware_hash,json=firmwareHash" json:"firmware_hash,omitempty"` StorageHash []byte `protobuf:"bytes,14,opt,name=storage_hash,json=storageHash" json:"storage_hash,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Device current state @prev DebugLinkGetState
func DebugLinkStater2Type ¶
func DebugLinkStater2Type(x common.DebugLinkStater) DebugLinkState
func (*DebugLinkState) Descriptor ¶
func (*DebugLinkState) Descriptor() ([]byte, []int)
func (*DebugLinkState) GetFirmwareHash ¶
func (m *DebugLinkState) GetFirmwareHash() []byte
func (*DebugLinkState) GetLayout ¶
func (m *DebugLinkState) GetLayout() []byte
func (*DebugLinkState) GetMatrix ¶
func (m *DebugLinkState) GetMatrix() string
func (*DebugLinkState) GetMnemonic ¶
func (m *DebugLinkState) GetMnemonic() string
func (*DebugLinkState) GetNode ¶
func (m *DebugLinkState) GetNode() commontypes.HDNodeTyper
func (*DebugLinkState) GetPassphraseProtection ¶
func (m *DebugLinkState) GetPassphraseProtection() bool
func (*DebugLinkState) GetPin ¶
func (m *DebugLinkState) GetPin() string
func (*DebugLinkState) GetRecoveryAutoCompletedWord ¶
func (m *DebugLinkState) GetRecoveryAutoCompletedWord() string
func (*DebugLinkState) GetRecoveryCipher ¶
func (m *DebugLinkState) GetRecoveryCipher() string
func (*DebugLinkState) GetRecoveryFakeWord ¶
func (m *DebugLinkState) GetRecoveryFakeWord() string
func (*DebugLinkState) GetRecoveryWordPos ¶
func (m *DebugLinkState) GetRecoveryWordPos() uint32
func (*DebugLinkState) GetResetEntropy ¶
func (m *DebugLinkState) GetResetEntropy() []byte
func (*DebugLinkState) GetResetWord ¶
func (m *DebugLinkState) GetResetWord() string
func (*DebugLinkState) GetStorageHash ¶
func (m *DebugLinkState) GetStorageHash() []byte
func (*DebugLinkState) ProtoMessage ¶
func (*DebugLinkState) ProtoMessage()
func (*DebugLinkState) Reset ¶
func (m *DebugLinkState) Reset()
func (*DebugLinkState) SetFirmwareHash ¶
func (z *DebugLinkState) SetFirmwareHash(x []byte)
func (*DebugLinkState) SetLayout ¶
func (z *DebugLinkState) SetLayout(x []byte)
func (*DebugLinkState) SetMatrix ¶
func (z *DebugLinkState) SetMatrix(x *string)
func (*DebugLinkState) SetMnemonic ¶
func (z *DebugLinkState) SetMnemonic(x *string)
func (*DebugLinkState) SetNode ¶
func (z *DebugLinkState) SetNode(x commontypes.HDNodeTyper)
func (*DebugLinkState) SetPassphraseProtection ¶
func (z *DebugLinkState) SetPassphraseProtection(x *bool)
func (*DebugLinkState) SetPin ¶
func (z *DebugLinkState) SetPin(x *string)
func (*DebugLinkState) SetRecoveryAutoCompletedWord ¶
func (z *DebugLinkState) SetRecoveryAutoCompletedWord(x *string)
func (*DebugLinkState) SetRecoveryCipher ¶
func (z *DebugLinkState) SetRecoveryCipher(x *string)
func (*DebugLinkState) SetRecoveryFakeWord ¶
func (z *DebugLinkState) SetRecoveryFakeWord(x *string)
func (*DebugLinkState) SetRecoveryWordPos ¶
func (z *DebugLinkState) SetRecoveryWordPos(x *uint32)
func (*DebugLinkState) SetResetEntropy ¶
func (z *DebugLinkState) SetResetEntropy(x []byte)
func (*DebugLinkState) SetResetWord ¶
func (z *DebugLinkState) SetResetWord(x *string)
func (*DebugLinkState) SetStorageHash ¶
func (z *DebugLinkState) SetStorageHash(x []byte)
func (*DebugLinkState) String ¶
func (m *DebugLinkState) String() string
type DebugLinkStop ¶
type DebugLinkStop struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: Ask device to restart
func DebugLinkStoper2Type ¶
func DebugLinkStoper2Type(x common.DebugLinkStoper) DebugLinkStop
func (*DebugLinkStop) Descriptor ¶
func (*DebugLinkStop) Descriptor() ([]byte, []int)
func (*DebugLinkStop) ProtoMessage ¶
func (*DebugLinkStop) ProtoMessage()
func (*DebugLinkStop) Reset ¶
func (m *DebugLinkStop) Reset()
func (*DebugLinkStop) String ¶
func (m *DebugLinkStop) String() string
type DecryptMessage ¶
type DecryptMessage struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` Nonce []byte `protobuf:"bytes,2,opt,name=nonce" json:"nonce,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` Hmac []byte `protobuf:"bytes,4,opt,name=hmac" json:"hmac,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to decrypt message @next Success @next Failure
func DecryptMessager2Type ¶
func DecryptMessager2Type(x common.DecryptMessager) DecryptMessage
func (*DecryptMessage) Descriptor ¶
func (*DecryptMessage) Descriptor() ([]byte, []int)
func (*DecryptMessage) GetAddressN ¶
func (m *DecryptMessage) GetAddressN() []uint32
func (*DecryptMessage) GetHmac ¶
func (m *DecryptMessage) GetHmac() []byte
func (*DecryptMessage) GetMessage ¶
func (m *DecryptMessage) GetMessage() []byte
func (*DecryptMessage) GetNonce ¶
func (m *DecryptMessage) GetNonce() []byte
func (*DecryptMessage) ProtoMessage ¶
func (*DecryptMessage) ProtoMessage()
func (*DecryptMessage) Reset ¶
func (m *DecryptMessage) Reset()
func (*DecryptMessage) SetAddressN ¶
func (z *DecryptMessage) SetAddressN(x []uint32)
func (*DecryptMessage) SetHmac ¶
func (z *DecryptMessage) SetHmac(x []byte)
func (*DecryptMessage) SetMessage ¶
func (z *DecryptMessage) SetMessage(x []byte)
func (*DecryptMessage) SetNonce ¶
func (z *DecryptMessage) SetNonce(x []byte)
func (*DecryptMessage) String ¶
func (m *DecryptMessage) String() string
type DecryptedMessage ¶
type DecryptedMessage struct { Message []byte `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` Address *string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Decrypted message @prev DecryptedMessage
func DecryptedMessager2Type ¶
func DecryptedMessager2Type(x common.DecryptedMessager) DecryptedMessage
func (*DecryptedMessage) Descriptor ¶
func (*DecryptedMessage) Descriptor() ([]byte, []int)
func (*DecryptedMessage) GetAddress ¶
func (m *DecryptedMessage) GetAddress() string
func (*DecryptedMessage) GetMessage ¶
func (m *DecryptedMessage) GetMessage() []byte
func (*DecryptedMessage) ProtoMessage ¶
func (*DecryptedMessage) ProtoMessage()
func (*DecryptedMessage) Reset ¶
func (m *DecryptedMessage) Reset()
func (*DecryptedMessage) SetAddress ¶
func (z *DecryptedMessage) SetAddress(x *string)
func (*DecryptedMessage) SetMessage ¶
func (z *DecryptedMessage) SetMessage(x []byte)
func (*DecryptedMessage) String ¶
func (m *DecryptedMessage) String() string
type ECDHSessionKey ¶
type ECDHSessionKey struct{}
func (*ECDHSessionKey) GetSessionKey ¶
func (*ECDHSessionKey) GetSessionKey() []byte
func (*ECDHSessionKey) ProtoMessage ¶
func (*ECDHSessionKey) ProtoMessage()
func (*ECDHSessionKey) Reset ¶
func (*ECDHSessionKey) Reset()
func (*ECDHSessionKey) SetSessionKey ¶
func (*ECDHSessionKey) SetSessionKey(x []byte)
func (*ECDHSessionKey) String ¶
func (*ECDHSessionKey) String() string
type EncryptMessage ¶
type EncryptMessage struct { Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey" json:"pubkey,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` DisplayOnly *bool `protobuf:"varint,3,opt,name=display_only,json=displayOnly" json:"display_only,omitempty"` AddressN []uint32 `protobuf:"varint,4,rep,name=address_n,json=addressN" json:"address_n,omitempty"` CoinName *string `protobuf:"bytes,5,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to encrypt message @next EncryptedMessage @next Failure
func EncryptMessager2Type ¶
func EncryptMessager2Type(x common.EncryptMessager) EncryptMessage
func (*EncryptMessage) Descriptor ¶
func (*EncryptMessage) Descriptor() ([]byte, []int)
func (*EncryptMessage) GetAddressN ¶
func (m *EncryptMessage) GetAddressN() []uint32
func (*EncryptMessage) GetCoinName ¶
func (m *EncryptMessage) GetCoinName() string
func (*EncryptMessage) GetDisplayOnly ¶
func (m *EncryptMessage) GetDisplayOnly() bool
func (*EncryptMessage) GetMessage ¶
func (m *EncryptMessage) GetMessage() []byte
func (*EncryptMessage) GetPubkey ¶
func (m *EncryptMessage) GetPubkey() []byte
func (*EncryptMessage) ProtoMessage ¶
func (*EncryptMessage) ProtoMessage()
func (*EncryptMessage) Reset ¶
func (m *EncryptMessage) Reset()
func (*EncryptMessage) SetAddressN ¶
func (z *EncryptMessage) SetAddressN(x []uint32)
func (*EncryptMessage) SetCoinName ¶
func (z *EncryptMessage) SetCoinName(x *string)
func (*EncryptMessage) SetDisplayOnly ¶
func (z *EncryptMessage) SetDisplayOnly(x *bool)
func (*EncryptMessage) SetMessage ¶
func (z *EncryptMessage) SetMessage(x []byte)
func (*EncryptMessage) SetPubkey ¶
func (z *EncryptMessage) SetPubkey(x []byte)
func (*EncryptMessage) String ¶
func (m *EncryptMessage) String() string
type EncryptedMessage ¶
type EncryptedMessage struct { Nonce []byte `protobuf:"bytes,1,opt,name=nonce" json:"nonce,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` Hmac []byte `protobuf:"bytes,3,opt,name=hmac" json:"hmac,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Encrypted message @prev EncryptMessage
func EncryptedMessager2Type ¶
func EncryptedMessager2Type(x common.EncryptedMessager) EncryptedMessage
func (*EncryptedMessage) Descriptor ¶
func (*EncryptedMessage) Descriptor() ([]byte, []int)
func (*EncryptedMessage) GetHmac ¶
func (m *EncryptedMessage) GetHmac() []byte
func (*EncryptedMessage) GetMessage ¶
func (m *EncryptedMessage) GetMessage() []byte
func (*EncryptedMessage) GetNonce ¶
func (m *EncryptedMessage) GetNonce() []byte
func (*EncryptedMessage) ProtoMessage ¶
func (*EncryptedMessage) ProtoMessage()
func (*EncryptedMessage) Reset ¶
func (m *EncryptedMessage) Reset()
func (*EncryptedMessage) SetHmac ¶
func (z *EncryptedMessage) SetHmac(x []byte)
func (*EncryptedMessage) SetMessage ¶
func (z *EncryptedMessage) SetMessage(x []byte)
func (*EncryptedMessage) SetNonce ¶
func (z *EncryptedMessage) SetNonce(x []byte)
func (*EncryptedMessage) String ¶
func (m *EncryptedMessage) String() string
type Entropy ¶
type Entropy struct { Entropy []byte `protobuf:"bytes,1,req,name=entropy" json:"entropy,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Reply with random data generated by internal RNG @prev GetEntropy
func Entropyer2Type ¶
func (*Entropy) Descriptor ¶
func (*Entropy) GetEntropy ¶
func (*Entropy) ProtoMessage ¶
func (*Entropy) ProtoMessage()
func (*Entropy) SetEntropy ¶
type EntropyAck ¶
type EntropyAck struct { Entropy []byte `protobuf:"bytes,1,opt,name=entropy" json:"entropy,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Provide additional entropy for seed generation function @prev EntropyRequest @next ButtonRequest
func EntropyAcker2Type ¶
func EntropyAcker2Type(x common.EntropyAcker) EntropyAck
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) SetEntropy ¶
func (z *EntropyAck) SetEntropy(x []byte)
func (*EntropyAck) String ¶
func (m *EntropyAck) String() string
type EntropyRequest ¶
type EntropyRequest struct {
XXX_unrecognized []byte `json:"-"`
}
* Response: Ask for additional entropy from host computer @prev ResetDevice @next EntropyAck
func EntropyRequester2Type ¶
func EntropyRequester2Type(x common.EntropyRequester) EntropyRequest
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
type EstimateTxSize ¶
type EstimateTxSize struct { OutputsCount *uint32 `protobuf:"varint,1,req,name=outputs_count,json=outputsCount" json:"outputs_count,omitempty"` InputsCount *uint32 `protobuf:"varint,2,req,name=inputs_count,json=inputsCount" json:"inputs_count,omitempty"` CoinName *string `protobuf:"bytes,3,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Estimated size of the transaction This behaves exactly like SignTx, which means that it can ask using TxRequest This call is non-blocking (except possible PassphraseRequest to unlock the seed) @next TxSize @next Failure
func EstimateTxSizer2Type ¶
func EstimateTxSizer2Type(x common.EstimateTxSizer) EstimateTxSize
func (*EstimateTxSize) Descriptor ¶
func (*EstimateTxSize) Descriptor() ([]byte, []int)
func (*EstimateTxSize) GetCoinName ¶
func (m *EstimateTxSize) GetCoinName() string
func (*EstimateTxSize) GetInputsCount ¶
func (m *EstimateTxSize) GetInputsCount() uint32
func (*EstimateTxSize) GetOutputsCount ¶
func (m *EstimateTxSize) GetOutputsCount() uint32
func (*EstimateTxSize) ProtoMessage ¶
func (*EstimateTxSize) ProtoMessage()
func (*EstimateTxSize) Reset ¶
func (m *EstimateTxSize) Reset()
func (*EstimateTxSize) SetCoinName ¶
func (z *EstimateTxSize) SetCoinName(x *string)
func (*EstimateTxSize) SetInputsCount ¶
func (z *EstimateTxSize) SetInputsCount(x *uint32)
func (*EstimateTxSize) SetOutputsCount ¶
func (z *EstimateTxSize) SetOutputsCount(x *uint32)
func (*EstimateTxSize) String ¶
func (m *EstimateTxSize) String() string
type EthereumAddress ¶
type EthereumAddress struct { Address []byte `protobuf:"bytes,1,req,name=address" json:"address,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Contains an Ethereum address derived from device private seed @prev EthereumGetAddress
func EthereumAddresser2Type ¶
func EthereumAddresser2Type(x common.EthereumAddresser) EthereumAddress
func (*EthereumAddress) Descriptor ¶
func (*EthereumAddress) Descriptor() ([]byte, []int)
func (*EthereumAddress) GetAddress ¶
func (m *EthereumAddress) GetAddress() []byte
func (*EthereumAddress) ProtoMessage ¶
func (*EthereumAddress) ProtoMessage()
func (*EthereumAddress) Reset ¶
func (m *EthereumAddress) Reset()
func (*EthereumAddress) SetAddress ¶
func (z *EthereumAddress) SetAddress(x []byte)
func (*EthereumAddress) String ¶
func (m *EthereumAddress) String() string
type EthereumGetAddress ¶
type EthereumGetAddress struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` ShowDisplay *bool `protobuf:"varint,2,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device for Ethereum address corresponding to address_n path @next PassphraseRequest @next EthereumAddress @next Failure
func EthereumGetAddresser2Type ¶
func EthereumGetAddresser2Type(x common.EthereumGetAddresser) EthereumGetAddress
func (*EthereumGetAddress) Descriptor ¶
func (*EthereumGetAddress) Descriptor() ([]byte, []int)
func (*EthereumGetAddress) GetAddressN ¶
func (m *EthereumGetAddress) GetAddressN() []uint32
func (*EthereumGetAddress) GetShowDisplay ¶
func (m *EthereumGetAddress) GetShowDisplay() bool
func (*EthereumGetAddress) ProtoMessage ¶
func (*EthereumGetAddress) ProtoMessage()
func (*EthereumGetAddress) Reset ¶
func (m *EthereumGetAddress) Reset()
func (*EthereumGetAddress) SetAddressN ¶
func (z *EthereumGetAddress) SetAddressN(x []uint32)
func (*EthereumGetAddress) SetShowDisplay ¶
func (z *EthereumGetAddress) SetShowDisplay(x *bool)
func (*EthereumGetAddress) String ¶
func (m *EthereumGetAddress) String() string
type EthereumSignTx ¶
type EthereumSignTx struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` Nonce []byte `protobuf:"bytes,2,opt,name=nonce" json:"nonce,omitempty"` GasPrice []byte `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice" json:"gas_price,omitempty"` GasLimit []byte `protobuf:"bytes,4,opt,name=gas_limit,json=gasLimit" json:"gas_limit,omitempty"` To []byte `protobuf:"bytes,5,opt,name=to" json:"to,omitempty"` Value []byte `protobuf:"bytes,6,opt,name=value" json:"value,omitempty"` DataInitialChunk []byte `protobuf:"bytes,7,opt,name=data_initial_chunk,json=dataInitialChunk" json:"data_initial_chunk,omitempty"` DataLength *uint32 `protobuf:"varint,8,opt,name=data_length,json=dataLength" json:"data_length,omitempty"` ToAddressN []uint32 `protobuf:"varint,9,rep,name=to_address_n,json=toAddressN" json:"to_address_n,omitempty"` AddressType *types.OutputAddressType `protobuf:"varint,10,opt,name=address_type,json=addressType,enum=OutputAddressType" json:"address_type,omitempty"` ExchangeType *types.ExchangeType `protobuf:"bytes,11,opt,name=exchange_type,json=exchangeType" json:"exchange_type,omitempty"` ChainId *uint32 `protobuf:"varint,12,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to sign transaction All fields are optional from the protocol's point of view. Each field defaults to value `0` if missing. Note: the first at most 1024 bytes of data MUST be transmitted as part of this message. @next PassphraseRequest @next PinMatrixRequest @next EthereumTxRequest @next Failure
func EthereumSignTxer2Type ¶
func EthereumSignTxer2Type(x common.EthereumSignTxer) EthereumSignTx
func (*EthereumSignTx) Descriptor ¶
func (*EthereumSignTx) Descriptor() ([]byte, []int)
func (*EthereumSignTx) GetAddressN ¶
func (m *EthereumSignTx) GetAddressN() []uint32
func (*EthereumSignTx) GetAddressType ¶
func (m *EthereumSignTx) GetAddressType() commontypes.OutputAddressTyper
func (*EthereumSignTx) GetChainId ¶
func (m *EthereumSignTx) GetChainId() uint32
func (*EthereumSignTx) GetDataInitialChunk ¶
func (m *EthereumSignTx) GetDataInitialChunk() []byte
func (*EthereumSignTx) GetDataLength ¶
func (m *EthereumSignTx) GetDataLength() uint32
func (*EthereumSignTx) GetExchangeType ¶
func (m *EthereumSignTx) GetExchangeType() commontypes.ExchangeTyper
func (*EthereumSignTx) GetGasLimit ¶
func (m *EthereumSignTx) GetGasLimit() []byte
func (*EthereumSignTx) GetGasPrice ¶
func (m *EthereumSignTx) GetGasPrice() []byte
func (*EthereumSignTx) GetNonce ¶
func (m *EthereumSignTx) GetNonce() []byte
func (*EthereumSignTx) GetTo ¶
func (m *EthereumSignTx) GetTo() []byte
func (*EthereumSignTx) GetToAddressN ¶
func (m *EthereumSignTx) GetToAddressN() []uint32
func (*EthereumSignTx) GetValue ¶
func (m *EthereumSignTx) GetValue() []byte
func (*EthereumSignTx) ProtoMessage ¶
func (*EthereumSignTx) ProtoMessage()
func (*EthereumSignTx) Reset ¶
func (m *EthereumSignTx) Reset()
func (*EthereumSignTx) SetAddressN ¶
func (z *EthereumSignTx) SetAddressN(x []uint32)
func (*EthereumSignTx) SetAddressType ¶
func (z *EthereumSignTx) SetAddressType(x commontypes.OutputAddressTyper)
func (*EthereumSignTx) SetChainId ¶
func (z *EthereumSignTx) SetChainId(x *uint32)
func (*EthereumSignTx) SetDataInitialChunk ¶
func (z *EthereumSignTx) SetDataInitialChunk(x []byte)
func (*EthereumSignTx) SetDataLength ¶
func (z *EthereumSignTx) SetDataLength(x *uint32)
func (*EthereumSignTx) SetExchangeType ¶
func (z *EthereumSignTx) SetExchangeType(x commontypes.ExchangeTyper)
func (*EthereumSignTx) SetGasLimit ¶
func (z *EthereumSignTx) SetGasLimit(x []byte)
func (*EthereumSignTx) SetGasPrice ¶
func (z *EthereumSignTx) SetGasPrice(x []byte)
func (*EthereumSignTx) SetNonce ¶
func (z *EthereumSignTx) SetNonce(x []byte)
func (*EthereumSignTx) SetTo ¶
func (z *EthereumSignTx) SetTo(x []byte)
func (*EthereumSignTx) SetToAddressN ¶
func (z *EthereumSignTx) SetToAddressN(x []uint32)
func (*EthereumSignTx) SetValue ¶
func (z *EthereumSignTx) SetValue(x []byte)
func (*EthereumSignTx) String ¶
func (m *EthereumSignTx) String() string
type EthereumTxAck ¶
type EthereumTxAck struct { DataChunk []byte `protobuf:"bytes,1,opt,name=data_chunk,json=dataChunk" json:"data_chunk,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Transaction payload data. @prev EthereumTxRequest @next EthereumTxRequest
func EthereumTxAcker2Type ¶
func EthereumTxAcker2Type(x common.EthereumTxAcker) EthereumTxAck
func (*EthereumTxAck) Descriptor ¶
func (*EthereumTxAck) Descriptor() ([]byte, []int)
func (*EthereumTxAck) GetDataChunk ¶
func (m *EthereumTxAck) GetDataChunk() []byte
func (*EthereumTxAck) ProtoMessage ¶
func (*EthereumTxAck) ProtoMessage()
func (*EthereumTxAck) Reset ¶
func (m *EthereumTxAck) Reset()
func (*EthereumTxAck) SetDataChunk ¶
func (z *EthereumTxAck) SetDataChunk(x []byte)
func (*EthereumTxAck) String ¶
func (m *EthereumTxAck) String() string
type EthereumTxRequest ¶
type EthereumTxRequest struct { DataLength *uint32 `protobuf:"varint,1,opt,name=data_length,json=dataLength" json:"data_length,omitempty"` SignatureV *uint32 `protobuf:"varint,2,opt,name=signature_v,json=signatureV" json:"signature_v,omitempty"` SignatureR []byte `protobuf:"bytes,3,opt,name=signature_r,json=signatureR" json:"signature_r,omitempty"` SignatureS []byte `protobuf:"bytes,4,opt,name=signature_s,json=signatureS" json:"signature_s,omitempty"` Hash []byte `protobuf:"bytes,5,opt,name=hash" json:"hash,omitempty"` SignatureDer []byte `protobuf:"bytes,6,opt,name=signature_der,json=signatureDer" json:"signature_der,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Device asks for more data from transaction payload, or returns the signature. If data_length is set, device awaits that many more bytes of payload. Otherwise, the signature_* fields contain the computed transaction signature. All three fields will be present. @prev EthereumSignTx @next EthereumTxAck
func EthereumTxRequester2Type ¶
func EthereumTxRequester2Type(x common.EthereumTxRequester) EthereumTxRequest
func (*EthereumTxRequest) Descriptor ¶
func (*EthereumTxRequest) Descriptor() ([]byte, []int)
func (*EthereumTxRequest) GetDataLength ¶
func (m *EthereumTxRequest) GetDataLength() uint32
func (*EthereumTxRequest) GetHash ¶
func (m *EthereumTxRequest) GetHash() []byte
func (*EthereumTxRequest) GetSignatureDer ¶
func (m *EthereumTxRequest) GetSignatureDer() []byte
func (*EthereumTxRequest) GetSignatureR ¶
func (m *EthereumTxRequest) GetSignatureR() []byte
func (*EthereumTxRequest) GetSignatureS ¶
func (m *EthereumTxRequest) GetSignatureS() []byte
func (*EthereumTxRequest) GetSignatureV ¶
func (m *EthereumTxRequest) GetSignatureV() uint32
func (*EthereumTxRequest) ProtoMessage ¶
func (*EthereumTxRequest) ProtoMessage()
func (*EthereumTxRequest) Reset ¶
func (m *EthereumTxRequest) Reset()
func (*EthereumTxRequest) SetDataLength ¶
func (z *EthereumTxRequest) SetDataLength(x *uint32)
func (*EthereumTxRequest) SetHash ¶
func (z *EthereumTxRequest) SetHash(x []byte)
func (*EthereumTxRequest) SetSignatureDer ¶
func (z *EthereumTxRequest) SetSignatureDer(x []byte)
func (*EthereumTxRequest) SetSignatureR ¶
func (z *EthereumTxRequest) SetSignatureR(x []byte)
func (*EthereumTxRequest) SetSignatureS ¶
func (z *EthereumTxRequest) SetSignatureS(x []byte)
func (*EthereumTxRequest) SetSignatureV ¶
func (z *EthereumTxRequest) SetSignatureV(x *uint32)
func (*EthereumTxRequest) String ¶
func (m *EthereumTxRequest) String() string
type Failure ¶
type Failure struct { Code *types.FailureType `protobuf:"varint,1,opt,name=code,enum=FailureType" json:"code,omitempty"` Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Failure of the previous request
func Failurer2Type ¶
func (*Failure) Descriptor ¶
func (*Failure) GetCode ¶
func (m *Failure) GetCode() commontypes.FailureTyper
func (*Failure) GetMessage ¶
func (*Failure) ProtoMessage ¶
func (*Failure) ProtoMessage()
func (*Failure) SetCode ¶
func (z *Failure) SetCode(x commontypes.FailureTyper)
func (*Failure) SetMessage ¶
type Features ¶
type Features struct { Vendor *string `protobuf:"bytes,1,opt,name=vendor" json:"vendor,omitempty"` MajorVersion *uint32 `protobuf:"varint,2,opt,name=major_version,json=majorVersion" json:"major_version,omitempty"` MinorVersion *uint32 `protobuf:"varint,3,opt,name=minor_version,json=minorVersion" json:"minor_version,omitempty"` PatchVersion *uint32 `protobuf:"varint,4,opt,name=patch_version,json=patchVersion" json:"patch_version,omitempty"` BootloaderMode *bool `protobuf:"varint,5,opt,name=bootloader_mode,json=bootloaderMode" json:"bootloader_mode,omitempty"` DeviceId *string `protobuf:"bytes,6,opt,name=device_id,json=deviceId" json:"device_id,omitempty"` PinProtection *bool `protobuf:"varint,7,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"` PassphraseProtection *bool `protobuf:"varint,8,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` Language *string `protobuf:"bytes,9,opt,name=language" json:"language,omitempty"` Label *string `protobuf:"bytes,10,opt,name=label" json:"label,omitempty"` Coins []*types.CoinType `protobuf:"bytes,11,rep,name=coins" json:"coins,omitempty"` Initialized *bool `protobuf:"varint,12,opt,name=initialized" json:"initialized,omitempty"` Revision []byte `protobuf:"bytes,13,opt,name=revision" json:"revision,omitempty"` BootloaderHash []byte `protobuf:"bytes,14,opt,name=bootloader_hash,json=bootloaderHash" json:"bootloader_hash,omitempty"` Imported *bool `protobuf:"varint,15,opt,name=imported" json:"imported,omitempty"` PinCached *bool `protobuf:"varint,16,opt,name=pin_cached,json=pinCached" json:"pin_cached,omitempty"` PassphraseCached *bool `protobuf:"varint,17,opt,name=passphrase_cached,json=passphraseCached" json:"passphrase_cached,omitempty"` Policies []*types.PolicyType `protobuf:"bytes,18,rep,name=policies" json:"policies,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Reports various information about the device @prev Initialize @prev GetFeatures
func Featureser2Type ¶
func Featureser2Type(x common.Featureser) Features
func (*Features) Descriptor ¶
func (*Features) GetBootloaderHash ¶
func (*Features) GetBootloaderMode ¶
func (*Features) GetCoins ¶
func (m *Features) GetCoins() []commontypes.CoinTyper
func (*Features) GetDeviceId ¶
func (*Features) GetFirmwarePresent ¶
func (*Features) GetImported ¶
func (*Features) GetInitialized ¶
func (*Features) GetLanguage ¶
func (*Features) GetMajorVersion ¶
func (*Features) GetMinorVersion ¶
func (*Features) GetPassphraseCached ¶
func (*Features) GetPassphraseProtection ¶
func (*Features) GetPatchVersion ¶
func (*Features) GetPinCached ¶
func (*Features) GetPinProtection ¶
func (*Features) GetPolicies ¶
func (m *Features) GetPolicies() []commontypes.PolicyTyper
func (*Features) GetRevision ¶
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) SetBootloaderHash ¶
func (*Features) SetBootloaderMode ¶
func (*Features) SetCoins ¶
func (z *Features) SetCoins(x []commontypes.CoinTyper)
func (*Features) SetDeviceId ¶
func (*Features) SetFirmwarePresent ¶
func (*Features) SetImported ¶
func (*Features) SetInitialized ¶
func (*Features) SetLanguage ¶
func (*Features) SetMajorVersion ¶
func (*Features) SetMinorVersion ¶
func (*Features) SetPassphraseCached ¶
func (*Features) SetPassphraseProtection ¶
func (*Features) SetPatchVersion ¶
func (*Features) SetPinCached ¶
func (*Features) SetPinProtection ¶
func (*Features) SetPolicies ¶
func (z *Features) SetPolicies(x []commontypes.PolicyTyper)
func (*Features) SetRevision ¶
type FirmwareErase ¶
type FirmwareErase struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: Ask device to erase its firmware @next Success @next Failure
func FirmwareEraser2Type ¶
func FirmwareEraser2Type(x common.FirmwareEraser) FirmwareErase
func (*FirmwareErase) Descriptor ¶
func (*FirmwareErase) Descriptor() ([]byte, []int)
func (*FirmwareErase) ProtoMessage ¶
func (*FirmwareErase) ProtoMessage()
func (*FirmwareErase) Reset ¶
func (m *FirmwareErase) Reset()
func (*FirmwareErase) String ¶
func (m *FirmwareErase) String() string
type FirmwareRequest ¶
type FirmwareRequest struct{}
func (*FirmwareRequest) GetLength ¶
func (*FirmwareRequest) GetLength() uint32
func (*FirmwareRequest) GetOffset ¶
func (*FirmwareRequest) GetOffset() uint32
func (*FirmwareRequest) ProtoMessage ¶
func (*FirmwareRequest) ProtoMessage()
func (*FirmwareRequest) Reset ¶
func (*FirmwareRequest) Reset()
func (*FirmwareRequest) SetLength ¶
func (*FirmwareRequest) SetLength(x *uint32)
func (*FirmwareRequest) SetOffset ¶
func (*FirmwareRequest) SetOffset(x *uint32)
func (*FirmwareRequest) String ¶
func (*FirmwareRequest) String() string
type FirmwareUpload ¶
type FirmwareUpload struct { PayloadHash []byte `protobuf:"bytes,1,req,name=payload_hash,json=payloadHash" json:"payload_hash,omitempty"` Payload []byte `protobuf:"bytes,2,req,name=payload" json:"payload,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Send firmware in binary form to the device @next Success @next Failure
func FirmwareUploader2Type ¶
func FirmwareUploader2Type(x common.FirmwareUploader) FirmwareUpload
func (*FirmwareUpload) Descriptor ¶
func (*FirmwareUpload) Descriptor() ([]byte, []int)
func (*FirmwareUpload) GetHash ¶
func (*FirmwareUpload) GetHash() []byte
func (*FirmwareUpload) GetPayload ¶
func (m *FirmwareUpload) GetPayload() []byte
func (*FirmwareUpload) GetPayloadHash ¶
func (m *FirmwareUpload) GetPayloadHash() []byte
func (*FirmwareUpload) ProtoMessage ¶
func (*FirmwareUpload) ProtoMessage()
func (*FirmwareUpload) Reset ¶
func (m *FirmwareUpload) Reset()
func (*FirmwareUpload) SetHash ¶
func (*FirmwareUpload) SetHash(x []byte)
func (*FirmwareUpload) SetPayload ¶
func (z *FirmwareUpload) SetPayload(x []byte)
func (*FirmwareUpload) SetPayloadHash ¶
func (z *FirmwareUpload) SetPayloadHash(x []byte)
func (*FirmwareUpload) String ¶
func (m *FirmwareUpload) String() string
type GetAddress ¶
type GetAddress struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` CoinName *string `protobuf:"bytes,2,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"` ShowDisplay *bool `protobuf:"varint,3,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"` Multisig *types.MultisigRedeemScriptType `protobuf:"bytes,4,opt,name=multisig" json:"multisig,omitempty"` ScriptType *types.InputScriptType `protobuf:"varint,5,opt,name=script_type,json=scriptType,enum=InputScriptType,def=0" json:"script_type,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device for address corresponding to address_n path @next PassphraseRequest @next Address @next Failure
func GetAddresser2Type ¶
func GetAddresser2Type(x common.GetAddresser) GetAddress
func (*GetAddress) Descriptor ¶
func (*GetAddress) Descriptor() ([]byte, []int)
func (*GetAddress) GetAddressN ¶
func (m *GetAddress) GetAddressN() []uint32
func (*GetAddress) GetCoinName ¶
func (m *GetAddress) GetCoinName() string
func (*GetAddress) GetMultisig ¶
func (m *GetAddress) GetMultisig() commontypes.MultisigRedeemScriptTyper
func (*GetAddress) GetScriptType ¶
func (m *GetAddress) GetScriptType() commontypes.InputScriptTyper
func (*GetAddress) GetShowDisplay ¶
func (m *GetAddress) GetShowDisplay() bool
func (*GetAddress) ProtoMessage ¶
func (*GetAddress) ProtoMessage()
func (*GetAddress) Reset ¶
func (m *GetAddress) Reset()
func (*GetAddress) SetAddressN ¶
func (z *GetAddress) SetAddressN(x []uint32)
func (*GetAddress) SetCoinName ¶
func (z *GetAddress) SetCoinName(x *string)
func (*GetAddress) SetMultisig ¶
func (z *GetAddress) SetMultisig(x commontypes.MultisigRedeemScriptTyper)
func (*GetAddress) SetScriptType ¶
func (z *GetAddress) SetScriptType(x commontypes.InputScriptTyper)
func (*GetAddress) SetShowDisplay ¶
func (z *GetAddress) SetShowDisplay(x *bool)
func (*GetAddress) String ¶
func (m *GetAddress) String() string
type GetECDHSessionKey ¶
type GetECDHSessionKey struct{}
func (*GetECDHSessionKey) GetEcdsaCurveName ¶
func (*GetECDHSessionKey) GetEcdsaCurveName() string
func (*GetECDHSessionKey) GetIdentity ¶
func (*GetECDHSessionKey) GetIdentity() commontypes.IdentityTyper
func (*GetECDHSessionKey) GetPeerPublicKey ¶
func (*GetECDHSessionKey) GetPeerPublicKey() []byte
func (*GetECDHSessionKey) ProtoMessage ¶
func (*GetECDHSessionKey) ProtoMessage()
func (*GetECDHSessionKey) Reset ¶
func (*GetECDHSessionKey) Reset()
func (*GetECDHSessionKey) SetEcdsaCurveName ¶
func (*GetECDHSessionKey) SetEcdsaCurveName(x *string)
func (*GetECDHSessionKey) SetIdentity ¶
func (*GetECDHSessionKey) SetIdentity(x commontypes.IdentityTyper)
func (*GetECDHSessionKey) SetPeerPublicKey ¶
func (*GetECDHSessionKey) SetPeerPublicKey(x []byte)
func (*GetECDHSessionKey) String ¶
func (*GetECDHSessionKey) String() string
type GetEntropy ¶
type GetEntropy struct { Size *uint32 `protobuf:"varint,1,req,name=size" json:"size,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Request a sample of random data generated by hardware RNG. May be used for testing. @next ButtonRequest @next Entropy @next Failure
func GetEntropyer2Type ¶
func GetEntropyer2Type(x common.GetEntropyer) GetEntropy
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) SetSize ¶
func (z *GetEntropy) SetSize(x *uint32)
func (*GetEntropy) String ¶
func (m *GetEntropy) String() string
type GetFeatures ¶
type GetFeatures struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: Ask for device details (no device reset) @next Features
func GetFeatureser2Type ¶
func GetFeatureser2Type(x common.GetFeatureser) GetFeatures
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
type GetPublicKey ¶
type GetPublicKey struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` EcdsaCurveName *string `protobuf:"bytes,2,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"` ShowDisplay *bool `protobuf:"varint,3,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device for public key corresponding to address_n path @next PassphraseRequest @next PublicKey @next Failure
func GetPublicKeyer2Type ¶
func GetPublicKeyer2Type(x common.GetPublicKeyer) GetPublicKey
func (*GetPublicKey) Descriptor ¶
func (*GetPublicKey) Descriptor() ([]byte, []int)
func (*GetPublicKey) GetAddressN ¶
func (m *GetPublicKey) GetAddressN() []uint32
func (*GetPublicKey) GetEcdsaCurveName ¶
func (m *GetPublicKey) GetEcdsaCurveName() string
func (*GetPublicKey) GetShowDisplay ¶
func (m *GetPublicKey) GetShowDisplay() bool
func (*GetPublicKey) ProtoMessage ¶
func (*GetPublicKey) ProtoMessage()
func (*GetPublicKey) Reset ¶
func (m *GetPublicKey) Reset()
func (*GetPublicKey) SetAddressN ¶
func (z *GetPublicKey) SetAddressN(x []uint32)
func (*GetPublicKey) SetEcdsaCurveName ¶
func (z *GetPublicKey) SetEcdsaCurveName(x *string)
func (*GetPublicKey) SetShowDisplay ¶
func (z *GetPublicKey) SetShowDisplay(x *bool)
func (*GetPublicKey) String ¶
func (m *GetPublicKey) String() string
type Getter ¶
type Getter struct{}
func (*Getter) GetAddress ¶
func (*Getter) GetApplyPolicies ¶
func (*Getter) GetApplyPolicies() common.ApplyPolicieser
func (*Getter) GetApplySettings ¶
func (*Getter) GetApplySettings() common.ApplySettingser
func (*Getter) GetButtonAck ¶
func (*Getter) GetButtonAck() common.ButtonAcker
func (*Getter) GetButtonRequest ¶
func (*Getter) GetButtonRequest() common.ButtonRequester
func (*Getter) GetChangePin ¶
func (*Getter) GetChangePin() common.ChangePiner
func (*Getter) GetCharacterAck ¶
func (*Getter) GetCharacterAck() common.CharacterAcker
func (*Getter) GetCharacterRequest ¶
func (*Getter) GetCharacterRequest() common.CharacterRequester
func (*Getter) GetCipherKeyValue ¶
func (*Getter) GetCipherKeyValue() common.CipherKeyValuer
func (*Getter) GetCipheredKeyValue ¶
func (*Getter) GetCipheredKeyValue() common.CipheredKeyValuer
func (*Getter) GetClearSession ¶
func (*Getter) GetClearSession() common.ClearSessioner
func (*Getter) GetDebugLinkDecision ¶
func (*Getter) GetDebugLinkDecision() common.DebugLinkDecisioner
func (*Getter) GetDebugLinkFillConfig ¶
func (*Getter) GetDebugLinkFillConfig() common.DebugLinkFillConfiger
func (*Getter) GetDebugLinkFlashErase ¶
func (*Getter) GetDebugLinkFlashErase() common.DebugLinkFlashEraser
func (*Getter) GetDebugLinkGetState ¶
func (*Getter) GetDebugLinkGetState() common.DebugLinkGetStater
func (*Getter) GetDebugLinkLog ¶
func (*Getter) GetDebugLinkLog() common.DebugLinkLoger
func (*Getter) GetDebugLinkMemory ¶
func (*Getter) GetDebugLinkMemory() common.DebugLinkMemoryer
func (*Getter) GetDebugLinkMemoryRead ¶
func (*Getter) GetDebugLinkMemoryRead() common.DebugLinkMemoryReader
func (*Getter) GetDebugLinkMemoryWrite ¶
func (*Getter) GetDebugLinkMemoryWrite() common.DebugLinkMemoryWriter
func (*Getter) GetDebugLinkState ¶
func (*Getter) GetDebugLinkState() common.DebugLinkStater
func (*Getter) GetDebugLinkStop ¶
func (*Getter) GetDebugLinkStop() common.DebugLinkStoper
func (*Getter) GetDecryptMessage ¶
func (*Getter) GetDecryptMessage() common.DecryptMessager
func (*Getter) GetDecryptedMessage ¶
func (*Getter) GetDecryptedMessage() common.DecryptedMessager
func (*Getter) GetECDHSessionKey ¶
func (*Getter) GetECDHSessionKey() common.ECDHSessionKeyer
func (*Getter) GetEncryptMessage ¶
func (*Getter) GetEncryptMessage() common.EncryptMessager
func (*Getter) GetEncryptedMessage ¶
func (*Getter) GetEncryptedMessage() common.EncryptedMessager
func (*Getter) GetEntropy ¶
func (*Getter) GetEntropyAck ¶
func (*Getter) GetEntropyAck() common.EntropyAcker
func (*Getter) GetEntropyRequest ¶
func (*Getter) GetEntropyRequest() common.EntropyRequester
func (*Getter) GetEstimateTxSize ¶
func (*Getter) GetEstimateTxSize() common.EstimateTxSizer
func (*Getter) GetEthereumAddress ¶
func (*Getter) GetEthereumAddress() common.EthereumAddresser
func (*Getter) GetEthereumGetAddress ¶
func (*Getter) GetEthereumGetAddress() common.EthereumGetAddresser
func (*Getter) GetEthereumSignTx ¶
func (*Getter) GetEthereumSignTx() common.EthereumSignTxer
func (*Getter) GetEthereumTxAck ¶
func (*Getter) GetEthereumTxAck() common.EthereumTxAcker
func (*Getter) GetEthereumTxRequest ¶
func (*Getter) GetEthereumTxRequest() common.EthereumTxRequester
func (*Getter) GetFailure ¶
func (*Getter) GetFeatures ¶
func (*Getter) GetFeatures() common.Featureser
func (*Getter) GetFirmwareErase ¶
func (*Getter) GetFirmwareErase() common.FirmwareEraser
func (*Getter) GetFirmwareRequest ¶
func (*Getter) GetFirmwareRequest() common.FirmwareRequester
func (*Getter) GetFirmwareUpload ¶
func (*Getter) GetFirmwareUpload() common.FirmwareUploader
func (*Getter) GetGetAddress ¶
func (*Getter) GetGetAddress() common.GetAddresser
func (*Getter) GetGetECDHSessionKey ¶
func (*Getter) GetGetECDHSessionKey() common.GetECDHSessionKeyer
func (*Getter) GetGetEntropy ¶
func (*Getter) GetGetEntropy() common.GetEntropyer
func (*Getter) GetGetFeatures ¶
func (*Getter) GetGetFeatures() common.GetFeatureser
func (*Getter) GetGetPublicKey ¶
func (*Getter) GetGetPublicKey() common.GetPublicKeyer
func (*Getter) GetInitialize ¶
func (*Getter) GetInitialize() common.Initializer
func (*Getter) GetLoadDevice ¶
func (*Getter) GetLoadDevice() common.LoadDevicer
func (*Getter) GetMessageSignature ¶
func (*Getter) GetMessageSignature() common.MessageSignaturer
func (*Getter) GetMessageType ¶
func (*Getter) GetMessageType() common.MessageTyper
func (*Getter) GetPassphraseAck ¶
func (*Getter) GetPassphraseAck() common.PassphraseAcker
func (*Getter) GetPassphraseRequest ¶
func (*Getter) GetPassphraseRequest() common.PassphraseRequester
func (*Getter) GetPinMatrixAck ¶
func (*Getter) GetPinMatrixAck() common.PinMatrixAcker
func (*Getter) GetPinMatrixRequest ¶
func (*Getter) GetPinMatrixRequest() common.PinMatrixRequester
func (*Getter) GetPublicKey ¶
func (*Getter) GetPublicKey() common.PublicKeyer
func (*Getter) GetRawTxAck ¶
func (*Getter) GetRawTxAck() common.RawTxAcker
func (*Getter) GetRecoveryDevice ¶
func (*Getter) GetRecoveryDevice() common.RecoveryDevicer
func (*Getter) GetResetDevice ¶
func (*Getter) GetResetDevice() common.ResetDevicer
func (*Getter) GetSetU2FCounter ¶
func (*Getter) GetSetU2FCounter() common.SetU2FCounterer
func (*Getter) GetSignIdentity ¶
func (*Getter) GetSignIdentity() common.SignIdentityer
func (*Getter) GetSignMessage ¶
func (*Getter) GetSignMessage() common.SignMessager
func (*Getter) GetSignedIdentity ¶
func (*Getter) GetSignedIdentity() common.SignedIdentityer
func (*Getter) GetSimpleSignTx ¶
func (*Getter) GetSimpleSignTx() common.SimpleSignTxer
func (*Getter) GetSuccess ¶
func (*Getter) GetTxRequest ¶
func (*Getter) GetTxRequest() common.TxRequester
func (*Getter) GetVerifyMessage ¶
func (*Getter) GetVerifyMessage() common.VerifyMessager
func (*Getter) GetWipeDevice ¶
func (*Getter) GetWipeDevice() common.WipeDevicer
func (*Getter) GetWordAck ¶
func (*Getter) GetWordRequest ¶
func (*Getter) GetWordRequest() common.WordRequester
type Initialize ¶
type Initialize struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: Reset device to default state and ask for device details @next Features
func Initializer2Type ¶
func Initializer2Type(x common.Initializer) Initialize
func (*Initialize) Descriptor ¶
func (*Initialize) Descriptor() ([]byte, []int)
func (*Initialize) ProtoMessage ¶
func (*Initialize) ProtoMessage()
func (*Initialize) Reset ¶
func (m *Initialize) Reset()
func (*Initialize) String ¶
func (m *Initialize) String() string
type LoadDevice ¶
type LoadDevice struct { Mnemonic *string `protobuf:"bytes,1,opt,name=mnemonic" json:"mnemonic,omitempty"` Node *types.HDNodeType `protobuf:"bytes,2,opt,name=node" json:"node,omitempty"` Pin *string `protobuf:"bytes,3,opt,name=pin" json:"pin,omitempty"` PassphraseProtection *bool `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` Language *string `protobuf:"bytes,5,opt,name=language,def=english" json:"language,omitempty"` Label *string `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"` SkipChecksum *bool `protobuf:"varint,7,opt,name=skip_checksum,json=skipChecksum" json:"skip_checksum,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Load seed and related internal settings from the computer @next ButtonRequest @next Success @next Failure
func LoadDevicer2Type ¶
func LoadDevicer2Type(x common.LoadDevicer) LoadDevice
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() commontypes.HDNodeTyper
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 (*LoadDevice) GetU2FCounter() uint32
func (*LoadDevice) ProtoMessage ¶
func (*LoadDevice) ProtoMessage()
func (*LoadDevice) Reset ¶
func (m *LoadDevice) Reset()
func (*LoadDevice) SetLabel ¶
func (z *LoadDevice) SetLabel(x *string)
func (*LoadDevice) SetLanguage ¶
func (z *LoadDevice) SetLanguage(x *string)
func (*LoadDevice) SetMnemonic ¶
func (z *LoadDevice) SetMnemonic(x *string)
func (*LoadDevice) SetNode ¶
func (z *LoadDevice) SetNode(x commontypes.HDNodeTyper)
func (*LoadDevice) SetPassphraseProtection ¶
func (z *LoadDevice) SetPassphraseProtection(x *bool)
func (*LoadDevice) SetPin ¶
func (z *LoadDevice) SetPin(x *string)
func (*LoadDevice) SetSkipChecksum ¶
func (z *LoadDevice) SetSkipChecksum(x *bool)
func (*LoadDevice) SetU2FCounter ¶
func (*LoadDevice) SetU2FCounter(x *uint32)
func (*LoadDevice) String ¶
func (m *LoadDevice) String() string
type MessageSignature ¶
type MessageSignature struct { Address *string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Signed message @prev SignMessage
func MessageSignaturer2Type ¶
func MessageSignaturer2Type(x common.MessageSignaturer) MessageSignature
func (*MessageSignature) Descriptor ¶
func (*MessageSignature) Descriptor() ([]byte, []int)
func (*MessageSignature) GetAddress ¶
func (m *MessageSignature) GetAddress() string
func (*MessageSignature) GetSignature ¶
func (m *MessageSignature) GetSignature() []byte
func (*MessageSignature) ProtoMessage ¶
func (*MessageSignature) ProtoMessage()
func (*MessageSignature) Reset ¶
func (m *MessageSignature) Reset()
func (*MessageSignature) SetAddress ¶
func (z *MessageSignature) SetAddress(x *string)
func (*MessageSignature) SetSignature ¶
func (z *MessageSignature) SetSignature(x []byte)
func (*MessageSignature) String ¶
func (m *MessageSignature) String() string
type MessageType ¶
type MessageType int32
* Mapping between KeepKey wire identifier (uint) and a protobuf message
const ( MessageType_MessageType_Initialize MessageType = 0 MessageType_MessageType_Ping MessageType = 1 MessageType_MessageType_Success MessageType = 2 MessageType_MessageType_Failure MessageType = 3 MessageType_MessageType_ChangePin MessageType = 4 MessageType_MessageType_WipeDevice MessageType = 5 MessageType_MessageType_FirmwareErase MessageType = 6 MessageType_MessageType_FirmwareUpload MessageType = 7 MessageType_MessageType_GetEntropy MessageType = 9 MessageType_MessageType_Entropy MessageType = 10 MessageType_MessageType_GetPublicKey MessageType = 11 MessageType_MessageType_PublicKey MessageType = 12 MessageType_MessageType_LoadDevice MessageType = 13 MessageType_MessageType_ResetDevice MessageType = 14 MessageType_MessageType_SignTx MessageType = 15 MessageType_MessageType_SimpleSignTx MessageType = 16 MessageType_MessageType_Features MessageType = 17 MessageType_MessageType_PinMatrixRequest MessageType = 18 MessageType_MessageType_PinMatrixAck MessageType = 19 MessageType_MessageType_Cancel MessageType = 20 MessageType_MessageType_TxRequest MessageType = 21 MessageType_MessageType_TxAck MessageType = 22 MessageType_MessageType_CipherKeyValue MessageType = 23 MessageType_MessageType_ClearSession MessageType = 24 MessageType_MessageType_ApplySettings MessageType = 25 MessageType_MessageType_ButtonRequest MessageType = 26 MessageType_MessageType_ButtonAck MessageType = 27 MessageType_MessageType_GetAddress MessageType = 29 MessageType_MessageType_Address MessageType = 30 MessageType_MessageType_EntropyRequest MessageType = 35 MessageType_MessageType_EntropyAck MessageType = 36 MessageType_MessageType_SignMessage MessageType = 38 MessageType_MessageType_VerifyMessage MessageType = 39 MessageType_MessageType_MessageSignature MessageType = 40 MessageType_MessageType_PassphraseRequest MessageType = 41 MessageType_MessageType_PassphraseAck MessageType = 42 MessageType_MessageType_EstimateTxSize MessageType = 43 MessageType_MessageType_TxSize MessageType = 44 MessageType_MessageType_RecoveryDevice MessageType = 45 MessageType_MessageType_WordRequest MessageType = 46 MessageType_MessageType_WordAck MessageType = 47 MessageType_MessageType_CipheredKeyValue MessageType = 48 MessageType_MessageType_EncryptMessage MessageType = 49 MessageType_MessageType_EncryptedMessage MessageType = 50 MessageType_MessageType_DecryptMessage MessageType = 51 MessageType_MessageType_DecryptedMessage MessageType = 52 MessageType_MessageType_SignIdentity MessageType = 53 MessageType_MessageType_SignedIdentity MessageType = 54 MessageType_MessageType_GetFeatures MessageType = 55 MessageType_MessageType_EthereumGetAddress MessageType = 56 MessageType_MessageType_EthereumAddress MessageType = 57 MessageType_MessageType_EthereumSignTx MessageType = 58 MessageType_MessageType_EthereumTxRequest MessageType = 59 MessageType_MessageType_EthereumTxAck MessageType = 60 MessageType_MessageType_CharacterRequest MessageType = 80 MessageType_MessageType_CharacterAck MessageType = 81 MessageType_MessageType_RawTxAck MessageType = 82 MessageType_MessageType_ApplyPolicies MessageType = 83 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_DebugLinkFillConfig MessageType = 105 )
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,req,name=passphrase" json:"passphrase,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Send passphrase back @prev PassphraseRequest
func PassphraseAcker2Type ¶
func PassphraseAcker2Type(x common.PassphraseAcker) PassphraseAck
func (*PassphraseAck) Descriptor ¶
func (*PassphraseAck) Descriptor() ([]byte, []int)
func (*PassphraseAck) GetPassphrase ¶
func (m *PassphraseAck) GetPassphrase() string
func (*PassphraseAck) ProtoMessage ¶
func (*PassphraseAck) ProtoMessage()
func (*PassphraseAck) Reset ¶
func (m *PassphraseAck) Reset()
func (*PassphraseAck) SetPassphrase ¶
func (z *PassphraseAck) SetPassphrase(x *string)
func (*PassphraseAck) String ¶
func (m *PassphraseAck) String() string
type PassphraseRequest ¶
type PassphraseRequest struct {
XXX_unrecognized []byte `json:"-"`
}
* Response: Device awaits encryption passphrase @next PassphraseAck @next Cancel
func PassphraseRequester2Type ¶
func PassphraseRequester2Type(x common.PassphraseRequester) PassphraseRequest
func (*PassphraseRequest) Descriptor ¶
func (*PassphraseRequest) Descriptor() ([]byte, []int)
func (*PassphraseRequest) ProtoMessage ¶
func (*PassphraseRequest) ProtoMessage()
func (*PassphraseRequest) Reset ¶
func (m *PassphraseRequest) Reset()
func (*PassphraseRequest) String ¶
func (m *PassphraseRequest) String() string
type PinMatrixAck ¶
type PinMatrixAck struct { Pin *string `protobuf:"bytes,1,req,name=pin" json:"pin,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Computer responds with encoded PIN @prev PinMatrixRequest
func PinMatrixAcker2Type ¶
func PinMatrixAcker2Type(x common.PinMatrixAcker) PinMatrixAck
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) SetPin ¶
func (z *PinMatrixAck) SetPin(x *string)
func (*PinMatrixAck) String ¶
func (m *PinMatrixAck) String() string
type PinMatrixRequest ¶
type PinMatrixRequest struct { Type *types.PinMatrixRequestType `protobuf:"varint,1,opt,name=type,enum=PinMatrixRequestType" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Device is asking computer to show PIN matrix and awaits PIN encoded using this matrix scheme @next PinMatrixAck @next Cancel
func PinMatrixRequester2Type ¶
func PinMatrixRequester2Type(x common.PinMatrixRequester) PinMatrixRequest
func (*PinMatrixRequest) Descriptor ¶
func (*PinMatrixRequest) Descriptor() ([]byte, []int)
func (*PinMatrixRequest) GetType ¶
func (m *PinMatrixRequest) GetType() commontypes.PinMatrixRequestTyper
func (*PinMatrixRequest) ProtoMessage ¶
func (*PinMatrixRequest) ProtoMessage()
func (*PinMatrixRequest) Reset ¶
func (m *PinMatrixRequest) Reset()
func (*PinMatrixRequest) SetType ¶
func (z *PinMatrixRequest) SetType(x commontypes.PinMatrixRequestTyper)
func (*PinMatrixRequest) String ¶
func (m *PinMatrixRequest) String() string
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_unrecognized []byte `json:"-"` }
* Request: Test if the device is alive, device sends back the message in Success response @next Success
func Pinger2Type ¶
func (*Ping) Descriptor ¶
func (*Ping) GetButtonProtection ¶
func (*Ping) GetMessage ¶
func (*Ping) GetPassphraseProtection ¶
func (*Ping) GetPinProtection ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) SetButtonProtection ¶
func (*Ping) SetMessage ¶
func (*Ping) SetPassphraseProtection ¶
func (*Ping) SetPinProtection ¶
type PublicKey ¶
type PublicKey struct { Node *types.HDNodeType `protobuf:"bytes,1,req,name=node" json:"node,omitempty"` Xpub *string `protobuf:"bytes,2,opt,name=xpub" json:"xpub,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Contains public key derived from device private seed @prev GetPublicKey
func PublicKeyer2Type ¶
func PublicKeyer2Type(x common.PublicKeyer) PublicKey
func (*PublicKey) Descriptor ¶
func (*PublicKey) GetNode ¶
func (m *PublicKey) GetNode() commontypes.HDNodeTyper
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) SetNode ¶
func (z *PublicKey) SetNode(x commontypes.HDNodeTyper)
type RawTxAck ¶
type RawTxAck struct { Tx *types.RawTransactionType `protobuf:"bytes,1,opt,name=tx" json:"tx,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Reported raw transaction data @prev TxRequest @next TxRequest
func RawTxAcker2Type ¶
func RawTxAcker2Type(x common.RawTxAcker) RawTxAck
func (*RawTxAck) Descriptor ¶
func (*RawTxAck) GetTx ¶
func (m *RawTxAck) GetTx() commontypes.RawTransactionTyper
func (*RawTxAck) ProtoMessage ¶
func (*RawTxAck) ProtoMessage()
func (*RawTxAck) SetTx ¶
func (z *RawTxAck) SetTx(x commontypes.RawTransactionTyper)
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"` UseCharacterCipher *bool `protobuf:"varint,7,opt,name=use_character_cipher,json=useCharacterCipher" json:"use_character_cipher,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Start recovery workflow asking user for specific words of mnemonic Used to recovery device safely even on untrusted computer. @next WordRequest
func RecoveryDevicer2Type ¶
func RecoveryDevicer2Type(x common.RecoveryDevicer) RecoveryDevice
func (*RecoveryDevice) Descriptor ¶
func (*RecoveryDevice) Descriptor() ([]byte, []int)
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 (*RecoveryDevice) GetType() uint32
func (*RecoveryDevice) GetU2FCounter ¶
func (*RecoveryDevice) GetU2FCounter() uint32
func (*RecoveryDevice) GetUseCharacterCipher ¶
func (m *RecoveryDevice) GetUseCharacterCipher() bool
func (*RecoveryDevice) GetWordCount ¶
func (m *RecoveryDevice) GetWordCount() uint32
func (*RecoveryDevice) ProtoMessage ¶
func (*RecoveryDevice) ProtoMessage()
func (*RecoveryDevice) Reset ¶
func (m *RecoveryDevice) Reset()
func (*RecoveryDevice) SetEnforceWordlist ¶
func (z *RecoveryDevice) SetEnforceWordlist(x *bool)
func (*RecoveryDevice) SetLabel ¶
func (z *RecoveryDevice) SetLabel(x *string)
func (*RecoveryDevice) SetLanguage ¶
func (z *RecoveryDevice) SetLanguage(x *string)
func (*RecoveryDevice) SetPassphraseProtection ¶
func (z *RecoveryDevice) SetPassphraseProtection(x *bool)
func (*RecoveryDevice) SetPinProtection ¶
func (z *RecoveryDevice) SetPinProtection(x *bool)
func (*RecoveryDevice) SetU2FCounter ¶
func (*RecoveryDevice) SetU2FCounter(x *uint32)
func (*RecoveryDevice) SetUseCharacterCipher ¶
func (z *RecoveryDevice) SetUseCharacterCipher(x *bool)
func (*RecoveryDevice) SetWordCount ¶
func (z *RecoveryDevice) SetWordCount(x *uint32)
func (*RecoveryDevice) String ¶
func (m *RecoveryDevice) String() string
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"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to do initialization involving user interaction @next EntropyRequest @next Failure
func ResetDevicer2Type ¶
func ResetDevicer2Type(x common.ResetDevicer) ResetDevice
func (*ResetDevice) Descriptor ¶
func (*ResetDevice) Descriptor() ([]byte, []int)
func (*ResetDevice) GetDisplayRandom ¶
func (m *ResetDevice) GetDisplayRandom() bool
func (*ResetDevice) GetLabel ¶
func (m *ResetDevice) GetLabel() string
func (*ResetDevice) GetLanguage ¶
func (m *ResetDevice) GetLanguage() string
func (*ResetDevice) GetPassphraseProtection ¶
func (m *ResetDevice) GetPassphraseProtection() bool
func (*ResetDevice) GetPinProtection ¶
func (m *ResetDevice) GetPinProtection() bool
func (*ResetDevice) GetStrength ¶
func (m *ResetDevice) GetStrength() uint32
func (*ResetDevice) GetU2FCounter ¶
func (*ResetDevice) GetU2FCounter() uint32
func (*ResetDevice) ProtoMessage ¶
func (*ResetDevice) ProtoMessage()
func (*ResetDevice) Reset ¶
func (m *ResetDevice) Reset()
func (*ResetDevice) SetDisplayRandom ¶
func (z *ResetDevice) SetDisplayRandom(x *bool)
func (*ResetDevice) SetLabel ¶
func (z *ResetDevice) SetLabel(x *string)
func (*ResetDevice) SetLanguage ¶
func (z *ResetDevice) SetLanguage(x *string)
func (*ResetDevice) SetPassphraseProtection ¶
func (z *ResetDevice) SetPassphraseProtection(x *bool)
func (*ResetDevice) SetPinProtection ¶
func (z *ResetDevice) SetPinProtection(x *bool)
func (*ResetDevice) SetStrength ¶
func (z *ResetDevice) SetStrength(x *uint32)
func (*ResetDevice) SetU2FCounter ¶
func (*ResetDevice) SetU2FCounter(x *uint32)
func (*ResetDevice) String ¶
func (m *ResetDevice) String() string
type SetU2FCounter ¶
type SetU2FCounter struct{}
func (*SetU2FCounter) GetU2FCounter ¶
func (*SetU2FCounter) GetU2FCounter() uint32
func (*SetU2FCounter) ProtoMessage ¶
func (*SetU2FCounter) ProtoMessage()
func (*SetU2FCounter) Reset ¶
func (*SetU2FCounter) Reset()
func (*SetU2FCounter) SetU2FCounter ¶
func (*SetU2FCounter) SetU2FCounter(x *uint32)
func (*SetU2FCounter) String ¶
func (*SetU2FCounter) String() string
type SignIdentity ¶
type SignIdentity struct { Identity *types.IdentityType `protobuf:"bytes,1,opt,name=identity" json:"identity,omitempty"` ChallengeHidden []byte `protobuf:"bytes,2,opt,name=challenge_hidden,json=challengeHidden" json:"challenge_hidden,omitempty"` ChallengeVisual *string `protobuf:"bytes,3,opt,name=challenge_visual,json=challengeVisual" json:"challenge_visual,omitempty"` EcdsaCurveName *string `protobuf:"bytes,4,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to sign identity @next SignedIdentity @next Failure
func SignIdentityer2Type ¶
func SignIdentityer2Type(x common.SignIdentityer) SignIdentity
func (*SignIdentity) Descriptor ¶
func (*SignIdentity) Descriptor() ([]byte, []int)
func (*SignIdentity) GetChallengeHidden ¶
func (m *SignIdentity) GetChallengeHidden() []byte
func (*SignIdentity) GetChallengeVisual ¶
func (m *SignIdentity) GetChallengeVisual() string
func (*SignIdentity) GetEcdsaCurveName ¶
func (m *SignIdentity) GetEcdsaCurveName() string
func (*SignIdentity) GetIdentity ¶
func (m *SignIdentity) GetIdentity() commontypes.IdentityTyper
func (*SignIdentity) ProtoMessage ¶
func (*SignIdentity) ProtoMessage()
func (*SignIdentity) Reset ¶
func (m *SignIdentity) Reset()
func (*SignIdentity) SetChallengeHidden ¶
func (z *SignIdentity) SetChallengeHidden(x []byte)
func (*SignIdentity) SetChallengeVisual ¶
func (z *SignIdentity) SetChallengeVisual(x *string)
func (*SignIdentity) SetEcdsaCurveName ¶
func (z *SignIdentity) SetEcdsaCurveName(x *string)
func (*SignIdentity) SetIdentity ¶
func (z *SignIdentity) SetIdentity(x commontypes.IdentityTyper)
func (*SignIdentity) String ¶
func (m *SignIdentity) String() string
type SignMessage ¶
type SignMessage struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` Message []byte `protobuf:"bytes,2,req,name=message" json:"message,omitempty"` CoinName *string `protobuf:"bytes,3,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to sign message @next MessageSignature @next Failure
func SignMessager2Type ¶
func SignMessager2Type(x common.SignMessager) SignMessage
func (*SignMessage) Descriptor ¶
func (*SignMessage) Descriptor() ([]byte, []int)
func (*SignMessage) GetAddressN ¶
func (m *SignMessage) GetAddressN() []uint32
func (*SignMessage) GetCoinName ¶
func (m *SignMessage) GetCoinName() string
func (*SignMessage) GetMessage ¶
func (m *SignMessage) GetMessage() []byte
func (*SignMessage) ProtoMessage ¶
func (*SignMessage) ProtoMessage()
func (*SignMessage) Reset ¶
func (m *SignMessage) Reset()
func (*SignMessage) SetAddressN ¶
func (z *SignMessage) SetAddressN(x []uint32)
func (*SignMessage) SetCoinName ¶
func (z *SignMessage) SetCoinName(x *string)
func (*SignMessage) SetMessage ¶
func (z *SignMessage) SetMessage(x []byte)
func (*SignMessage) String ¶
func (m *SignMessage) String() string
type SignTx ¶
type SignTx struct { OutputsCount *uint32 `protobuf:"varint,1,req,name=outputs_count,json=outputsCount" json:"outputs_count,omitempty"` InputsCount *uint32 `protobuf:"varint,2,req,name=inputs_count,json=inputsCount" json:"inputs_count,omitempty"` CoinName *string `protobuf:"bytes,3,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"` Version *uint32 `protobuf:"varint,4,opt,name=version,def=1" json:"version,omitempty"` LockTime *uint32 `protobuf:"varint,5,opt,name=lock_time,json=lockTime,def=0" json:"lock_time,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to sign transaction @next PassphraseRequest @next PinMatrixRequest @next TxRequest @next Failure
func SignTxer2Type ¶
func (*SignTx) Descriptor ¶
func (*SignTx) GetCoinName ¶
func (*SignTx) GetInputsCount ¶
func (*SignTx) GetLockTime ¶
func (*SignTx) GetOutputsCount ¶
func (*SignTx) GetVersion ¶
func (*SignTx) ProtoMessage ¶
func (*SignTx) ProtoMessage()
func (*SignTx) SetCoinName ¶
func (*SignTx) SetInputsCount ¶
func (*SignTx) SetLockTime ¶
func (*SignTx) SetOutputsCount ¶
func (*SignTx) SetVersion ¶
type SignedIdentity ¶
type SignedIdentity struct { Address *string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey" json:"public_key,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature" json:"signature,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Device provides signed identity @prev SignIdentity
func SignedIdentityer2Type ¶
func SignedIdentityer2Type(x common.SignedIdentityer) SignedIdentity
func (*SignedIdentity) Descriptor ¶
func (*SignedIdentity) Descriptor() ([]byte, []int)
func (*SignedIdentity) GetAddress ¶
func (m *SignedIdentity) GetAddress() string
func (*SignedIdentity) GetPublicKey ¶
func (m *SignedIdentity) GetPublicKey() []byte
func (*SignedIdentity) GetSignature ¶
func (m *SignedIdentity) GetSignature() []byte
func (*SignedIdentity) ProtoMessage ¶
func (*SignedIdentity) ProtoMessage()
func (*SignedIdentity) Reset ¶
func (m *SignedIdentity) Reset()
func (*SignedIdentity) SetAddress ¶
func (z *SignedIdentity) SetAddress(x *string)
func (*SignedIdentity) SetPublicKey ¶
func (z *SignedIdentity) SetPublicKey(x []byte)
func (*SignedIdentity) SetSignature ¶
func (z *SignedIdentity) SetSignature(x []byte)
func (*SignedIdentity) String ¶
func (m *SignedIdentity) String() string
type SimpleSignTx ¶
type SimpleSignTx struct { Inputs []*types.TxInputType `protobuf:"bytes,1,rep,name=inputs" json:"inputs,omitempty"` Outputs []*types.TxOutputType `protobuf:"bytes,2,rep,name=outputs" json:"outputs,omitempty"` Transactions []*types.TransactionType `protobuf:"bytes,3,rep,name=transactions" json:"transactions,omitempty"` CoinName *string `protobuf:"bytes,4,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"` Version *uint32 `protobuf:"varint,5,opt,name=version,def=1" json:"version,omitempty"` LockTime *uint32 `protobuf:"varint,6,opt,name=lock_time,json=lockTime,def=0" json:"lock_time,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Simplified transaction signing This method doesn't support streaming, so there are hardware limits in number of inputs and outputs. In case of success, the result is returned using TxRequest message. @next PassphraseRequest @next PinMatrixRequest @next TxRequest @next Failure
func SimpleSignTxer2Type ¶
func SimpleSignTxer2Type(x common.SimpleSignTxer) SimpleSignTx
func (*SimpleSignTx) Descriptor ¶
func (*SimpleSignTx) Descriptor() ([]byte, []int)
func (*SimpleSignTx) GetCoinName ¶
func (m *SimpleSignTx) GetCoinName() string
func (*SimpleSignTx) GetInputs ¶
func (m *SimpleSignTx) GetInputs() []commontypes.TxInputTyper
func (*SimpleSignTx) GetLockTime ¶
func (m *SimpleSignTx) GetLockTime() uint32
func (*SimpleSignTx) GetOutputs ¶
func (m *SimpleSignTx) GetOutputs() []commontypes.TxOutputTyper
func (*SimpleSignTx) GetTransactions ¶
func (m *SimpleSignTx) GetTransactions() []commontypes.TransactionTyper
func (*SimpleSignTx) GetVersion ¶
func (m *SimpleSignTx) GetVersion() uint32
func (*SimpleSignTx) ProtoMessage ¶
func (*SimpleSignTx) ProtoMessage()
func (*SimpleSignTx) Reset ¶
func (m *SimpleSignTx) Reset()
func (*SimpleSignTx) SetCoinName ¶
func (z *SimpleSignTx) SetCoinName(x *string)
func (*SimpleSignTx) SetInputs ¶
func (z *SimpleSignTx) SetInputs(x []commontypes.TxInputTyper)
func (*SimpleSignTx) SetLockTime ¶
func (z *SimpleSignTx) SetLockTime(x *uint32)
func (*SimpleSignTx) SetOutputs ¶
func (z *SimpleSignTx) SetOutputs(x []commontypes.TxOutputTyper)
func (*SimpleSignTx) SetTransactions ¶
func (z *SimpleSignTx) SetTransactions(x []commontypes.TransactionTyper)
func (*SimpleSignTx) SetVersion ¶
func (z *SimpleSignTx) SetVersion(x *uint32)
func (*SimpleSignTx) String ¶
func (m *SimpleSignTx) String() string
type Success ¶
type Success struct { Message *string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Success of the previous request
func Successer2Type ¶
func (*Success) Descriptor ¶
func (*Success) GetMessage ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) SetMessage ¶
type TxAck ¶
type TxAck struct { Tx *types.TransactionType `protobuf:"bytes,1,opt,name=tx" json:"tx,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Reported transaction data @prev TxRequest @next TxRequest
func TxAcker2Type ¶
func (*TxAck) Descriptor ¶
func (*TxAck) GetTx ¶
func (m *TxAck) GetTx() commontypes.TransactionTyper
func (*TxAck) ProtoMessage ¶
func (*TxAck) ProtoMessage()
func (*TxAck) SetTx ¶
func (z *TxAck) SetTx(x commontypes.TransactionTyper)
type TxRequest ¶
type TxRequest struct { RequestType *types.RequestType `protobuf:"varint,1,opt,name=request_type,json=requestType,enum=RequestType" json:"request_type,omitempty"` Details *types.TxRequestDetailsType `protobuf:"bytes,2,opt,name=details" json:"details,omitempty"` Serialized *types.TxRequestSerializedType `protobuf:"bytes,3,opt,name=serialized" json:"serialized,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Device asks for information for signing transaction or returns the last result If request_index is set, device awaits TxAck message (with fields filled in according to request_type) If signature_index is set, 'signature' contains signed input of signature_index's input @prev SignTx @prev SimpleSignTx @prev TxAck
func TxRequester2Type ¶
func TxRequester2Type(x common.TxRequester) TxRequest
func (*TxRequest) Descriptor ¶
func (*TxRequest) GetDetails ¶
func (m *TxRequest) GetDetails() commontypes.TxRequestDetailsTyper
func (*TxRequest) GetRequestType ¶
func (m *TxRequest) GetRequestType() commontypes.RequestTyper
func (*TxRequest) GetSerialized ¶
func (m *TxRequest) GetSerialized() commontypes.TxRequestSerializedTyper
func (*TxRequest) ProtoMessage ¶
func (*TxRequest) ProtoMessage()
func (*TxRequest) SetDetails ¶
func (z *TxRequest) SetDetails(x commontypes.TxRequestDetailsTyper)
func (*TxRequest) SetRequestType ¶
func (z *TxRequest) SetRequestType(x commontypes.RequestTyper)
func (*TxRequest) SetSerialized ¶
func (z *TxRequest) SetSerialized(x commontypes.TxRequestSerializedTyper)
type TxSize ¶
type TxSize struct { TxSize *uint32 `protobuf:"varint,1,opt,name=tx_size,json=txSize" json:"tx_size,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Response: Estimated size of the transaction @prev EstimateTxSize
func TxSizer2Type ¶
func (*TxSize) Descriptor ¶
func (*TxSize) ProtoMessage ¶
func (*TxSize) ProtoMessage()
type VerifyMessage ¶
type VerifyMessage struct { Address *string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` CoinName *string `protobuf:"bytes,4,opt,name=coin_name,json=coinName,def=Bitcoin" json:"coin_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Ask device to verify message @next Success @next Failure
func VerifyMessager2Type ¶
func VerifyMessager2Type(x common.VerifyMessager) VerifyMessage
func (*VerifyMessage) Descriptor ¶
func (*VerifyMessage) Descriptor() ([]byte, []int)
func (*VerifyMessage) GetAddress ¶
func (m *VerifyMessage) GetAddress() string
func (*VerifyMessage) GetCoinName ¶
func (m *VerifyMessage) GetCoinName() string
func (*VerifyMessage) GetMessage ¶
func (m *VerifyMessage) GetMessage() []byte
func (*VerifyMessage) GetSignature ¶
func (m *VerifyMessage) GetSignature() []byte
func (*VerifyMessage) ProtoMessage ¶
func (*VerifyMessage) ProtoMessage()
func (*VerifyMessage) Reset ¶
func (m *VerifyMessage) Reset()
func (*VerifyMessage) SetAddress ¶
func (z *VerifyMessage) SetAddress(x *string)
func (*VerifyMessage) SetCoinName ¶
func (z *VerifyMessage) SetCoinName(x *string)
func (*VerifyMessage) SetMessage ¶
func (z *VerifyMessage) SetMessage(x []byte)
func (*VerifyMessage) SetSignature ¶
func (z *VerifyMessage) SetSignature(x []byte)
func (*VerifyMessage) String ¶
func (m *VerifyMessage) String() string
type WipeDevice ¶
type WipeDevice struct {
XXX_unrecognized []byte `json:"-"`
}
* Request: Request device to wipe all sensitive data and settings @next ButtonRequest
func WipeDevicer2Type ¶
func WipeDevicer2Type(x common.WipeDevicer) WipeDevice
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
type WordAck ¶
type WordAck struct { Word *string `protobuf:"bytes,1,req,name=word" json:"word,omitempty"` XXX_unrecognized []byte `json:"-"` }
* Request: Computer replies with word from the mnemonic @prev WordRequest @next WordRequest @next Success @next Failure
func WordAcker2Type ¶
func (*WordAck) Descriptor ¶
func (*WordAck) ProtoMessage ¶
func (*WordAck) ProtoMessage()
type WordRequest ¶
type WordRequest struct {
XXX_unrecognized []byte `json:"-"`
}
* Response: Device is waiting for user to enter word of the mnemonic Its position is shown only on device's internal display. @prev RecoveryDevice @prev WordAck
func WordRequester2Type ¶
func WordRequester2Type(x common.WordRequester) WordRequest
func (*WordRequest) Descriptor ¶
func (*WordRequest) Descriptor() ([]byte, []int)
func (*WordRequest) GetType ¶
func (*WordRequest) GetType() commontypes.WordRequestTyper
func (*WordRequest) ProtoMessage ¶
func (*WordRequest) ProtoMessage()
func (*WordRequest) Reset ¶
func (m *WordRequest) Reset()
func (*WordRequest) SetType ¶
func (*WordRequest) SetType(x commontypes.WordRequestTyper)
func (*WordRequest) String ¶
func (m *WordRequest) String() string