Documentation ¶
Overview ¶
Package trezor contains the wire protocol.
Index ¶
- Constants
- Variables
- func Name(kind uint16) string
- func Type(msg proto.Message) uint16
- type ApplyFlags
- type ApplySettings
- func (*ApplySettings) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySettings) GetAutoLockDelayMs() uint32
- func (x *ApplySettings) GetDisplayRotation() uint32
- func (x *ApplySettings) GetExperimentalFeatures() bool
- func (x *ApplySettings) GetHidePassphraseFromHost() bool
- func (x *ApplySettings) GetHomescreen() []byte
- func (x *ApplySettings) GetLabel() string
- func (x *ApplySettings) GetLanguage() stringdeprecated
- func (x *ApplySettings) GetPassphraseAlwaysOnDevice() bool
- func (x *ApplySettings) GetSafetyChecks() SafetyCheckLevel
- func (x *ApplySettings) GetUsePassphrase() bool
- func (x *ApplySettings) GetXPassphraseSource() uint32deprecated
- func (*ApplySettings) ProtoMessage()
- func (x *ApplySettings) ProtoReflect() protoreflect.Message
- func (x *ApplySettings) Reset()
- func (x *ApplySettings) String() string
- type AuthenticateDevice
- func (*AuthenticateDevice) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateDevice) GetChallenge() []byte
- func (*AuthenticateDevice) ProtoMessage()
- func (x *AuthenticateDevice) ProtoReflect() protoreflect.Message
- func (x *AuthenticateDevice) Reset()
- func (x *AuthenticateDevice) String() string
- type AuthenticityProof
- func (*AuthenticityProof) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticityProof) GetCertificates() [][]byte
- func (x *AuthenticityProof) GetSignature() []byte
- func (*AuthenticityProof) ProtoMessage()
- func (x *AuthenticityProof) ProtoReflect() protoreflect.Message
- func (x *AuthenticityProof) Reset()
- func (x *AuthenticityProof) String() string
- type BackupDevice
- type BackupType
- func (BackupType) Descriptor() protoreflect.EnumDescriptor
- func (x BackupType) Enum() *BackupType
- func (BackupType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackupType) Number() protoreflect.EnumNumber
- func (x BackupType) String() string
- func (BackupType) Type() protoreflect.EnumType
- func (x *BackupType) UnmarshalJSON(b []byte) errordeprecated
- type ButtonAck
- type ButtonRequest
- func (*ButtonRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ButtonRequest) GetCode() ButtonRequest_ButtonRequestType
- func (x *ButtonRequest) GetPages() uint32
- func (*ButtonRequest) ProtoMessage()
- func (x *ButtonRequest) ProtoReflect() protoreflect.Message
- func (x *ButtonRequest) Reset()
- func (x *ButtonRequest) String() string
- type ButtonRequest_ButtonRequestType
- func (ButtonRequest_ButtonRequestType) Descriptor() protoreflect.EnumDescriptor
- func (x ButtonRequest_ButtonRequestType) Enum() *ButtonRequest_ButtonRequestType
- func (ButtonRequest_ButtonRequestType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ButtonRequest_ButtonRequestType) Number() protoreflect.EnumNumber
- func (x ButtonRequest_ButtonRequestType) String() string
- func (ButtonRequest_ButtonRequestType) Type() protoreflect.EnumType
- func (x *ButtonRequest_ButtonRequestType) UnmarshalJSON(b []byte) errordeprecated
- type Cancel
- type CancelAuthorization
- type ChangeLanguage
- func (*ChangeLanguage) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeLanguage) GetDataLength() uint32
- func (x *ChangeLanguage) GetShowDisplay() bool
- func (*ChangeLanguage) ProtoMessage()
- func (x *ChangeLanguage) ProtoReflect() protoreflect.Message
- func (x *ChangeLanguage) Reset()
- func (x *ChangeLanguage) String() string
- type ChangePin
- type ChangeWipeCode
- type CipherKeyValue
- func (*CipherKeyValue) Descriptor() ([]byte, []int)deprecated
- func (x *CipherKeyValue) GetAddressN() []uint32
- func (x *CipherKeyValue) GetAskOnDecrypt() bool
- func (x *CipherKeyValue) GetAskOnEncrypt() bool
- func (x *CipherKeyValue) GetEncrypt() bool
- func (x *CipherKeyValue) GetIv() []byte
- func (x *CipherKeyValue) GetKey() string
- func (x *CipherKeyValue) GetValue() []byte
- func (*CipherKeyValue) ProtoMessage()
- func (x *CipherKeyValue) ProtoReflect() protoreflect.Message
- func (x *CipherKeyValue) Reset()
- func (x *CipherKeyValue) String() string
- type CipheredKeyValue
- type CosiCommit
- func (*CosiCommit) Descriptor() ([]byte, []int)deprecated
- func (x *CosiCommit) GetAddressN() []uint32
- func (x *CosiCommit) GetData() []bytedeprecated
- func (*CosiCommit) ProtoMessage()
- func (x *CosiCommit) ProtoReflect() protoreflect.Message
- func (x *CosiCommit) Reset()
- func (x *CosiCommit) String() string
- type CosiCommitment
- func (*CosiCommitment) Descriptor() ([]byte, []int)deprecated
- func (x *CosiCommitment) GetCommitment() []byte
- func (x *CosiCommitment) GetPubkey() []byte
- func (*CosiCommitment) ProtoMessage()
- func (x *CosiCommitment) ProtoReflect() protoreflect.Message
- func (x *CosiCommitment) Reset()
- func (x *CosiCommitment) String() string
- type CosiSign
- func (*CosiSign) Descriptor() ([]byte, []int)deprecated
- func (x *CosiSign) GetAddressN() []uint32
- func (x *CosiSign) GetData() []byte
- func (x *CosiSign) GetGlobalCommitment() []byte
- func (x *CosiSign) GetGlobalPubkey() []byte
- func (*CosiSign) ProtoMessage()
- func (x *CosiSign) ProtoReflect() protoreflect.Message
- func (x *CosiSign) Reset()
- func (x *CosiSign) String() string
- type CosiSignature
- type DebugLinkDecision
- func (*DebugLinkDecision) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkDecision) GetButton() DebugLinkDecision_DebugButton
- func (x *DebugLinkDecision) GetHoldMs() uint32
- func (x *DebugLinkDecision) GetInput() string
- func (x *DebugLinkDecision) GetPhysicalButton() DebugLinkDecision_DebugPhysicalButton
- func (x *DebugLinkDecision) GetSwipe() DebugLinkDecision_DebugSwipeDirection
- func (x *DebugLinkDecision) GetWait() bool
- func (x *DebugLinkDecision) GetX() uint32
- func (x *DebugLinkDecision) GetY() uint32
- func (*DebugLinkDecision) ProtoMessage()
- func (x *DebugLinkDecision) ProtoReflect() protoreflect.Message
- func (x *DebugLinkDecision) Reset()
- func (x *DebugLinkDecision) String() string
- type DebugLinkDecision_DebugButton
- func (DebugLinkDecision_DebugButton) Descriptor() protoreflect.EnumDescriptor
- func (x DebugLinkDecision_DebugButton) Enum() *DebugLinkDecision_DebugButton
- func (DebugLinkDecision_DebugButton) EnumDescriptor() ([]byte, []int)deprecated
- func (x DebugLinkDecision_DebugButton) Number() protoreflect.EnumNumber
- func (x DebugLinkDecision_DebugButton) String() string
- func (DebugLinkDecision_DebugButton) Type() protoreflect.EnumType
- func (x *DebugLinkDecision_DebugButton) UnmarshalJSON(b []byte) errordeprecated
- type DebugLinkDecision_DebugPhysicalButton
- func (DebugLinkDecision_DebugPhysicalButton) Descriptor() protoreflect.EnumDescriptor
- func (x DebugLinkDecision_DebugPhysicalButton) Enum() *DebugLinkDecision_DebugPhysicalButton
- func (DebugLinkDecision_DebugPhysicalButton) EnumDescriptor() ([]byte, []int)deprecated
- func (x DebugLinkDecision_DebugPhysicalButton) Number() protoreflect.EnumNumber
- func (x DebugLinkDecision_DebugPhysicalButton) String() string
- func (DebugLinkDecision_DebugPhysicalButton) Type() protoreflect.EnumType
- func (x *DebugLinkDecision_DebugPhysicalButton) UnmarshalJSON(b []byte) errordeprecated
- type DebugLinkDecision_DebugSwipeDirection
- func (DebugLinkDecision_DebugSwipeDirection) Descriptor() protoreflect.EnumDescriptor
- func (x DebugLinkDecision_DebugSwipeDirection) Enum() *DebugLinkDecision_DebugSwipeDirection
- func (DebugLinkDecision_DebugSwipeDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x DebugLinkDecision_DebugSwipeDirection) Number() protoreflect.EnumNumber
- func (x DebugLinkDecision_DebugSwipeDirection) String() string
- func (DebugLinkDecision_DebugSwipeDirection) Type() protoreflect.EnumType
- func (x *DebugLinkDecision_DebugSwipeDirection) UnmarshalJSON(b []byte) errordeprecated
- type DebugLinkEraseSdCard
- func (*DebugLinkEraseSdCard) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkEraseSdCard) GetFormat() bool
- func (*DebugLinkEraseSdCard) ProtoMessage()
- func (x *DebugLinkEraseSdCard) ProtoReflect() protoreflect.Message
- func (x *DebugLinkEraseSdCard) Reset()
- func (x *DebugLinkEraseSdCard) String() string
- type DebugLinkFlashErase
- func (*DebugLinkFlashErase) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkFlashErase) GetSector() uint32
- func (*DebugLinkFlashErase) ProtoMessage()
- func (x *DebugLinkFlashErase) ProtoReflect() protoreflect.Message
- func (x *DebugLinkFlashErase) Reset()
- func (x *DebugLinkFlashErase) String() string
- type DebugLinkGetState
- func (*DebugLinkGetState) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkGetState) GetWaitLayout() bool
- func (x *DebugLinkGetState) GetWaitWordList() bool
- func (x *DebugLinkGetState) GetWaitWordPos() bool
- func (*DebugLinkGetState) ProtoMessage()
- func (x *DebugLinkGetState) ProtoReflect() protoreflect.Message
- func (x *DebugLinkGetState) Reset()
- func (x *DebugLinkGetState) String() string
- type DebugLinkLayout
- type DebugLinkLog
- func (*DebugLinkLog) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkLog) GetBucket() string
- func (x *DebugLinkLog) GetLevel() uint32
- func (x *DebugLinkLog) GetText() string
- func (*DebugLinkLog) ProtoMessage()
- func (x *DebugLinkLog) ProtoReflect() protoreflect.Message
- func (x *DebugLinkLog) Reset()
- func (x *DebugLinkLog) String() string
- type DebugLinkMemory
- type DebugLinkMemoryRead
- func (*DebugLinkMemoryRead) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkMemoryRead) GetAddress() uint32
- func (x *DebugLinkMemoryRead) GetLength() uint32
- func (*DebugLinkMemoryRead) ProtoMessage()
- func (x *DebugLinkMemoryRead) ProtoReflect() protoreflect.Message
- func (x *DebugLinkMemoryRead) Reset()
- func (x *DebugLinkMemoryRead) String() string
- type DebugLinkMemoryWrite
- func (*DebugLinkMemoryWrite) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkMemoryWrite) GetAddress() uint32
- func (x *DebugLinkMemoryWrite) GetFlash() bool
- func (x *DebugLinkMemoryWrite) GetMemory() []byte
- func (*DebugLinkMemoryWrite) ProtoMessage()
- func (x *DebugLinkMemoryWrite) ProtoReflect() protoreflect.Message
- func (x *DebugLinkMemoryWrite) Reset()
- func (x *DebugLinkMemoryWrite) String() string
- type DebugLinkRecordScreen
- func (*DebugLinkRecordScreen) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkRecordScreen) GetRefreshIndex() uint32
- func (x *DebugLinkRecordScreen) GetTargetDirectory() string
- func (*DebugLinkRecordScreen) ProtoMessage()
- func (x *DebugLinkRecordScreen) ProtoReflect() protoreflect.Message
- func (x *DebugLinkRecordScreen) Reset()
- func (x *DebugLinkRecordScreen) String() string
- type DebugLinkReseedRandom
- func (*DebugLinkReseedRandom) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkReseedRandom) GetValue() uint32
- func (*DebugLinkReseedRandom) ProtoMessage()
- func (x *DebugLinkReseedRandom) ProtoReflect() protoreflect.Message
- func (x *DebugLinkReseedRandom) Reset()
- func (x *DebugLinkReseedRandom) String() string
- type DebugLinkResetDebugEvents
- type DebugLinkState
- func (*DebugLinkState) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkState) GetLayout() []byte
- func (x *DebugLinkState) GetMatrix() string
- func (x *DebugLinkState) GetMnemonicSecret() []byte
- func (x *DebugLinkState) GetMnemonicType() BackupType
- func (x *DebugLinkState) GetNode() *HDNodeType
- func (x *DebugLinkState) GetPassphraseProtection() bool
- func (x *DebugLinkState) GetPin() string
- func (x *DebugLinkState) GetRecoveryFakeWord() string
- func (x *DebugLinkState) GetRecoveryWordPos() uint32
- func (x *DebugLinkState) GetResetEntropy() []byte
- func (x *DebugLinkState) GetResetWord() string
- func (x *DebugLinkState) GetResetWordPos() uint32
- func (x *DebugLinkState) GetTokens() []string
- func (*DebugLinkState) ProtoMessage()
- func (x *DebugLinkState) ProtoReflect() protoreflect.Message
- func (x *DebugLinkState) Reset()
- func (x *DebugLinkState) String() string
- type DebugLinkStop
- type DebugLinkWatchLayout
- func (*DebugLinkWatchLayout) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLinkWatchLayout) GetWatch() bool
- func (*DebugLinkWatchLayout) ProtoMessage()
- func (x *DebugLinkWatchLayout) ProtoReflect() protoreflect.Message
- func (x *DebugLinkWatchLayout) Reset()
- func (x *DebugLinkWatchLayout) String() string
- type Deprecated_PassphraseStateAckdeprecated
- func (*Deprecated_PassphraseStateAck) Descriptor() ([]byte, []int)deprecated
- func (*Deprecated_PassphraseStateAck) ProtoMessage()
- func (x *Deprecated_PassphraseStateAck) ProtoReflect() protoreflect.Message
- func (x *Deprecated_PassphraseStateAck) Reset()
- func (x *Deprecated_PassphraseStateAck) String() string
- type Deprecated_PassphraseStateRequestdeprecated
- func (*Deprecated_PassphraseStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *Deprecated_PassphraseStateRequest) GetState() []byte
- func (*Deprecated_PassphraseStateRequest) ProtoMessage()
- func (x *Deprecated_PassphraseStateRequest) ProtoReflect() protoreflect.Message
- func (x *Deprecated_PassphraseStateRequest) Reset()
- func (x *Deprecated_PassphraseStateRequest) String() string
- type DoPreauthorized
- type ECDHSessionKey
- func (*ECDHSessionKey) Descriptor() ([]byte, []int)deprecated
- func (x *ECDHSessionKey) GetPublicKey() []byte
- func (x *ECDHSessionKey) GetSessionKey() []byte
- func (*ECDHSessionKey) ProtoMessage()
- func (x *ECDHSessionKey) ProtoReflect() protoreflect.Message
- func (x *ECDHSessionKey) Reset()
- func (x *ECDHSessionKey) String() string
- type EndSession
- type Entropy
- type EntropyAck
- type EntropyRequest
- type EthereumAddress
- func (*EthereumAddress) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumAddress) GetAddress() string
- func (x *EthereumAddress) GetXOldAddress() []bytedeprecated
- func (*EthereumAddress) ProtoMessage()
- func (x *EthereumAddress) ProtoReflect() protoreflect.Message
- func (x *EthereumAddress) Reset()
- func (x *EthereumAddress) String() string
- type EthereumDefinitionType
- func (EthereumDefinitionType) Descriptor() protoreflect.EnumDescriptor
- func (x EthereumDefinitionType) Enum() *EthereumDefinitionType
- func (EthereumDefinitionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EthereumDefinitionType) Number() protoreflect.EnumNumber
- func (x EthereumDefinitionType) String() string
- func (EthereumDefinitionType) Type() protoreflect.EnumType
- func (x *EthereumDefinitionType) UnmarshalJSON(b []byte) errordeprecated
- type EthereumDefinitions
- func (*EthereumDefinitions) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumDefinitions) GetEncodedNetwork() []byte
- func (x *EthereumDefinitions) GetEncodedToken() []byte
- func (*EthereumDefinitions) ProtoMessage()
- func (x *EthereumDefinitions) ProtoReflect() protoreflect.Message
- func (x *EthereumDefinitions) Reset()
- func (x *EthereumDefinitions) String() string
- type EthereumGetAddress
- func (*EthereumGetAddress) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumGetAddress) GetAddressN() []uint32
- func (x *EthereumGetAddress) GetChunkify() bool
- func (x *EthereumGetAddress) GetEncodedNetwork() []byte
- func (x *EthereumGetAddress) GetShowDisplay() bool
- func (*EthereumGetAddress) ProtoMessage()
- func (x *EthereumGetAddress) ProtoReflect() protoreflect.Message
- func (x *EthereumGetAddress) Reset()
- func (x *EthereumGetAddress) String() string
- type EthereumGetPublicKey
- func (*EthereumGetPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumGetPublicKey) GetAddressN() []uint32
- func (x *EthereumGetPublicKey) GetShowDisplay() bool
- func (*EthereumGetPublicKey) ProtoMessage()
- func (x *EthereumGetPublicKey) ProtoReflect() protoreflect.Message
- func (x *EthereumGetPublicKey) Reset()
- func (x *EthereumGetPublicKey) String() string
- type EthereumMessageSignature
- func (*EthereumMessageSignature) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumMessageSignature) GetAddress() string
- func (x *EthereumMessageSignature) GetSignature() []byte
- func (*EthereumMessageSignature) ProtoMessage()
- func (x *EthereumMessageSignature) ProtoReflect() protoreflect.Message
- func (x *EthereumMessageSignature) Reset()
- func (x *EthereumMessageSignature) String() string
- type EthereumNetworkInfo
- func (*EthereumNetworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumNetworkInfo) GetChainId() uint64
- func (x *EthereumNetworkInfo) GetName() string
- func (x *EthereumNetworkInfo) GetSlip44() uint32
- func (x *EthereumNetworkInfo) GetSymbol() string
- func (*EthereumNetworkInfo) ProtoMessage()
- func (x *EthereumNetworkInfo) ProtoReflect() protoreflect.Message
- func (x *EthereumNetworkInfo) Reset()
- func (x *EthereumNetworkInfo) String() string
- type EthereumPublicKey
- func (*EthereumPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumPublicKey) GetNode() *HDNodeType
- func (x *EthereumPublicKey) GetXpub() string
- func (*EthereumPublicKey) ProtoMessage()
- func (x *EthereumPublicKey) ProtoReflect() protoreflect.Message
- func (x *EthereumPublicKey) Reset()
- func (x *EthereumPublicKey) String() string
- type EthereumSignMessage
- func (*EthereumSignMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumSignMessage) GetAddressN() []uint32
- func (x *EthereumSignMessage) GetChunkify() bool
- func (x *EthereumSignMessage) GetEncodedNetwork() []byte
- func (x *EthereumSignMessage) GetMessage() []byte
- func (*EthereumSignMessage) ProtoMessage()
- func (x *EthereumSignMessage) ProtoReflect() protoreflect.Message
- func (x *EthereumSignMessage) Reset()
- func (x *EthereumSignMessage) String() string
- type EthereumSignTx
- func (*EthereumSignTx) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumSignTx) GetAddressN() []uint32
- func (x *EthereumSignTx) GetChainId() uint64
- func (x *EthereumSignTx) GetChunkify() bool
- func (x *EthereumSignTx) GetDataInitialChunk() []byte
- func (x *EthereumSignTx) GetDataLength() uint32
- func (x *EthereumSignTx) GetDefinitions() *EthereumDefinitions
- func (x *EthereumSignTx) GetGasLimit() []byte
- func (x *EthereumSignTx) GetGasPrice() []byte
- func (x *EthereumSignTx) GetNonce() []byte
- func (x *EthereumSignTx) GetTo() string
- func (x *EthereumSignTx) GetTxType() uint32
- func (x *EthereumSignTx) GetValue() []byte
- func (*EthereumSignTx) ProtoMessage()
- func (x *EthereumSignTx) ProtoReflect() protoreflect.Message
- func (x *EthereumSignTx) Reset()
- func (x *EthereumSignTx) String() string
- type EthereumSignTxEIP1559
- func (*EthereumSignTxEIP1559) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumSignTxEIP1559) GetAccessList() []*EthereumSignTxEIP1559_EthereumAccessList
- func (x *EthereumSignTxEIP1559) GetAddressN() []uint32
- func (x *EthereumSignTxEIP1559) GetChainId() uint64
- func (x *EthereumSignTxEIP1559) GetChunkify() bool
- func (x *EthereumSignTxEIP1559) GetDataInitialChunk() []byte
- func (x *EthereumSignTxEIP1559) GetDataLength() uint32
- func (x *EthereumSignTxEIP1559) GetDefinitions() *EthereumDefinitions
- func (x *EthereumSignTxEIP1559) GetGasLimit() []byte
- func (x *EthereumSignTxEIP1559) GetMaxGasFee() []byte
- func (x *EthereumSignTxEIP1559) GetMaxPriorityFee() []byte
- func (x *EthereumSignTxEIP1559) GetNonce() []byte
- func (x *EthereumSignTxEIP1559) GetTo() string
- func (x *EthereumSignTxEIP1559) GetValue() []byte
- func (*EthereumSignTxEIP1559) ProtoMessage()
- func (x *EthereumSignTxEIP1559) ProtoReflect() protoreflect.Message
- func (x *EthereumSignTxEIP1559) Reset()
- func (x *EthereumSignTxEIP1559) String() string
- type EthereumSignTxEIP1559_EthereumAccessList
- func (*EthereumSignTxEIP1559_EthereumAccessList) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumSignTxEIP1559_EthereumAccessList) GetAddress() string
- func (x *EthereumSignTxEIP1559_EthereumAccessList) GetStorageKeys() [][]byte
- func (*EthereumSignTxEIP1559_EthereumAccessList) ProtoMessage()
- func (x *EthereumSignTxEIP1559_EthereumAccessList) ProtoReflect() protoreflect.Message
- func (x *EthereumSignTxEIP1559_EthereumAccessList) Reset()
- func (x *EthereumSignTxEIP1559_EthereumAccessList) String() string
- type EthereumSignTypedData
- func (*EthereumSignTypedData) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumSignTypedData) GetAddressN() []uint32
- func (x *EthereumSignTypedData) GetDefinitions() *EthereumDefinitions
- func (x *EthereumSignTypedData) GetMetamaskV4Compat() bool
- func (x *EthereumSignTypedData) GetPrimaryType() string
- func (*EthereumSignTypedData) ProtoMessage()
- func (x *EthereumSignTypedData) ProtoReflect() protoreflect.Message
- func (x *EthereumSignTypedData) Reset()
- func (x *EthereumSignTypedData) String() string
- type EthereumSignTypedHash
- func (*EthereumSignTypedHash) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumSignTypedHash) GetAddressN() []uint32
- func (x *EthereumSignTypedHash) GetDomainSeparatorHash() []byte
- func (x *EthereumSignTypedHash) GetEncodedNetwork() []byte
- func (x *EthereumSignTypedHash) GetMessageHash() []byte
- func (*EthereumSignTypedHash) ProtoMessage()
- func (x *EthereumSignTypedHash) ProtoReflect() protoreflect.Message
- func (x *EthereumSignTypedHash) Reset()
- func (x *EthereumSignTypedHash) String() string
- type EthereumTokenInfo
- func (*EthereumTokenInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumTokenInfo) GetAddress() []byte
- func (x *EthereumTokenInfo) GetChainId() uint64
- func (x *EthereumTokenInfo) GetDecimals() uint32
- func (x *EthereumTokenInfo) GetName() string
- func (x *EthereumTokenInfo) GetSymbol() string
- func (*EthereumTokenInfo) ProtoMessage()
- func (x *EthereumTokenInfo) ProtoReflect() protoreflect.Message
- func (x *EthereumTokenInfo) Reset()
- func (x *EthereumTokenInfo) String() string
- type EthereumTxAck
- type EthereumTxRequest
- func (*EthereumTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumTxRequest) GetDataLength() uint32
- func (x *EthereumTxRequest) GetSignatureR() []byte
- func (x *EthereumTxRequest) GetSignatureS() []byte
- func (x *EthereumTxRequest) GetSignatureV() uint32
- func (*EthereumTxRequest) ProtoMessage()
- func (x *EthereumTxRequest) ProtoReflect() protoreflect.Message
- func (x *EthereumTxRequest) Reset()
- func (x *EthereumTxRequest) String() string
- type EthereumTypedDataSignature
- func (*EthereumTypedDataSignature) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumTypedDataSignature) GetAddress() string
- func (x *EthereumTypedDataSignature) GetSignature() []byte
- func (*EthereumTypedDataSignature) ProtoMessage()
- func (x *EthereumTypedDataSignature) ProtoReflect() protoreflect.Message
- func (x *EthereumTypedDataSignature) Reset()
- func (x *EthereumTypedDataSignature) String() string
- type EthereumTypedDataStructAck
- func (*EthereumTypedDataStructAck) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumTypedDataStructAck) GetMembers() []*EthereumTypedDataStructAck_EthereumStructMember
- func (*EthereumTypedDataStructAck) ProtoMessage()
- func (x *EthereumTypedDataStructAck) ProtoReflect() protoreflect.Message
- func (x *EthereumTypedDataStructAck) Reset()
- func (x *EthereumTypedDataStructAck) String() string
- type EthereumTypedDataStructAck_EthereumDataType
- func (EthereumTypedDataStructAck_EthereumDataType) Descriptor() protoreflect.EnumDescriptor
- func (x EthereumTypedDataStructAck_EthereumDataType) Enum() *EthereumTypedDataStructAck_EthereumDataType
- func (EthereumTypedDataStructAck_EthereumDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EthereumTypedDataStructAck_EthereumDataType) Number() protoreflect.EnumNumber
- func (x EthereumTypedDataStructAck_EthereumDataType) String() string
- func (EthereumTypedDataStructAck_EthereumDataType) Type() protoreflect.EnumType
- func (x *EthereumTypedDataStructAck_EthereumDataType) UnmarshalJSON(b []byte) errordeprecated
- type EthereumTypedDataStructAck_EthereumFieldType
- func (*EthereumTypedDataStructAck_EthereumFieldType) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumTypedDataStructAck_EthereumFieldType) GetDataType() EthereumTypedDataStructAck_EthereumDataType
- func (x *EthereumTypedDataStructAck_EthereumFieldType) GetEntryType() *EthereumTypedDataStructAck_EthereumFieldType
- func (x *EthereumTypedDataStructAck_EthereumFieldType) GetSize() uint32
- func (x *EthereumTypedDataStructAck_EthereumFieldType) GetStructName() string
- func (*EthereumTypedDataStructAck_EthereumFieldType) ProtoMessage()
- func (x *EthereumTypedDataStructAck_EthereumFieldType) ProtoReflect() protoreflect.Message
- func (x *EthereumTypedDataStructAck_EthereumFieldType) Reset()
- func (x *EthereumTypedDataStructAck_EthereumFieldType) String() string
- type EthereumTypedDataStructAck_EthereumStructMember
- func (*EthereumTypedDataStructAck_EthereumStructMember) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumTypedDataStructAck_EthereumStructMember) GetName() string
- func (x *EthereumTypedDataStructAck_EthereumStructMember) GetType() *EthereumTypedDataStructAck_EthereumFieldType
- func (*EthereumTypedDataStructAck_EthereumStructMember) ProtoMessage()
- func (x *EthereumTypedDataStructAck_EthereumStructMember) ProtoReflect() protoreflect.Message
- func (x *EthereumTypedDataStructAck_EthereumStructMember) Reset()
- func (x *EthereumTypedDataStructAck_EthereumStructMember) String() string
- type EthereumTypedDataStructRequest
- func (*EthereumTypedDataStructRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumTypedDataStructRequest) GetName() string
- func (*EthereumTypedDataStructRequest) ProtoMessage()
- func (x *EthereumTypedDataStructRequest) ProtoReflect() protoreflect.Message
- func (x *EthereumTypedDataStructRequest) Reset()
- func (x *EthereumTypedDataStructRequest) String() string
- type EthereumTypedDataValueAck
- func (*EthereumTypedDataValueAck) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumTypedDataValueAck) GetValue() []byte
- func (*EthereumTypedDataValueAck) ProtoMessage()
- func (x *EthereumTypedDataValueAck) ProtoReflect() protoreflect.Message
- func (x *EthereumTypedDataValueAck) Reset()
- func (x *EthereumTypedDataValueAck) String() string
- type EthereumTypedDataValueRequest
- func (*EthereumTypedDataValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumTypedDataValueRequest) GetMemberPath() []uint32
- func (*EthereumTypedDataValueRequest) ProtoMessage()
- func (x *EthereumTypedDataValueRequest) ProtoReflect() protoreflect.Message
- func (x *EthereumTypedDataValueRequest) Reset()
- func (x *EthereumTypedDataValueRequest) String() string
- type EthereumVerifyMessage
- func (*EthereumVerifyMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EthereumVerifyMessage) GetAddress() string
- func (x *EthereumVerifyMessage) GetChunkify() bool
- func (x *EthereumVerifyMessage) GetMessage() []byte
- func (x *EthereumVerifyMessage) GetSignature() []byte
- func (*EthereumVerifyMessage) ProtoMessage()
- func (x *EthereumVerifyMessage) ProtoReflect() protoreflect.Message
- func (x *EthereumVerifyMessage) Reset()
- func (x *EthereumVerifyMessage) String() string
- type Failure
- type Failure_FailureType
- func (Failure_FailureType) Descriptor() protoreflect.EnumDescriptor
- func (x Failure_FailureType) Enum() *Failure_FailureType
- func (Failure_FailureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Failure_FailureType) Number() protoreflect.EnumNumber
- func (x Failure_FailureType) String() string
- func (Failure_FailureType) Type() protoreflect.EnumType
- func (x *Failure_FailureType) UnmarshalJSON(b []byte) errordeprecated
- type Features
- func (*Features) Descriptor() ([]byte, []int)deprecated
- func (x *Features) GetAutoLockDelayMs() uint32
- func (x *Features) GetBackupType() BackupType
- func (x *Features) GetBootloaderHash() []byte
- func (x *Features) GetBootloaderLocked() bool
- func (x *Features) GetBootloaderMode() bool
- func (x *Features) GetBusy() bool
- func (x *Features) GetCapabilities() []Features_Capability
- func (x *Features) GetDeviceId() string
- func (x *Features) GetDisplayRotation() uint32
- func (x *Features) GetExperimentalFeatures() bool
- func (x *Features) GetFirmwarePresent() bool
- func (x *Features) GetFlags() uint32
- func (x *Features) GetFwMajor() uint32
- func (x *Features) GetFwMinor() uint32
- func (x *Features) GetFwPatch() uint32
- func (x *Features) GetFwVendor() string
- func (x *Features) GetHidePassphraseFromHost() bool
- func (x *Features) GetHomescreenFormat() HomescreenFormat
- func (x *Features) GetHomescreenHeight() uint32
- func (x *Features) GetHomescreenWidth() uint32
- func (x *Features) GetImported() bool
- func (x *Features) GetInitialized() bool
- func (x *Features) GetInternalModel() string
- func (x *Features) GetLabel() string
- func (x *Features) GetLanguage() string
- func (x *Features) GetLanguageVersionMatches() bool
- func (x *Features) GetMajorVersion() uint32
- func (x *Features) GetMinorVersion() uint32
- func (x *Features) GetModel() string
- func (x *Features) GetNeedsBackup() bool
- func (x *Features) GetNoBackup() bool
- func (x *Features) GetPassphraseAlwaysOnDevice() bool
- func (x *Features) GetPassphraseProtection() bool
- func (x *Features) GetPatchVersion() uint32
- func (x *Features) GetPinProtection() bool
- func (x *Features) GetRecoveryMode() bool
- func (x *Features) GetRevision() []byte
- func (x *Features) GetSafetyChecks() SafetyCheckLevel
- func (x *Features) GetSdCardPresent() bool
- func (x *Features) GetSdProtection() bool
- func (x *Features) GetSessionId() []byte
- func (x *Features) GetUnfinishedBackup() bool
- func (x *Features) GetUnitBtconly() bool
- func (x *Features) GetUnitColor() uint32
- func (x *Features) GetUnlocked() bool
- func (x *Features) GetVendor() string
- func (x *Features) GetWipeCodeProtection() bool
- func (x *Features) GetXPassphraseCached() booldeprecated
- func (*Features) ProtoMessage()
- func (x *Features) ProtoReflect() protoreflect.Message
- func (x *Features) Reset()
- func (x *Features) String() string
- type Features_Capability
- func (Features_Capability) Descriptor() protoreflect.EnumDescriptor
- func (x Features_Capability) Enum() *Features_Capability
- func (Features_Capability) EnumDescriptor() ([]byte, []int)deprecated
- func (x Features_Capability) Number() protoreflect.EnumNumber
- func (x Features_Capability) String() string
- func (Features_Capability) Type() protoreflect.EnumType
- func (x *Features_Capability) UnmarshalJSON(b []byte) errordeprecated
- type FirmwareHash
- type GetECDHSessionKey
- func (*GetECDHSessionKey) Descriptor() ([]byte, []int)deprecated
- func (x *GetECDHSessionKey) GetEcdsaCurveName() string
- func (x *GetECDHSessionKey) GetIdentity() *IdentityType
- func (x *GetECDHSessionKey) GetPeerPublicKey() []byte
- func (*GetECDHSessionKey) ProtoMessage()
- func (x *GetECDHSessionKey) ProtoReflect() protoreflect.Message
- func (x *GetECDHSessionKey) Reset()
- func (x *GetECDHSessionKey) String() string
- type GetEntropy
- type GetFeatures
- type GetFirmwareHash
- type GetNextU2FCounter
- type GetNonce
- type HDNodeType
- func (*HDNodeType) Descriptor() ([]byte, []int)deprecated
- func (x *HDNodeType) GetChainCode() []byte
- func (x *HDNodeType) GetChildNum() uint32
- func (x *HDNodeType) GetDepth() uint32
- func (x *HDNodeType) GetFingerprint() uint32
- func (x *HDNodeType) GetPrivateKey() []byte
- func (x *HDNodeType) GetPublicKey() []byte
- func (*HDNodeType) ProtoMessage()
- func (x *HDNodeType) ProtoReflect() protoreflect.Message
- func (x *HDNodeType) Reset()
- func (x *HDNodeType) String() string
- type HomescreenFormat
- func (HomescreenFormat) Descriptor() protoreflect.EnumDescriptor
- func (x HomescreenFormat) Enum() *HomescreenFormat
- func (HomescreenFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x HomescreenFormat) Number() protoreflect.EnumNumber
- func (x HomescreenFormat) String() string
- func (HomescreenFormat) Type() protoreflect.EnumType
- func (x *HomescreenFormat) UnmarshalJSON(b []byte) errordeprecated
- type IdentityType
- func (*IdentityType) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityType) GetHost() string
- func (x *IdentityType) GetIndex() uint32
- func (x *IdentityType) GetPath() string
- func (x *IdentityType) GetPort() string
- func (x *IdentityType) GetProto() string
- func (x *IdentityType) GetUser() string
- func (*IdentityType) ProtoMessage()
- func (x *IdentityType) ProtoReflect() protoreflect.Message
- func (x *IdentityType) Reset()
- func (x *IdentityType) String() string
- type Initialize
- func (*Initialize) Descriptor() ([]byte, []int)deprecated
- func (x *Initialize) GetDeriveCardano() bool
- func (x *Initialize) GetSessionId() []byte
- func (x *Initialize) GetXSkipPassphrase() booldeprecated
- func (*Initialize) ProtoMessage()
- func (x *Initialize) ProtoReflect() protoreflect.Message
- func (x *Initialize) Reset()
- func (x *Initialize) String() string
- type LoadDevice
- func (*LoadDevice) Descriptor() ([]byte, []int)deprecated
- func (x *LoadDevice) GetLabel() string
- func (x *LoadDevice) GetLanguage() stringdeprecated
- func (x *LoadDevice) GetMnemonics() []string
- func (x *LoadDevice) GetNeedsBackup() bool
- func (x *LoadDevice) GetNoBackup() bool
- func (x *LoadDevice) GetPassphraseProtection() bool
- func (x *LoadDevice) GetPin() string
- func (x *LoadDevice) GetSkipChecksum() bool
- func (x *LoadDevice) GetU2FCounter() uint32
- func (*LoadDevice) ProtoMessage()
- func (x *LoadDevice) ProtoReflect() protoreflect.Message
- func (x *LoadDevice) Reset()
- func (x *LoadDevice) String() string
- type LockDevice
- type MessageType
- func (MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x MessageType) Enum() *MessageType
- func (MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageType) Number() protoreflect.EnumNumber
- func (x MessageType) String() string
- func (MessageType) Type() protoreflect.EnumType
- func (x *MessageType) UnmarshalJSON(b []byte) errordeprecated
- type NextU2FCounter
- type Nonce
- type PassphraseAck
- func (*PassphraseAck) Descriptor() ([]byte, []int)deprecated
- func (x *PassphraseAck) GetOnDevice() bool
- func (x *PassphraseAck) GetPassphrase() string
- func (x *PassphraseAck) GetXState() []bytedeprecated
- func (*PassphraseAck) ProtoMessage()
- func (x *PassphraseAck) ProtoReflect() protoreflect.Message
- func (x *PassphraseAck) Reset()
- func (x *PassphraseAck) String() string
- type PassphraseRequest
- func (*PassphraseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PassphraseRequest) GetXOnDevice() booldeprecated
- func (*PassphraseRequest) ProtoMessage()
- func (x *PassphraseRequest) ProtoReflect() protoreflect.Message
- func (x *PassphraseRequest) Reset()
- func (x *PassphraseRequest) String() string
- type PinMatrixAck
- type PinMatrixRequest
- func (*PinMatrixRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PinMatrixRequest) GetType() PinMatrixRequest_PinMatrixRequestType
- func (*PinMatrixRequest) ProtoMessage()
- func (x *PinMatrixRequest) ProtoReflect() protoreflect.Message
- func (x *PinMatrixRequest) Reset()
- func (x *PinMatrixRequest) String() string
- type PinMatrixRequest_PinMatrixRequestType
- func (PinMatrixRequest_PinMatrixRequestType) Descriptor() protoreflect.EnumDescriptor
- func (x PinMatrixRequest_PinMatrixRequestType) Enum() *PinMatrixRequest_PinMatrixRequestType
- func (PinMatrixRequest_PinMatrixRequestType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PinMatrixRequest_PinMatrixRequestType) Number() protoreflect.EnumNumber
- func (x PinMatrixRequest_PinMatrixRequestType) String() string
- func (PinMatrixRequest_PinMatrixRequestType) Type() protoreflect.EnumType
- func (x *PinMatrixRequest_PinMatrixRequestType) UnmarshalJSON(b []byte) errordeprecated
- type Ping
- type PreauthorizedRequest
- type RebootToBootloader
- func (*RebootToBootloader) Descriptor() ([]byte, []int)deprecated
- func (x *RebootToBootloader) GetBootCommand() RebootToBootloader_BootCommand
- func (x *RebootToBootloader) GetFirmwareHeader() []byte
- func (x *RebootToBootloader) GetLanguageDataLength() uint32
- func (*RebootToBootloader) ProtoMessage()
- func (x *RebootToBootloader) ProtoReflect() protoreflect.Message
- func (x *RebootToBootloader) Reset()
- func (x *RebootToBootloader) String() string
- type RebootToBootloader_BootCommand
- func (RebootToBootloader_BootCommand) Descriptor() protoreflect.EnumDescriptor
- func (x RebootToBootloader_BootCommand) Enum() *RebootToBootloader_BootCommand
- func (RebootToBootloader_BootCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x RebootToBootloader_BootCommand) Number() protoreflect.EnumNumber
- func (x RebootToBootloader_BootCommand) String() string
- func (RebootToBootloader_BootCommand) Type() protoreflect.EnumType
- func (x *RebootToBootloader_BootCommand) UnmarshalJSON(b []byte) errordeprecated
- type RecoveryDevice
- func (*RecoveryDevice) Descriptor() ([]byte, []int)deprecated
- func (x *RecoveryDevice) GetDryRun() bool
- func (x *RecoveryDevice) GetEnforceWordlist() bool
- func (x *RecoveryDevice) GetLabel() string
- func (x *RecoveryDevice) GetLanguage() stringdeprecated
- func (x *RecoveryDevice) GetPassphraseProtection() bool
- func (x *RecoveryDevice) GetPinProtection() bool
- func (x *RecoveryDevice) GetType() RecoveryDevice_RecoveryDeviceType
- func (x *RecoveryDevice) GetU2FCounter() uint32
- func (x *RecoveryDevice) GetWordCount() uint32
- func (*RecoveryDevice) ProtoMessage()
- func (x *RecoveryDevice) ProtoReflect() protoreflect.Message
- func (x *RecoveryDevice) Reset()
- func (x *RecoveryDevice) String() string
- type RecoveryDevice_RecoveryDeviceType
- func (RecoveryDevice_RecoveryDeviceType) Descriptor() protoreflect.EnumDescriptor
- func (x RecoveryDevice_RecoveryDeviceType) Enum() *RecoveryDevice_RecoveryDeviceType
- func (RecoveryDevice_RecoveryDeviceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RecoveryDevice_RecoveryDeviceType) Number() protoreflect.EnumNumber
- func (x RecoveryDevice_RecoveryDeviceType) String() string
- func (RecoveryDevice_RecoveryDeviceType) Type() protoreflect.EnumType
- func (x *RecoveryDevice_RecoveryDeviceType) UnmarshalJSON(b []byte) errordeprecated
- type ResetDevice
- func (*ResetDevice) Descriptor() ([]byte, []int)deprecated
- func (x *ResetDevice) GetBackupType() BackupType
- func (x *ResetDevice) GetDisplayRandom() bool
- func (x *ResetDevice) GetLabel() string
- func (x *ResetDevice) GetLanguage() stringdeprecated
- func (x *ResetDevice) GetNoBackup() bool
- func (x *ResetDevice) GetPassphraseProtection() bool
- func (x *ResetDevice) GetPinProtection() bool
- func (x *ResetDevice) GetSkipBackup() bool
- func (x *ResetDevice) GetStrength() uint32
- func (x *ResetDevice) GetU2FCounter() uint32
- func (*ResetDevice) ProtoMessage()
- func (x *ResetDevice) ProtoReflect() protoreflect.Message
- func (x *ResetDevice) Reset()
- func (x *ResetDevice) String() string
- type SafetyCheckLevel
- func (SafetyCheckLevel) Descriptor() protoreflect.EnumDescriptor
- func (x SafetyCheckLevel) Enum() *SafetyCheckLevel
- func (SafetyCheckLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x SafetyCheckLevel) Number() protoreflect.EnumNumber
- func (x SafetyCheckLevel) String() string
- func (SafetyCheckLevel) Type() protoreflect.EnumType
- func (x *SafetyCheckLevel) UnmarshalJSON(b []byte) errordeprecated
- type SdProtect
- type SdProtect_SdProtectOperationType
- func (SdProtect_SdProtectOperationType) Descriptor() protoreflect.EnumDescriptor
- func (x SdProtect_SdProtectOperationType) Enum() *SdProtect_SdProtectOperationType
- func (SdProtect_SdProtectOperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SdProtect_SdProtectOperationType) Number() protoreflect.EnumNumber
- func (x SdProtect_SdProtectOperationType) String() string
- func (SdProtect_SdProtectOperationType) Type() protoreflect.EnumType
- func (x *SdProtect_SdProtectOperationType) UnmarshalJSON(b []byte) errordeprecated
- type SetBusy
- type SetU2FCounter
- type ShowDeviceTutorial
- type SignIdentity
- func (*SignIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *SignIdentity) GetChallengeHidden() []byte
- func (x *SignIdentity) GetChallengeVisual() string
- func (x *SignIdentity) GetEcdsaCurveName() string
- func (x *SignIdentity) GetIdentity() *IdentityType
- func (*SignIdentity) ProtoMessage()
- func (x *SignIdentity) ProtoReflect() protoreflect.Message
- func (x *SignIdentity) Reset()
- func (x *SignIdentity) String() string
- type SignedIdentity
- func (*SignedIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *SignedIdentity) GetAddress() string
- func (x *SignedIdentity) GetPublicKey() []byte
- func (x *SignedIdentity) GetSignature() []byte
- func (*SignedIdentity) ProtoMessage()
- func (x *SignedIdentity) ProtoReflect() protoreflect.Message
- func (x *SignedIdentity) Reset()
- func (x *SignedIdentity) String() string
- type Success
- type TranslationDataAck
- func (*TranslationDataAck) Descriptor() ([]byte, []int)deprecated
- func (x *TranslationDataAck) GetDataChunk() []byte
- func (*TranslationDataAck) ProtoMessage()
- func (x *TranslationDataAck) ProtoReflect() protoreflect.Message
- func (x *TranslationDataAck) Reset()
- func (x *TranslationDataAck) String() string
- type TranslationDataRequest
- func (*TranslationDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TranslationDataRequest) GetDataLength() uint32
- func (x *TranslationDataRequest) GetDataOffset() uint32
- func (*TranslationDataRequest) ProtoMessage()
- func (x *TranslationDataRequest) ProtoReflect() protoreflect.Message
- func (x *TranslationDataRequest) Reset()
- func (x *TranslationDataRequest) String() string
- type UnlockBootloader
- type UnlockPath
- type UnlockedPathRequest
- func (*UnlockedPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockedPathRequest) GetMac() []byte
- func (*UnlockedPathRequest) ProtoMessage()
- func (x *UnlockedPathRequest) ProtoReflect() protoreflect.Message
- func (x *UnlockedPathRequest) Reset()
- func (x *UnlockedPathRequest) String() string
- type WebAuthnAddResidentCredential
- func (*WebAuthnAddResidentCredential) Descriptor() ([]byte, []int)deprecated
- func (x *WebAuthnAddResidentCredential) GetCredentialId() []byte
- func (*WebAuthnAddResidentCredential) ProtoMessage()
- func (x *WebAuthnAddResidentCredential) ProtoReflect() protoreflect.Message
- func (x *WebAuthnAddResidentCredential) Reset()
- func (x *WebAuthnAddResidentCredential) String() string
- type WebAuthnCredentials
- func (*WebAuthnCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *WebAuthnCredentials) GetCredentials() []*WebAuthnCredentials_WebAuthnCredential
- func (*WebAuthnCredentials) ProtoMessage()
- func (x *WebAuthnCredentials) ProtoReflect() protoreflect.Message
- func (x *WebAuthnCredentials) Reset()
- func (x *WebAuthnCredentials) String() string
- type WebAuthnCredentials_WebAuthnCredential
- func (*WebAuthnCredentials_WebAuthnCredential) Descriptor() ([]byte, []int)deprecated
- func (x *WebAuthnCredentials_WebAuthnCredential) GetAlgorithm() int32
- func (x *WebAuthnCredentials_WebAuthnCredential) GetCreationTime() uint32
- func (x *WebAuthnCredentials_WebAuthnCredential) GetCurve() int32
- func (x *WebAuthnCredentials_WebAuthnCredential) GetHmacSecret() bool
- func (x *WebAuthnCredentials_WebAuthnCredential) GetId() []byte
- func (x *WebAuthnCredentials_WebAuthnCredential) GetIndex() uint32
- func (x *WebAuthnCredentials_WebAuthnCredential) GetRpId() string
- func (x *WebAuthnCredentials_WebAuthnCredential) GetRpName() string
- func (x *WebAuthnCredentials_WebAuthnCredential) GetUseSignCount() bool
- func (x *WebAuthnCredentials_WebAuthnCredential) GetUserDisplayName() string
- func (x *WebAuthnCredentials_WebAuthnCredential) GetUserId() []byte
- func (x *WebAuthnCredentials_WebAuthnCredential) GetUserName() string
- func (*WebAuthnCredentials_WebAuthnCredential) ProtoMessage()
- func (x *WebAuthnCredentials_WebAuthnCredential) ProtoReflect() protoreflect.Message
- func (x *WebAuthnCredentials_WebAuthnCredential) Reset()
- func (x *WebAuthnCredentials_WebAuthnCredential) String() string
- type WebAuthnListResidentCredentials
- func (*WebAuthnListResidentCredentials) Descriptor() ([]byte, []int)deprecated
- func (*WebAuthnListResidentCredentials) ProtoMessage()
- func (x *WebAuthnListResidentCredentials) ProtoReflect() protoreflect.Message
- func (x *WebAuthnListResidentCredentials) Reset()
- func (x *WebAuthnListResidentCredentials) String() string
- type WebAuthnRemoveResidentCredential
- func (*WebAuthnRemoveResidentCredential) Descriptor() ([]byte, []int)deprecated
- func (x *WebAuthnRemoveResidentCredential) GetIndex() uint32
- func (*WebAuthnRemoveResidentCredential) ProtoMessage()
- func (x *WebAuthnRemoveResidentCredential) ProtoReflect() protoreflect.Message
- func (x *WebAuthnRemoveResidentCredential) Reset()
- func (x *WebAuthnRemoveResidentCredential) String() string
- type WipeDevice
- type WordAck
- type WordRequest
- type WordRequest_WordRequestType
- func (WordRequest_WordRequestType) Descriptor() protoreflect.EnumDescriptor
- func (x WordRequest_WordRequestType) Enum() *WordRequest_WordRequestType
- func (WordRequest_WordRequestType) EnumDescriptor() ([]byte, []int)deprecated
- func (x WordRequest_WordRequestType) Number() protoreflect.EnumNumber
- func (x WordRequest_WordRequestType) String() string
- func (WordRequest_WordRequestType) Type() protoreflect.EnumType
- func (x *WordRequest_WordRequestType) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
const ( Default_EthereumSignTx_To = string("") Default_EthereumSignTx_DataLength = uint32(0) )
Default values for EthereumSignTx fields.
const ( Default_ResetDevice_Strength = uint32(256) Default_ResetDevice_BackupType = BackupType_Bip39 )
Default values for ResetDevice fields.
const ( Default_RebootToBootloader_BootCommand = RebootToBootloader_STOP_AND_WAIT Default_RebootToBootloader_LanguageDataLength = uint32(0) )
Default values for RebootToBootloader fields.
const (
Default_DebugLinkRecordScreen_RefreshIndex = uint32(0)
)
Default values for DebugLinkRecordScreen fields.
const (
Default_EthereumSignTxEIP1559_To = string("")
)
Default values for EthereumSignTxEIP1559 fields.
const (
Default_EthereumSignTypedData_MetamaskV4Compat = bool(true)
)
Default values for EthereumSignTypedData fields.
const (
Default_Features_LanguageVersionMatches = bool(true)
)
Default values for Features fields.
const (
Default_IdentityType_Index = uint32(0)
)
Default values for IdentityType fields.
const (
Default_Ping_Message = string("")
)
Default values for Ping fields.
const (
Default_SignIdentity_ChallengeVisual = string("")
)
Default values for SignIdentity fields.
const (
Default_Success_Message = string("")
)
Default values for Success fields.
Variables ¶
var ( Failure_FailureType_name = map[int32]string{ 1: "Failure_UnexpectedMessage", 2: "Failure_ButtonExpected", 3: "Failure_DataError", 4: "Failure_ActionCancelled", 5: "Failure_PinExpected", 6: "Failure_PinCancelled", 7: "Failure_PinInvalid", 8: "Failure_InvalidSignature", 9: "Failure_ProcessError", 10: "Failure_NotEnoughFunds", 11: "Failure_NotInitialized", 12: "Failure_PinMismatch", 13: "Failure_WipeCodeMismatch", 14: "Failure_InvalidSession", 99: "Failure_FirmwareError", } Failure_FailureType_value = map[string]int32{ "Failure_UnexpectedMessage": 1, "Failure_ButtonExpected": 2, "Failure_DataError": 3, "Failure_ActionCancelled": 4, "Failure_PinExpected": 5, "Failure_PinCancelled": 6, "Failure_PinInvalid": 7, "Failure_InvalidSignature": 8, "Failure_ProcessError": 9, "Failure_NotEnoughFunds": 10, "Failure_NotInitialized": 11, "Failure_PinMismatch": 12, "Failure_WipeCodeMismatch": 13, "Failure_InvalidSession": 14, "Failure_FirmwareError": 99, } )
Enum value maps for Failure_FailureType.
var ( ButtonRequest_ButtonRequestType_name = map[int32]string{ 1: "ButtonRequest_Other", 2: "ButtonRequest_FeeOverThreshold", 3: "ButtonRequest_ConfirmOutput", 4: "ButtonRequest_ResetDevice", 5: "ButtonRequest_ConfirmWord", 6: "ButtonRequest_WipeDevice", 7: "ButtonRequest_ProtectCall", 8: "ButtonRequest_SignTx", 9: "ButtonRequest_FirmwareCheck", 10: "ButtonRequest_Address", 11: "ButtonRequest_PublicKey", 12: "ButtonRequest_MnemonicWordCount", 13: "ButtonRequest_MnemonicInput", 14: "_Deprecated_ButtonRequest_PassphraseType", 15: "ButtonRequest_UnknownDerivationPath", 16: "ButtonRequest_RecoveryHomepage", 17: "ButtonRequest_Success", 18: "ButtonRequest_Warning", 19: "ButtonRequest_PassphraseEntry", 20: "ButtonRequest_PinEntry", } ButtonRequest_ButtonRequestType_value = map[string]int32{ "ButtonRequest_Other": 1, "ButtonRequest_FeeOverThreshold": 2, "ButtonRequest_ConfirmOutput": 3, "ButtonRequest_ResetDevice": 4, "ButtonRequest_ConfirmWord": 5, "ButtonRequest_WipeDevice": 6, "ButtonRequest_ProtectCall": 7, "ButtonRequest_SignTx": 8, "ButtonRequest_FirmwareCheck": 9, "ButtonRequest_Address": 10, "ButtonRequest_PublicKey": 11, "ButtonRequest_MnemonicWordCount": 12, "ButtonRequest_MnemonicInput": 13, "_Deprecated_ButtonRequest_PassphraseType": 14, "ButtonRequest_UnknownDerivationPath": 15, "ButtonRequest_RecoveryHomepage": 16, "ButtonRequest_Success": 17, "ButtonRequest_Warning": 18, "ButtonRequest_PassphraseEntry": 19, "ButtonRequest_PinEntry": 20, } )
Enum value maps for ButtonRequest_ButtonRequestType.
var ( PinMatrixRequest_PinMatrixRequestType_name = map[int32]string{ 1: "PinMatrixRequestType_Current", 2: "PinMatrixRequestType_NewFirst", 3: "PinMatrixRequestType_NewSecond", 4: "PinMatrixRequestType_WipeCodeFirst", 5: "PinMatrixRequestType_WipeCodeSecond", } PinMatrixRequest_PinMatrixRequestType_value = map[string]int32{ "PinMatrixRequestType_Current": 1, "PinMatrixRequestType_NewFirst": 2, "PinMatrixRequestType_NewSecond": 3, "PinMatrixRequestType_WipeCodeFirst": 4, "PinMatrixRequestType_WipeCodeSecond": 5, } )
Enum value maps for PinMatrixRequest_PinMatrixRequestType.
var ( DebugLinkDecision_DebugSwipeDirection_name = map[int32]string{ 0: "UP", 1: "DOWN", 2: "LEFT", 3: "RIGHT", } DebugLinkDecision_DebugSwipeDirection_value = map[string]int32{ "UP": 0, "DOWN": 1, "LEFT": 2, "RIGHT": 3, } )
Enum value maps for DebugLinkDecision_DebugSwipeDirection.
var ( DebugLinkDecision_DebugButton_name = map[int32]string{ 0: "NO", 1: "YES", 2: "INFO", } DebugLinkDecision_DebugButton_value = map[string]int32{ "NO": 0, "YES": 1, "INFO": 2, } )
Enum value maps for DebugLinkDecision_DebugButton.
var ( DebugLinkDecision_DebugPhysicalButton_name = map[int32]string{ 0: "LEFT_BTN", 1: "MIDDLE_BTN", 2: "RIGHT_BTN", } DebugLinkDecision_DebugPhysicalButton_value = map[string]int32{ "LEFT_BTN": 0, "MIDDLE_BTN": 1, "RIGHT_BTN": 2, } )
Enum value maps for DebugLinkDecision_DebugPhysicalButton.
var ( EthereumDefinitionType_name = map[int32]string{ 0: "NETWORK", 1: "TOKEN", } EthereumDefinitionType_value = map[string]int32{ "NETWORK": 0, "TOKEN": 1, } )
Enum value maps for EthereumDefinitionType.
var ( EthereumTypedDataStructAck_EthereumDataType_name = map[int32]string{ 1: "UINT", 2: "INT", 3: "BYTES", 4: "STRING", 5: "BOOL", 6: "ADDRESS", 7: "ARRAY", 8: "STRUCT", } EthereumTypedDataStructAck_EthereumDataType_value = map[string]int32{ "UINT": 1, "INT": 2, "BYTES": 3, "STRING": 4, "BOOL": 5, "ADDRESS": 6, "ARRAY": 7, "STRUCT": 8, } )
Enum value maps for EthereumTypedDataStructAck_EthereumDataType.
var ( Default_EthereumSignTx_Nonce = []byte("") Default_EthereumSignTx_Value = []byte("") Default_EthereumSignTx_DataInitialChunk = []byte("") )
Default values for EthereumSignTx fields.
var ( MessageType_name = map[int32]string{}/* 243 elements not displayed */ MessageType_value = map[string]int32{}/* 243 elements not displayed */ )
Enum value maps for MessageType.
var ( // optional bool wire_in = 50002; E_WireIn = &file_messages_proto_extTypes[0] // message can be transmitted via wire from PC to Trezor // optional bool wire_out = 50003; E_WireOut = &file_messages_proto_extTypes[1] // message can be transmitted via wire from Trezor to PC // optional bool wire_debug_in = 50004; E_WireDebugIn = &file_messages_proto_extTypes[2] // message can be transmitted via debug wire from PC to Trezor // optional bool wire_debug_out = 50005; E_WireDebugOut = &file_messages_proto_extTypes[3] // message can be transmitted via debug wire from Trezor to PC // optional bool wire_tiny = 50006; E_WireTiny = &file_messages_proto_extTypes[4] // message is handled by Trezor when the USB stack is in tiny mode // optional bool wire_bootloader = 50007; E_WireBootloader = &file_messages_proto_extTypes[5] // message is only handled by Trezor Bootloader // optional bool wire_no_fsm = 50008; E_WireNoFsm = &file_messages_proto_extTypes[6] // message is not handled by Trezor unless the USB stack is in tiny mode // optional bool bitcoin_only = 60000; E_BitcoinOnly = &file_messages_proto_extTypes[7] // enum value is available on BITCOIN_ONLY build )
Extension fields to descriptorpb.EnumValueOptions.
var ( // optional bool experimental_message = 52001; E_ExperimentalMessage = &file_messages_proto_extTypes[9] // indicate that a message is intended for development and beta testing only and its definition may change at any time // optional uint32 wire_type = 52002; E_WireType = &file_messages_proto_extTypes[10] // override wire type specified in the MessageType enum )
Extension fields to descriptorpb.MessageOptions.
var ( BackupType_name = map[int32]string{ 0: "Bip39", 1: "Slip39_Basic", 2: "Slip39_Advanced", } BackupType_value = map[string]int32{ "Bip39": 0, "Slip39_Basic": 1, "Slip39_Advanced": 2, } )
Enum value maps for BackupType.
var ( SafetyCheckLevel_name = map[int32]string{ 0: "Strict", 1: "PromptAlways", 2: "PromptTemporarily", } SafetyCheckLevel_value = map[string]int32{ "Strict": 0, "PromptAlways": 1, "PromptTemporarily": 2, } )
Enum value maps for SafetyCheckLevel.
var ( HomescreenFormat_name = map[int32]string{ 1: "Toif", 2: "Jpeg", 3: "ToiG", } HomescreenFormat_value = map[string]int32{ "Toif": 1, "Jpeg": 2, "ToiG": 3, } )
Enum value maps for HomescreenFormat.
var ( Features_Capability_name = map[int32]string{ 1: "Capability_Bitcoin", 2: "Capability_Bitcoin_like", 3: "Capability_Binance", 4: "Capability_Cardano", 5: "Capability_Crypto", 6: "Capability_EOS", 7: "Capability_Ethereum", 8: "Capability_Lisk", 9: "Capability_Monero", 10: "Capability_NEM", 11: "Capability_Ripple", 12: "Capability_Stellar", 13: "Capability_Tezos", 14: "Capability_U2F", 15: "Capability_Shamir", 16: "Capability_ShamirGroups", 17: "Capability_PassphraseEntry", 18: "Capability_Solana", 19: "Capability_Translations", } Features_Capability_value = map[string]int32{ "Capability_Bitcoin": 1, "Capability_Bitcoin_like": 2, "Capability_Binance": 3, "Capability_Cardano": 4, "Capability_Crypto": 5, "Capability_EOS": 6, "Capability_Ethereum": 7, "Capability_Lisk": 8, "Capability_Monero": 9, "Capability_NEM": 10, "Capability_Ripple": 11, "Capability_Stellar": 12, "Capability_Tezos": 13, "Capability_U2F": 14, "Capability_Shamir": 15, "Capability_ShamirGroups": 16, "Capability_PassphraseEntry": 17, "Capability_Solana": 18, "Capability_Translations": 19, } )
Enum value maps for Features_Capability.
var ( SdProtect_SdProtectOperationType_name = map[int32]string{ 0: "DISABLE", 1: "ENABLE", 2: "REFRESH", } SdProtect_SdProtectOperationType_value = map[string]int32{ "DISABLE": 0, "ENABLE": 1, "REFRESH": 2, } )
Enum value maps for SdProtect_SdProtectOperationType.
var ( RecoveryDevice_RecoveryDeviceType_name = map[int32]string{ 0: "RecoveryDeviceType_ScrambledWords", 1: "RecoveryDeviceType_Matrix", } RecoveryDevice_RecoveryDeviceType_value = map[string]int32{ "RecoveryDeviceType_ScrambledWords": 0, "RecoveryDeviceType_Matrix": 1, } )
Enum value maps for RecoveryDevice_RecoveryDeviceType.
var ( WordRequest_WordRequestType_name = map[int32]string{ 0: "WordRequestType_Plain", 1: "WordRequestType_Matrix9", 2: "WordRequestType_Matrix6", } WordRequest_WordRequestType_value = map[string]int32{ "WordRequestType_Plain": 0, "WordRequestType_Matrix9": 1, "WordRequestType_Matrix6": 2, } )
Enum value maps for WordRequest_WordRequestType.
var ( RebootToBootloader_BootCommand_name = map[int32]string{ 0: "STOP_AND_WAIT", 1: "INSTALL_UPGRADE", } RebootToBootloader_BootCommand_value = map[string]int32{ "STOP_AND_WAIT": 0, "INSTALL_UPGRADE": 1, } )
Enum value maps for RebootToBootloader_BootCommand.
var (
Default_EthereumSignTxEIP1559_DataInitialChunk = []byte("")
)
Default values for EthereumSignTxEIP1559 fields.
var (
Default_SignIdentity_ChallengeHidden = []byte("")
)
Default values for SignIdentity fields.
var ( // optional bool experimental_field = 53001; E_ExperimentalField = &file_messages_proto_extTypes[11] // indicate that a field is intended for development and beta testing only )
Extension fields to descriptorpb.FieldOptions.
var ( // optional bool has_bitcoin_only_values = 51001; E_HasBitcoinOnlyValues = &file_messages_proto_extTypes[8] // indicate that some values should be excluded on BITCOIN_ONLY builds )
Extension fields to descriptorpb.EnumOptions.
var ( // optional bool include_in_bitcoin_only = 60000; E_IncludeInBitcoinOnly = &file_messages_proto_extTypes[12] // definitions are available on BITCOIN_ONLY build )
Extension fields to descriptorpb.FileOptions.
var File_messages_common_proto protoreflect.FileDescriptor
var File_messages_crypto_proto protoreflect.FileDescriptor
var File_messages_debug_proto protoreflect.FileDescriptor
var File_messages_ethereum_definitions_proto protoreflect.FileDescriptor
var File_messages_ethereum_eip712_proto protoreflect.FileDescriptor
var File_messages_ethereum_proto protoreflect.FileDescriptor
var File_messages_management_proto protoreflect.FileDescriptor
var File_messages_proto protoreflect.FileDescriptor
var File_messages_webauthn_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type ApplyFlags ¶
type ApplyFlags struct { Flags *uint32 `protobuf:"varint,1,req,name=flags" json:"flags,omitempty"` // bitmask, can only set bits, not unset // contains filtered or unexported fields }
* Request: set flags of the device @start @next Success @next Failure
func (*ApplyFlags) Descriptor
deprecated
func (*ApplyFlags) Descriptor() ([]byte, []int)
Deprecated: Use ApplyFlags.ProtoReflect.Descriptor instead.
func (*ApplyFlags) GetFlags ¶
func (x *ApplyFlags) GetFlags() uint32
func (*ApplyFlags) ProtoMessage ¶
func (*ApplyFlags) ProtoMessage()
func (*ApplyFlags) ProtoReflect ¶
func (x *ApplyFlags) ProtoReflect() protoreflect.Message
func (*ApplyFlags) Reset ¶
func (x *ApplyFlags) Reset()
func (*ApplyFlags) String ¶
func (x *ApplyFlags) String() string
type ApplySettings ¶
type ApplySettings struct { // Deprecated: Marked as deprecated in messages-management.proto. Language *string `protobuf:"bytes,1,opt,name=language" json:"language,omitempty"` Label *string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"` UsePassphrase *bool `protobuf:"varint,3,opt,name=use_passphrase,json=usePassphrase" json:"use_passphrase,omitempty"` Homescreen []byte `protobuf:"bytes,4,opt,name=homescreen" json:"homescreen,omitempty"` // Deprecated: Marked as deprecated in messages-management.proto. XPassphraseSource *uint32 `protobuf:"varint,5,opt,name=_passphrase_source,json=PassphraseSource" json:"_passphrase_source,omitempty"` // ASK = 0; DEVICE = 1; HOST = 2; AutoLockDelayMs *uint32 `protobuf:"varint,6,opt,name=auto_lock_delay_ms,json=autoLockDelayMs" json:"auto_lock_delay_ms,omitempty"` DisplayRotation *uint32 `protobuf:"varint,7,opt,name=display_rotation,json=displayRotation" json:"display_rotation,omitempty"` // in degrees from North PassphraseAlwaysOnDevice *bool `` // do not prompt for passphrase, enforce device entry /* 131-byte string literal not displayed */ SafetyChecks *SafetyCheckLevel `` // Safety check level, set to Prompt to limit path namespace enforcement /* 143-byte string literal not displayed */ ExperimentalFeatures *bool `protobuf:"varint,10,opt,name=experimental_features,json=experimentalFeatures" json:"experimental_features,omitempty"` // enable experimental message types HidePassphraseFromHost *bool `` // do not show passphrase coming from host /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
* Request: change some property of the device, e.g. label or homescreen @start @next Success @next Failure
func (*ApplySettings) Descriptor
deprecated
func (*ApplySettings) Descriptor() ([]byte, []int)
Deprecated: Use ApplySettings.ProtoReflect.Descriptor instead.
func (*ApplySettings) GetAutoLockDelayMs ¶
func (x *ApplySettings) GetAutoLockDelayMs() uint32
func (*ApplySettings) GetDisplayRotation ¶
func (x *ApplySettings) GetDisplayRotation() uint32
func (*ApplySettings) GetExperimentalFeatures ¶
func (x *ApplySettings) GetExperimentalFeatures() bool
func (*ApplySettings) GetHidePassphraseFromHost ¶
func (x *ApplySettings) GetHidePassphraseFromHost() bool
func (*ApplySettings) GetHomescreen ¶
func (x *ApplySettings) GetHomescreen() []byte
func (*ApplySettings) GetLabel ¶
func (x *ApplySettings) GetLabel() string
func (*ApplySettings) GetLanguage
deprecated
func (x *ApplySettings) GetLanguage() string
Deprecated: Marked as deprecated in messages-management.proto.
func (*ApplySettings) GetPassphraseAlwaysOnDevice ¶
func (x *ApplySettings) GetPassphraseAlwaysOnDevice() bool
func (*ApplySettings) GetSafetyChecks ¶
func (x *ApplySettings) GetSafetyChecks() SafetyCheckLevel
func (*ApplySettings) GetUsePassphrase ¶
func (x *ApplySettings) GetUsePassphrase() bool
func (*ApplySettings) GetXPassphraseSource
deprecated
func (x *ApplySettings) GetXPassphraseSource() uint32
Deprecated: Marked as deprecated in messages-management.proto.
func (*ApplySettings) ProtoMessage ¶
func (*ApplySettings) ProtoMessage()
func (*ApplySettings) ProtoReflect ¶
func (x *ApplySettings) ProtoReflect() protoreflect.Message
func (*ApplySettings) Reset ¶
func (x *ApplySettings) Reset()
func (*ApplySettings) String ¶
func (x *ApplySettings) String() string
type AuthenticateDevice ¶
type AuthenticateDevice struct { Challenge []byte `protobuf:"bytes,1,req,name=challenge" json:"challenge,omitempty"` // A random challenge to sign. // contains filtered or unexported fields }
* Request: Request a signature of the provided challenge. @start @next AuthenticityProof @next Failure
func (*AuthenticateDevice) Descriptor
deprecated
func (*AuthenticateDevice) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateDevice.ProtoReflect.Descriptor instead.
func (*AuthenticateDevice) GetChallenge ¶
func (x *AuthenticateDevice) GetChallenge() []byte
func (*AuthenticateDevice) ProtoMessage ¶
func (*AuthenticateDevice) ProtoMessage()
func (*AuthenticateDevice) ProtoReflect ¶
func (x *AuthenticateDevice) ProtoReflect() protoreflect.Message
func (*AuthenticateDevice) Reset ¶
func (x *AuthenticateDevice) Reset()
func (*AuthenticateDevice) String ¶
func (x *AuthenticateDevice) String() string
type AuthenticityProof ¶
type AuthenticityProof struct { Certificates [][]byte `protobuf:"bytes,1,rep,name=certificates" json:"certificates,omitempty"` // A certificate chain starting with the device certificate, followed by intermediate CA certificates, the last of which is signed by Trezor company's root CA. Signature []byte `protobuf:"bytes,2,req,name=signature" json:"signature,omitempty"` // A DER-encoded signature of "\0x13AuthenticateDevice:" + length-prefixed challenge that should be verified using the device certificate. // contains filtered or unexported fields }
* Response: Signature of the provided challenge along with a certificate issued by the Trezor company. @end
func (*AuthenticityProof) Descriptor
deprecated
func (*AuthenticityProof) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticityProof.ProtoReflect.Descriptor instead.
func (*AuthenticityProof) GetCertificates ¶
func (x *AuthenticityProof) GetCertificates() [][]byte
func (*AuthenticityProof) GetSignature ¶
func (x *AuthenticityProof) GetSignature() []byte
func (*AuthenticityProof) ProtoMessage ¶
func (*AuthenticityProof) ProtoMessage()
func (*AuthenticityProof) ProtoReflect ¶
func (x *AuthenticityProof) ProtoReflect() protoreflect.Message
func (*AuthenticityProof) Reset ¶
func (x *AuthenticityProof) Reset()
func (*AuthenticityProof) String ¶
func (x *AuthenticityProof) String() string
type BackupDevice ¶
type BackupDevice struct {
// contains filtered or unexported fields
}
* Request: Perform backup of the device seed if not backed up using ResetDevice @start @next Success
func (*BackupDevice) Descriptor
deprecated
func (*BackupDevice) Descriptor() ([]byte, []int)
Deprecated: Use BackupDevice.ProtoReflect.Descriptor instead.
func (*BackupDevice) ProtoMessage ¶
func (*BackupDevice) ProtoMessage()
func (*BackupDevice) ProtoReflect ¶
func (x *BackupDevice) ProtoReflect() protoreflect.Message
func (*BackupDevice) Reset ¶
func (x *BackupDevice) Reset()
func (*BackupDevice) String ¶
func (x *BackupDevice) String() string
type BackupType ¶
type BackupType int32
* Type of the mnemonic backup given/received by the device during reset/recovery.
const ( BackupType_Bip39 BackupType = 0 // also called "Single Backup", see BIP-0039 BackupType_Slip39_Basic BackupType = 1 // also called "Shamir Backup", see SLIP-0039 BackupType_Slip39_Advanced BackupType = 2 // also called "Super Shamir" or "Shamir with Groups", see SLIP-0039#two-level-scheme )
func (BackupType) Descriptor ¶
func (BackupType) Descriptor() protoreflect.EnumDescriptor
func (BackupType) Enum ¶
func (x BackupType) Enum() *BackupType
func (BackupType) EnumDescriptor
deprecated
func (BackupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackupType.Descriptor instead.
func (BackupType) Number ¶
func (x BackupType) Number() protoreflect.EnumNumber
func (BackupType) String ¶
func (x BackupType) String() string
func (BackupType) Type ¶
func (BackupType) Type() protoreflect.EnumType
func (*BackupType) UnmarshalJSON
deprecated
func (x *BackupType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ButtonAck ¶
type ButtonAck struct {
// contains filtered or unexported fields
}
* Request: Computer agrees to wait for HW button press @auxend
func (*ButtonAck) Descriptor
deprecated
func (*ButtonAck) ProtoMessage ¶
func (*ButtonAck) ProtoMessage()
func (*ButtonAck) ProtoReflect ¶
func (x *ButtonAck) ProtoReflect() protoreflect.Message
type ButtonRequest ¶
type ButtonRequest struct { Code *ButtonRequest_ButtonRequestType `protobuf:"varint,1,opt,name=code,enum=hw.trezor.messages.common.ButtonRequest_ButtonRequestType" json:"code,omitempty"` // enum identifier of the screen Pages *uint32 `protobuf:"varint,2,opt,name=pages" json:"pages,omitempty"` // if the screen is paginated, number of pages // contains filtered or unexported fields }
* Response: Device is waiting for HW button press. @auxstart @next ButtonAck
func (*ButtonRequest) Descriptor
deprecated
func (*ButtonRequest) Descriptor() ([]byte, []int)
Deprecated: Use ButtonRequest.ProtoReflect.Descriptor instead.
func (*ButtonRequest) GetCode ¶
func (x *ButtonRequest) GetCode() ButtonRequest_ButtonRequestType
func (*ButtonRequest) GetPages ¶
func (x *ButtonRequest) GetPages() uint32
func (*ButtonRequest) ProtoMessage ¶
func (*ButtonRequest) ProtoMessage()
func (*ButtonRequest) ProtoReflect ¶
func (x *ButtonRequest) ProtoReflect() protoreflect.Message
func (*ButtonRequest) Reset ¶
func (x *ButtonRequest) Reset()
func (*ButtonRequest) String ¶
func (x *ButtonRequest) String() string
type ButtonRequest_ButtonRequestType ¶
type ButtonRequest_ButtonRequestType int32
* Type of button request
const ( ButtonRequest_ButtonRequest_Other ButtonRequest_ButtonRequestType = 1 ButtonRequest_ButtonRequest_FeeOverThreshold ButtonRequest_ButtonRequestType = 2 ButtonRequest_ButtonRequest_ConfirmOutput ButtonRequest_ButtonRequestType = 3 ButtonRequest_ButtonRequest_ResetDevice ButtonRequest_ButtonRequestType = 4 ButtonRequest_ButtonRequest_ConfirmWord ButtonRequest_ButtonRequestType = 5 ButtonRequest_ButtonRequest_WipeDevice ButtonRequest_ButtonRequestType = 6 ButtonRequest_ButtonRequest_ProtectCall ButtonRequest_ButtonRequestType = 7 ButtonRequest_ButtonRequest_SignTx ButtonRequest_ButtonRequestType = 8 ButtonRequest_ButtonRequest_FirmwareCheck ButtonRequest_ButtonRequestType = 9 ButtonRequest_ButtonRequest_Address ButtonRequest_ButtonRequestType = 10 ButtonRequest_ButtonRequest_PublicKey ButtonRequest_ButtonRequestType = 11 ButtonRequest_ButtonRequest_MnemonicWordCount ButtonRequest_ButtonRequestType = 12 ButtonRequest_ButtonRequest_MnemonicInput ButtonRequest_ButtonRequestType = 13 // Deprecated: Marked as deprecated in messages-common.proto. ButtonRequest__Deprecated_ButtonRequest_PassphraseType ButtonRequest_ButtonRequestType = 14 ButtonRequest_ButtonRequest_UnknownDerivationPath ButtonRequest_ButtonRequestType = 15 ButtonRequest_ButtonRequest_RecoveryHomepage ButtonRequest_ButtonRequestType = 16 ButtonRequest_ButtonRequest_Success ButtonRequest_ButtonRequestType = 17 ButtonRequest_ButtonRequest_Warning ButtonRequest_ButtonRequestType = 18 ButtonRequest_ButtonRequest_PassphraseEntry ButtonRequest_ButtonRequestType = 19 ButtonRequest_ButtonRequest_PinEntry ButtonRequest_ButtonRequestType = 20 )
func (ButtonRequest_ButtonRequestType) Descriptor ¶
func (ButtonRequest_ButtonRequestType) Descriptor() protoreflect.EnumDescriptor
func (ButtonRequest_ButtonRequestType) Enum ¶
func (x ButtonRequest_ButtonRequestType) Enum() *ButtonRequest_ButtonRequestType
func (ButtonRequest_ButtonRequestType) EnumDescriptor
deprecated
func (ButtonRequest_ButtonRequestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ButtonRequest_ButtonRequestType.Descriptor instead.
func (ButtonRequest_ButtonRequestType) Number ¶
func (x ButtonRequest_ButtonRequestType) Number() protoreflect.EnumNumber
func (ButtonRequest_ButtonRequestType) String ¶
func (x ButtonRequest_ButtonRequestType) String() string
func (ButtonRequest_ButtonRequestType) Type ¶
func (ButtonRequest_ButtonRequestType) Type() protoreflect.EnumType
func (*ButtonRequest_ButtonRequestType) UnmarshalJSON
deprecated
func (x *ButtonRequest_ButtonRequestType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Cancel ¶
type Cancel struct {
// contains filtered or unexported fields
}
* Request: Abort last operation that required user interaction @start @next Failure
func (*Cancel) Descriptor
deprecated
func (*Cancel) ProtoMessage ¶
func (*Cancel) ProtoMessage()
func (*Cancel) ProtoReflect ¶
func (x *Cancel) ProtoReflect() protoreflect.Message
type CancelAuthorization ¶
type CancelAuthorization struct {
// contains filtered or unexported fields
}
* Request: Cancel any outstanding authorization in the current session. @start @next Success @next Failure
func (*CancelAuthorization) Descriptor
deprecated
func (*CancelAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use CancelAuthorization.ProtoReflect.Descriptor instead.
func (*CancelAuthorization) ProtoMessage ¶
func (*CancelAuthorization) ProtoMessage()
func (*CancelAuthorization) ProtoReflect ¶
func (x *CancelAuthorization) ProtoReflect() protoreflect.Message
func (*CancelAuthorization) Reset ¶
func (x *CancelAuthorization) Reset()
func (*CancelAuthorization) String ¶
func (x *CancelAuthorization) String() string
type ChangeLanguage ¶
type ChangeLanguage struct { // byte length of the whole translation blob (set to 0 for default language - english) DataLength *uint32 `protobuf:"varint,1,req,name=data_length,json=dataLength" json:"data_length,omitempty"` // Prompt the user on screen. // In certain conditions (such as freshly installed device), the confirmation prompt // is not mandatory. Setting show_display=false will skip the prompt if that's // the case. If the device does not allow skipping the prompt, a request with // show_display=false will return a failure. (This way the host can safely try // to change the language without invoking a prompt.) // Setting show_display to true will always show the prompt. // Leaving the option unset will show the prompt only when necessary. ShowDisplay *bool `protobuf:"varint,2,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"` // contains filtered or unexported fields }
* Request: change the device language via translation data. Does not send the translation data itself, as they are too large for one message. Device will request the translation data in chunks. @start @next TranslationDataRequest @next Failure
func (*ChangeLanguage) Descriptor
deprecated
func (*ChangeLanguage) Descriptor() ([]byte, []int)
Deprecated: Use ChangeLanguage.ProtoReflect.Descriptor instead.
func (*ChangeLanguage) GetDataLength ¶
func (x *ChangeLanguage) GetDataLength() uint32
func (*ChangeLanguage) GetShowDisplay ¶
func (x *ChangeLanguage) GetShowDisplay() bool
func (*ChangeLanguage) ProtoMessage ¶
func (*ChangeLanguage) ProtoMessage()
func (*ChangeLanguage) ProtoReflect ¶
func (x *ChangeLanguage) ProtoReflect() protoreflect.Message
func (*ChangeLanguage) Reset ¶
func (x *ChangeLanguage) Reset()
func (*ChangeLanguage) String ¶
func (x *ChangeLanguage) String() string
type ChangePin ¶
type ChangePin struct { Remove *bool `protobuf:"varint,1,opt,name=remove" json:"remove,omitempty"` // is PIN removal requested? // contains filtered or unexported fields }
* Request: Starts workflow for setting/changing/removing the PIN @start @next Success @next Failure
func (*ChangePin) Descriptor
deprecated
func (*ChangePin) ProtoMessage ¶
func (*ChangePin) ProtoMessage()
func (*ChangePin) ProtoReflect ¶
func (x *ChangePin) ProtoReflect() protoreflect.Message
type ChangeWipeCode ¶
type ChangeWipeCode struct { Remove *bool `protobuf:"varint,1,opt,name=remove" json:"remove,omitempty"` // is wipe code removal requested? // contains filtered or unexported fields }
* Request: Starts workflow for setting/removing the wipe code @start @next Success @next Failure
func (*ChangeWipeCode) Descriptor
deprecated
func (*ChangeWipeCode) Descriptor() ([]byte, []int)
Deprecated: Use ChangeWipeCode.ProtoReflect.Descriptor instead.
func (*ChangeWipeCode) GetRemove ¶
func (x *ChangeWipeCode) GetRemove() bool
func (*ChangeWipeCode) ProtoMessage ¶
func (*ChangeWipeCode) ProtoMessage()
func (*ChangeWipeCode) ProtoReflect ¶
func (x *ChangeWipeCode) ProtoReflect() protoreflect.Message
func (*ChangeWipeCode) Reset ¶
func (x *ChangeWipeCode) Reset()
func (*ChangeWipeCode) String ¶
func (x *ChangeWipeCode) String() string
type CipherKeyValue ¶
type CipherKeyValue struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node Key *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"` // key component of key:value Value []byte `protobuf:"bytes,3,req,name=value" json:"value,omitempty"` // value component of key:value Encrypt *bool `protobuf:"varint,4,opt,name=encrypt" json:"encrypt,omitempty"` // are we encrypting (True) or decrypting (False)? AskOnEncrypt *bool `protobuf:"varint,5,opt,name=ask_on_encrypt,json=askOnEncrypt" json:"ask_on_encrypt,omitempty"` // should we ask on encrypt operation? AskOnDecrypt *bool `protobuf:"varint,6,opt,name=ask_on_decrypt,json=askOnDecrypt" json:"ask_on_decrypt,omitempty"` // should we ask on decrypt operation? Iv []byte `protobuf:"bytes,7,opt,name=iv" json:"iv,omitempty"` // initialization vector (will be computed if not set) // contains filtered or unexported fields }
* Request: Ask device to encrypt or decrypt value of given key @start @next CipheredKeyValue @next Failure
func (*CipherKeyValue) Descriptor
deprecated
func (*CipherKeyValue) Descriptor() ([]byte, []int)
Deprecated: Use CipherKeyValue.ProtoReflect.Descriptor instead.
func (*CipherKeyValue) GetAddressN ¶
func (x *CipherKeyValue) GetAddressN() []uint32
func (*CipherKeyValue) GetAskOnDecrypt ¶
func (x *CipherKeyValue) GetAskOnDecrypt() bool
func (*CipherKeyValue) GetAskOnEncrypt ¶
func (x *CipherKeyValue) GetAskOnEncrypt() bool
func (*CipherKeyValue) GetEncrypt ¶
func (x *CipherKeyValue) GetEncrypt() bool
func (*CipherKeyValue) GetIv ¶
func (x *CipherKeyValue) GetIv() []byte
func (*CipherKeyValue) GetKey ¶
func (x *CipherKeyValue) GetKey() string
func (*CipherKeyValue) GetValue ¶
func (x *CipherKeyValue) GetValue() []byte
func (*CipherKeyValue) ProtoMessage ¶
func (*CipherKeyValue) ProtoMessage()
func (*CipherKeyValue) ProtoReflect ¶
func (x *CipherKeyValue) ProtoReflect() protoreflect.Message
func (*CipherKeyValue) Reset ¶
func (x *CipherKeyValue) Reset()
func (*CipherKeyValue) String ¶
func (x *CipherKeyValue) String() string
type CipheredKeyValue ¶
type CipheredKeyValue struct { Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // ciphered/deciphered value // contains filtered or unexported fields }
* Response: Return ciphered/deciphered value @end
func (*CipheredKeyValue) Descriptor
deprecated
func (*CipheredKeyValue) Descriptor() ([]byte, []int)
Deprecated: Use CipheredKeyValue.ProtoReflect.Descriptor instead.
func (*CipheredKeyValue) GetValue ¶
func (x *CipheredKeyValue) GetValue() []byte
func (*CipheredKeyValue) ProtoMessage ¶
func (*CipheredKeyValue) ProtoMessage()
func (*CipheredKeyValue) ProtoReflect ¶
func (x *CipheredKeyValue) ProtoReflect() protoreflect.Message
func (*CipheredKeyValue) Reset ¶
func (x *CipheredKeyValue) Reset()
func (*CipheredKeyValue) String ¶
func (x *CipheredKeyValue) String() string
type CosiCommit ¶
type CosiCommit struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node // Deprecated: Marked as deprecated in messages-crypto.proto. Data []byte `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"` // Data to be signed. Deprecated in 1.10.2, the field is not needed, since CoSi commitments are no longer deterministic. // contains filtered or unexported fields }
* Request: Ask device to commit to CoSi signing @start @next CosiCommitment @next Failure
func (*CosiCommit) Descriptor
deprecated
func (*CosiCommit) Descriptor() ([]byte, []int)
Deprecated: Use CosiCommit.ProtoReflect.Descriptor instead.
func (*CosiCommit) GetAddressN ¶
func (x *CosiCommit) GetAddressN() []uint32
func (*CosiCommit) GetData
deprecated
func (x *CosiCommit) GetData() []byte
Deprecated: Marked as deprecated in messages-crypto.proto.
func (*CosiCommit) ProtoMessage ¶
func (*CosiCommit) ProtoMessage()
func (*CosiCommit) ProtoReflect ¶
func (x *CosiCommit) ProtoReflect() protoreflect.Message
func (*CosiCommit) Reset ¶
func (x *CosiCommit) Reset()
func (*CosiCommit) String ¶
func (x *CosiCommit) String() string
type CosiCommitment ¶
type CosiCommitment struct { Commitment []byte `protobuf:"bytes,1,req,name=commitment" json:"commitment,omitempty"` // Commitment Pubkey []byte `protobuf:"bytes,2,req,name=pubkey" json:"pubkey,omitempty"` // Public key // contains filtered or unexported fields }
* Response: Contains a CoSi commitment @end
func (*CosiCommitment) Descriptor
deprecated
func (*CosiCommitment) Descriptor() ([]byte, []int)
Deprecated: Use CosiCommitment.ProtoReflect.Descriptor instead.
func (*CosiCommitment) GetCommitment ¶
func (x *CosiCommitment) GetCommitment() []byte
func (*CosiCommitment) GetPubkey ¶
func (x *CosiCommitment) GetPubkey() []byte
func (*CosiCommitment) ProtoMessage ¶
func (*CosiCommitment) ProtoMessage()
func (*CosiCommitment) ProtoReflect ¶
func (x *CosiCommitment) ProtoReflect() protoreflect.Message
func (*CosiCommitment) Reset ¶
func (x *CosiCommitment) Reset()
func (*CosiCommitment) String ¶
func (x *CosiCommitment) String() string
type CosiSign ¶
type CosiSign struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node Data []byte `protobuf:"bytes,2,req,name=data" json:"data,omitempty"` // Data to be signed GlobalCommitment []byte `protobuf:"bytes,3,req,name=global_commitment,json=globalCommitment" json:"global_commitment,omitempty"` // Aggregated commitment GlobalPubkey []byte `protobuf:"bytes,4,req,name=global_pubkey,json=globalPubkey" json:"global_pubkey,omitempty"` // Aggregated public key // contains filtered or unexported fields }
* Request: Ask device to sign using CoSi @start @next CosiSignature @next Failure
func (*CosiSign) Descriptor
deprecated
func (*CosiSign) GetAddressN ¶
func (*CosiSign) GetGlobalCommitment ¶
func (*CosiSign) GetGlobalPubkey ¶
func (*CosiSign) ProtoMessage ¶
func (*CosiSign) ProtoMessage()
func (*CosiSign) ProtoReflect ¶
func (x *CosiSign) ProtoReflect() protoreflect.Message
type CosiSignature ¶
type CosiSignature struct { Signature []byte `protobuf:"bytes,1,req,name=signature" json:"signature,omitempty"` // Signature // contains filtered or unexported fields }
* Response: Contains a CoSi signature @end
func (*CosiSignature) Descriptor
deprecated
func (*CosiSignature) Descriptor() ([]byte, []int)
Deprecated: Use CosiSignature.ProtoReflect.Descriptor instead.
func (*CosiSignature) GetSignature ¶
func (x *CosiSignature) GetSignature() []byte
func (*CosiSignature) ProtoMessage ¶
func (*CosiSignature) ProtoMessage()
func (*CosiSignature) ProtoReflect ¶
func (x *CosiSignature) ProtoReflect() protoreflect.Message
func (*CosiSignature) Reset ¶
func (x *CosiSignature) Reset()
func (*CosiSignature) String ¶
func (x *CosiSignature) String() string
type DebugLinkDecision ¶
type DebugLinkDecision struct { Button *DebugLinkDecision_DebugButton `protobuf:"varint,1,opt,name=button,enum=hw.trezor.messages.debug.DebugLinkDecision_DebugButton" json:"button,omitempty"` // button press Swipe *DebugLinkDecision_DebugSwipeDirection `protobuf:"varint,2,opt,name=swipe,enum=hw.trezor.messages.debug.DebugLinkDecision_DebugSwipeDirection" json:"swipe,omitempty"` // swipe direction Input *string `protobuf:"bytes,3,opt,name=input" json:"input,omitempty"` // keyboard input X *uint32 `protobuf:"varint,4,opt,name=x" json:"x,omitempty"` // touch X coordinate Y *uint32 `protobuf:"varint,5,opt,name=y" json:"y,omitempty"` // touch Y coordinate Wait *bool `protobuf:"varint,6,opt,name=wait" json:"wait,omitempty"` // wait for layout change HoldMs *uint32 `protobuf:"varint,7,opt,name=hold_ms,json=holdMs" json:"hold_ms,omitempty"` // touch hold duration PhysicalButton *DebugLinkDecision_DebugPhysicalButton `` // physical button press /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
* Request: "Press" the button on the device @start @next DebugLinkLayout
func (*DebugLinkDecision) Descriptor
deprecated
func (*DebugLinkDecision) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkDecision.ProtoReflect.Descriptor instead.
func (*DebugLinkDecision) GetButton ¶
func (x *DebugLinkDecision) GetButton() DebugLinkDecision_DebugButton
func (*DebugLinkDecision) GetHoldMs ¶
func (x *DebugLinkDecision) GetHoldMs() uint32
func (*DebugLinkDecision) GetInput ¶
func (x *DebugLinkDecision) GetInput() string
func (*DebugLinkDecision) GetPhysicalButton ¶
func (x *DebugLinkDecision) GetPhysicalButton() DebugLinkDecision_DebugPhysicalButton
func (*DebugLinkDecision) GetSwipe ¶
func (x *DebugLinkDecision) GetSwipe() DebugLinkDecision_DebugSwipeDirection
func (*DebugLinkDecision) GetWait ¶
func (x *DebugLinkDecision) GetWait() bool
func (*DebugLinkDecision) GetX ¶
func (x *DebugLinkDecision) GetX() uint32
func (*DebugLinkDecision) GetY ¶
func (x *DebugLinkDecision) GetY() uint32
func (*DebugLinkDecision) ProtoMessage ¶
func (*DebugLinkDecision) ProtoMessage()
func (*DebugLinkDecision) ProtoReflect ¶
func (x *DebugLinkDecision) ProtoReflect() protoreflect.Message
func (*DebugLinkDecision) Reset ¶
func (x *DebugLinkDecision) Reset()
func (*DebugLinkDecision) String ¶
func (x *DebugLinkDecision) String() string
type DebugLinkDecision_DebugButton ¶
type DebugLinkDecision_DebugButton int32
* Structure representing button presses
const ( DebugLinkDecision_NO DebugLinkDecision_DebugButton = 0 DebugLinkDecision_YES DebugLinkDecision_DebugButton = 1 DebugLinkDecision_INFO DebugLinkDecision_DebugButton = 2 )
func (DebugLinkDecision_DebugButton) Descriptor ¶
func (DebugLinkDecision_DebugButton) Descriptor() protoreflect.EnumDescriptor
func (DebugLinkDecision_DebugButton) Enum ¶
func (x DebugLinkDecision_DebugButton) Enum() *DebugLinkDecision_DebugButton
func (DebugLinkDecision_DebugButton) EnumDescriptor
deprecated
func (DebugLinkDecision_DebugButton) EnumDescriptor() ([]byte, []int)
Deprecated: Use DebugLinkDecision_DebugButton.Descriptor instead.
func (DebugLinkDecision_DebugButton) Number ¶
func (x DebugLinkDecision_DebugButton) Number() protoreflect.EnumNumber
func (DebugLinkDecision_DebugButton) String ¶
func (x DebugLinkDecision_DebugButton) String() string
func (DebugLinkDecision_DebugButton) Type ¶
func (DebugLinkDecision_DebugButton) Type() protoreflect.EnumType
func (*DebugLinkDecision_DebugButton) UnmarshalJSON
deprecated
func (x *DebugLinkDecision_DebugButton) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DebugLinkDecision_DebugPhysicalButton ¶
type DebugLinkDecision_DebugPhysicalButton int32
TODO: probably delete the middle_btn as it is not a physical one
const ( DebugLinkDecision_LEFT_BTN DebugLinkDecision_DebugPhysicalButton = 0 DebugLinkDecision_MIDDLE_BTN DebugLinkDecision_DebugPhysicalButton = 1 DebugLinkDecision_RIGHT_BTN DebugLinkDecision_DebugPhysicalButton = 2 )
func (DebugLinkDecision_DebugPhysicalButton) Descriptor ¶
func (DebugLinkDecision_DebugPhysicalButton) Descriptor() protoreflect.EnumDescriptor
func (DebugLinkDecision_DebugPhysicalButton) EnumDescriptor
deprecated
func (DebugLinkDecision_DebugPhysicalButton) EnumDescriptor() ([]byte, []int)
Deprecated: Use DebugLinkDecision_DebugPhysicalButton.Descriptor instead.
func (DebugLinkDecision_DebugPhysicalButton) Number ¶
func (x DebugLinkDecision_DebugPhysicalButton) Number() protoreflect.EnumNumber
func (DebugLinkDecision_DebugPhysicalButton) String ¶
func (x DebugLinkDecision_DebugPhysicalButton) String() string
func (DebugLinkDecision_DebugPhysicalButton) Type ¶
func (DebugLinkDecision_DebugPhysicalButton) Type() protoreflect.EnumType
func (*DebugLinkDecision_DebugPhysicalButton) UnmarshalJSON
deprecated
func (x *DebugLinkDecision_DebugPhysicalButton) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DebugLinkDecision_DebugSwipeDirection ¶
type DebugLinkDecision_DebugSwipeDirection int32
* Structure representing swipe direction
const ( DebugLinkDecision_UP DebugLinkDecision_DebugSwipeDirection = 0 DebugLinkDecision_DOWN DebugLinkDecision_DebugSwipeDirection = 1 DebugLinkDecision_LEFT DebugLinkDecision_DebugSwipeDirection = 2 DebugLinkDecision_RIGHT DebugLinkDecision_DebugSwipeDirection = 3 )
func (DebugLinkDecision_DebugSwipeDirection) Descriptor ¶
func (DebugLinkDecision_DebugSwipeDirection) Descriptor() protoreflect.EnumDescriptor
func (DebugLinkDecision_DebugSwipeDirection) EnumDescriptor
deprecated
func (DebugLinkDecision_DebugSwipeDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use DebugLinkDecision_DebugSwipeDirection.Descriptor instead.
func (DebugLinkDecision_DebugSwipeDirection) Number ¶
func (x DebugLinkDecision_DebugSwipeDirection) Number() protoreflect.EnumNumber
func (DebugLinkDecision_DebugSwipeDirection) String ¶
func (x DebugLinkDecision_DebugSwipeDirection) String() string
func (DebugLinkDecision_DebugSwipeDirection) Type ¶
func (DebugLinkDecision_DebugSwipeDirection) Type() protoreflect.EnumType
func (*DebugLinkDecision_DebugSwipeDirection) UnmarshalJSON
deprecated
func (x *DebugLinkDecision_DebugSwipeDirection) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DebugLinkEraseSdCard ¶
type DebugLinkEraseSdCard struct { Format *bool `protobuf:"varint,1,opt,name=format" json:"format,omitempty"` // if true, the card will be formatted to FAT32. // contains filtered or unexported fields }
* Request: Erase the SD card @start @next Success @next Failure
func (*DebugLinkEraseSdCard) Descriptor
deprecated
func (*DebugLinkEraseSdCard) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkEraseSdCard.ProtoReflect.Descriptor instead.
func (*DebugLinkEraseSdCard) GetFormat ¶
func (x *DebugLinkEraseSdCard) GetFormat() bool
func (*DebugLinkEraseSdCard) ProtoMessage ¶
func (*DebugLinkEraseSdCard) ProtoMessage()
func (*DebugLinkEraseSdCard) ProtoReflect ¶
func (x *DebugLinkEraseSdCard) ProtoReflect() protoreflect.Message
func (*DebugLinkEraseSdCard) Reset ¶
func (x *DebugLinkEraseSdCard) Reset()
func (*DebugLinkEraseSdCard) String ¶
func (x *DebugLinkEraseSdCard) String() string
type DebugLinkFlashErase ¶
type DebugLinkFlashErase struct { Sector *uint32 `protobuf:"varint,1,opt,name=sector" json:"sector,omitempty"` // contains filtered or unexported fields }
* Request: Erase block of flash on device WARNING: Writing to the wrong location can irreparably break the device. @start @next Success @next Failure
func (*DebugLinkFlashErase) Descriptor
deprecated
func (*DebugLinkFlashErase) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkFlashErase.ProtoReflect.Descriptor instead.
func (*DebugLinkFlashErase) GetSector ¶
func (x *DebugLinkFlashErase) GetSector() uint32
func (*DebugLinkFlashErase) ProtoMessage ¶
func (*DebugLinkFlashErase) ProtoMessage()
func (*DebugLinkFlashErase) ProtoReflect ¶
func (x *DebugLinkFlashErase) ProtoReflect() protoreflect.Message
func (*DebugLinkFlashErase) Reset ¶
func (x *DebugLinkFlashErase) Reset()
func (*DebugLinkFlashErase) String ¶
func (x *DebugLinkFlashErase) String() string
type DebugLinkGetState ¶
type DebugLinkGetState struct { WaitWordList *bool `protobuf:"varint,1,opt,name=wait_word_list,json=waitWordList" json:"wait_word_list,omitempty"` // Trezor T only - wait until mnemonic words are shown WaitWordPos *bool `protobuf:"varint,2,opt,name=wait_word_pos,json=waitWordPos" json:"wait_word_pos,omitempty"` // Trezor T only - wait until reset word position is requested WaitLayout *bool `protobuf:"varint,3,opt,name=wait_layout,json=waitLayout" json:"wait_layout,omitempty"` // wait until current layout changes // contains filtered or unexported fields }
* Request: Computer asks for device state @start @next DebugLinkState
func (*DebugLinkGetState) Descriptor
deprecated
func (*DebugLinkGetState) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkGetState.ProtoReflect.Descriptor instead.
func (*DebugLinkGetState) GetWaitLayout ¶
func (x *DebugLinkGetState) GetWaitLayout() bool
func (*DebugLinkGetState) GetWaitWordList ¶
func (x *DebugLinkGetState) GetWaitWordList() bool
func (*DebugLinkGetState) GetWaitWordPos ¶
func (x *DebugLinkGetState) GetWaitWordPos() bool
func (*DebugLinkGetState) ProtoMessage ¶
func (*DebugLinkGetState) ProtoMessage()
func (*DebugLinkGetState) ProtoReflect ¶
func (x *DebugLinkGetState) ProtoReflect() protoreflect.Message
func (*DebugLinkGetState) Reset ¶
func (x *DebugLinkGetState) Reset()
func (*DebugLinkGetState) String ¶
func (x *DebugLinkGetState) String() string
type DebugLinkLayout ¶
type DebugLinkLayout struct { Tokens []string `protobuf:"bytes,1,rep,name=tokens" json:"tokens,omitempty"` // contains filtered or unexported fields }
* Response: Device text layout as a list of tokens as returned by Rust @end
func (*DebugLinkLayout) Descriptor
deprecated
func (*DebugLinkLayout) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkLayout.ProtoReflect.Descriptor instead.
func (*DebugLinkLayout) GetTokens ¶
func (x *DebugLinkLayout) GetTokens() []string
func (*DebugLinkLayout) ProtoMessage ¶
func (*DebugLinkLayout) ProtoMessage()
func (*DebugLinkLayout) ProtoReflect ¶
func (x *DebugLinkLayout) ProtoReflect() protoreflect.Message
func (*DebugLinkLayout) Reset ¶
func (x *DebugLinkLayout) Reset()
func (*DebugLinkLayout) String ¶
func (x *DebugLinkLayout) 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"` // contains filtered or unexported fields }
* Response: Device wants host to log event @ignore
func (*DebugLinkLog) Descriptor
deprecated
func (*DebugLinkLog) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkLog.ProtoReflect.Descriptor instead.
func (*DebugLinkLog) GetBucket ¶
func (x *DebugLinkLog) GetBucket() string
func (*DebugLinkLog) GetLevel ¶
func (x *DebugLinkLog) GetLevel() uint32
func (*DebugLinkLog) GetText ¶
func (x *DebugLinkLog) GetText() string
func (*DebugLinkLog) ProtoMessage ¶
func (*DebugLinkLog) ProtoMessage()
func (*DebugLinkLog) ProtoReflect ¶
func (x *DebugLinkLog) ProtoReflect() protoreflect.Message
func (*DebugLinkLog) Reset ¶
func (x *DebugLinkLog) Reset()
func (*DebugLinkLog) String ¶
func (x *DebugLinkLog) String() string
type DebugLinkMemory ¶
type DebugLinkMemory struct { Memory []byte `protobuf:"bytes,1,opt,name=memory" json:"memory,omitempty"` // contains filtered or unexported fields }
* Response: Device sends memory back @end
func (*DebugLinkMemory) Descriptor
deprecated
func (*DebugLinkMemory) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkMemory.ProtoReflect.Descriptor instead.
func (*DebugLinkMemory) GetMemory ¶
func (x *DebugLinkMemory) GetMemory() []byte
func (*DebugLinkMemory) ProtoMessage ¶
func (*DebugLinkMemory) ProtoMessage()
func (*DebugLinkMemory) ProtoReflect ¶
func (x *DebugLinkMemory) ProtoReflect() protoreflect.Message
func (*DebugLinkMemory) Reset ¶
func (x *DebugLinkMemory) Reset()
func (*DebugLinkMemory) String ¶
func (x *DebugLinkMemory) String() string
type DebugLinkMemoryRead ¶
type DebugLinkMemoryRead struct { Address *uint32 `protobuf:"varint,1,opt,name=address" json:"address,omitempty"` Length *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"` // contains filtered or unexported fields }
* Request: Read memory from device @start @next DebugLinkMemory
func (*DebugLinkMemoryRead) Descriptor
deprecated
func (*DebugLinkMemoryRead) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkMemoryRead.ProtoReflect.Descriptor instead.
func (*DebugLinkMemoryRead) GetAddress ¶
func (x *DebugLinkMemoryRead) GetAddress() uint32
func (*DebugLinkMemoryRead) GetLength ¶
func (x *DebugLinkMemoryRead) GetLength() uint32
func (*DebugLinkMemoryRead) ProtoMessage ¶
func (*DebugLinkMemoryRead) ProtoMessage()
func (*DebugLinkMemoryRead) ProtoReflect ¶
func (x *DebugLinkMemoryRead) ProtoReflect() protoreflect.Message
func (*DebugLinkMemoryRead) Reset ¶
func (x *DebugLinkMemoryRead) Reset()
func (*DebugLinkMemoryRead) String ¶
func (x *DebugLinkMemoryRead) String() string
type DebugLinkMemoryWrite ¶
type DebugLinkMemoryWrite struct { Address *uint32 `protobuf:"varint,1,opt,name=address" json:"address,omitempty"` Memory []byte `protobuf:"bytes,2,opt,name=memory" json:"memory,omitempty"` Flash *bool `protobuf:"varint,3,opt,name=flash" json:"flash,omitempty"` // contains filtered or unexported fields }
* Request: Write memory to device. WARNING: Writing to the wrong location can irreparably break the device. @start @next Success @next Failure
func (*DebugLinkMemoryWrite) Descriptor
deprecated
func (*DebugLinkMemoryWrite) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkMemoryWrite.ProtoReflect.Descriptor instead.
func (*DebugLinkMemoryWrite) GetAddress ¶
func (x *DebugLinkMemoryWrite) GetAddress() uint32
func (*DebugLinkMemoryWrite) GetFlash ¶
func (x *DebugLinkMemoryWrite) GetFlash() bool
func (*DebugLinkMemoryWrite) GetMemory ¶
func (x *DebugLinkMemoryWrite) GetMemory() []byte
func (*DebugLinkMemoryWrite) ProtoMessage ¶
func (*DebugLinkMemoryWrite) ProtoMessage()
func (*DebugLinkMemoryWrite) ProtoReflect ¶
func (x *DebugLinkMemoryWrite) ProtoReflect() protoreflect.Message
func (*DebugLinkMemoryWrite) Reset ¶
func (x *DebugLinkMemoryWrite) Reset()
func (*DebugLinkMemoryWrite) String ¶
func (x *DebugLinkMemoryWrite) String() string
type DebugLinkRecordScreen ¶
type DebugLinkRecordScreen struct { TargetDirectory *string `protobuf:"bytes,1,opt,name=target_directory,json=targetDirectory" json:"target_directory,omitempty"` // empty or missing to stop recording RefreshIndex *uint32 `protobuf:"varint,2,opt,name=refresh_index,json=refreshIndex,def=0" json:"refresh_index,omitempty"` // which index to give the screenshots (after emulator restarts) // contains filtered or unexported fields }
* Request: Start or stop recording screen changes into given target directory @start @next Success
func (*DebugLinkRecordScreen) Descriptor
deprecated
func (*DebugLinkRecordScreen) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkRecordScreen.ProtoReflect.Descriptor instead.
func (*DebugLinkRecordScreen) GetRefreshIndex ¶
func (x *DebugLinkRecordScreen) GetRefreshIndex() uint32
func (*DebugLinkRecordScreen) GetTargetDirectory ¶
func (x *DebugLinkRecordScreen) GetTargetDirectory() string
func (*DebugLinkRecordScreen) ProtoMessage ¶
func (*DebugLinkRecordScreen) ProtoMessage()
func (*DebugLinkRecordScreen) ProtoReflect ¶
func (x *DebugLinkRecordScreen) ProtoReflect() protoreflect.Message
func (*DebugLinkRecordScreen) Reset ¶
func (x *DebugLinkRecordScreen) Reset()
func (*DebugLinkRecordScreen) String ¶
func (x *DebugLinkRecordScreen) String() string
type DebugLinkReseedRandom ¶
type DebugLinkReseedRandom struct { Value *uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* Request: Re-seed RNG with given value @start @next Success
func (*DebugLinkReseedRandom) Descriptor
deprecated
func (*DebugLinkReseedRandom) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkReseedRandom.ProtoReflect.Descriptor instead.
func (*DebugLinkReseedRandom) GetValue ¶
func (x *DebugLinkReseedRandom) GetValue() uint32
func (*DebugLinkReseedRandom) ProtoMessage ¶
func (*DebugLinkReseedRandom) ProtoMessage()
func (*DebugLinkReseedRandom) ProtoReflect ¶
func (x *DebugLinkReseedRandom) ProtoReflect() protoreflect.Message
func (*DebugLinkReseedRandom) Reset ¶
func (x *DebugLinkReseedRandom) Reset()
func (*DebugLinkReseedRandom) String ¶
func (x *DebugLinkReseedRandom) String() string
type DebugLinkResetDebugEvents ¶
type DebugLinkResetDebugEvents struct {
// contains filtered or unexported fields
}
* Request: Remove all the previous debug event state @start @next Success
func (*DebugLinkResetDebugEvents) Descriptor
deprecated
func (*DebugLinkResetDebugEvents) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkResetDebugEvents.ProtoReflect.Descriptor instead.
func (*DebugLinkResetDebugEvents) ProtoMessage ¶
func (*DebugLinkResetDebugEvents) ProtoMessage()
func (*DebugLinkResetDebugEvents) ProtoReflect ¶
func (x *DebugLinkResetDebugEvents) ProtoReflect() protoreflect.Message
func (*DebugLinkResetDebugEvents) Reset ¶
func (x *DebugLinkResetDebugEvents) Reset()
func (*DebugLinkResetDebugEvents) String ¶
func (x *DebugLinkResetDebugEvents) String() string
type DebugLinkState ¶
type DebugLinkState struct { Layout []byte `protobuf:"bytes,1,opt,name=layout" json:"layout,omitempty"` // raw buffer of display Pin *string `protobuf:"bytes,2,opt,name=pin" json:"pin,omitempty"` // current PIN, blank if PIN is not set/enabled Matrix *string `protobuf:"bytes,3,opt,name=matrix" json:"matrix,omitempty"` // current PIN matrix MnemonicSecret []byte `protobuf:"bytes,4,opt,name=mnemonic_secret,json=mnemonicSecret" json:"mnemonic_secret,omitempty"` // current mnemonic secret Node *HDNodeType `protobuf:"bytes,5,opt,name=node" json:"node,omitempty"` // current BIP-32 node PassphraseProtection *bool `protobuf:"varint,6,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // is node/mnemonic encrypted using passphrase? ResetWord *string `protobuf:"bytes,7,opt,name=reset_word,json=resetWord" json:"reset_word,omitempty"` // word on device display during ResetDevice workflow ResetEntropy []byte `protobuf:"bytes,8,opt,name=reset_entropy,json=resetEntropy" json:"reset_entropy,omitempty"` // current entropy during ResetDevice workflow RecoveryFakeWord *string `protobuf:"bytes,9,opt,name=recovery_fake_word,json=recoveryFakeWord" json:"recovery_fake_word,omitempty"` // (fake) word on display during RecoveryDevice workflow RecoveryWordPos *uint32 `protobuf:"varint,10,opt,name=recovery_word_pos,json=recoveryWordPos" json:"recovery_word_pos,omitempty"` // index of mnemonic word the device is expecting during RecoveryDevice workflow ResetWordPos *uint32 `protobuf:"varint,11,opt,name=reset_word_pos,json=resetWordPos" json:"reset_word_pos,omitempty"` // index of mnemonic word the device is expecting during ResetDevice workflow MnemonicType *BackupType `` // current mnemonic type (BIP-39/SLIP-39) /* 138-byte string literal not displayed */ Tokens []string `protobuf:"bytes,13,rep,name=tokens" json:"tokens,omitempty"` // current layout represented as a list of string tokens // contains filtered or unexported fields }
* Response: Device current state @end
func (*DebugLinkState) Descriptor
deprecated
func (*DebugLinkState) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkState.ProtoReflect.Descriptor instead.
func (*DebugLinkState) GetLayout ¶
func (x *DebugLinkState) GetLayout() []byte
func (*DebugLinkState) GetMatrix ¶
func (x *DebugLinkState) GetMatrix() string
func (*DebugLinkState) GetMnemonicSecret ¶
func (x *DebugLinkState) GetMnemonicSecret() []byte
func (*DebugLinkState) GetMnemonicType ¶
func (x *DebugLinkState) GetMnemonicType() BackupType
func (*DebugLinkState) GetNode ¶
func (x *DebugLinkState) GetNode() *HDNodeType
func (*DebugLinkState) GetPassphraseProtection ¶
func (x *DebugLinkState) GetPassphraseProtection() bool
func (*DebugLinkState) GetPin ¶
func (x *DebugLinkState) GetPin() string
func (*DebugLinkState) GetRecoveryFakeWord ¶
func (x *DebugLinkState) GetRecoveryFakeWord() string
func (*DebugLinkState) GetRecoveryWordPos ¶
func (x *DebugLinkState) GetRecoveryWordPos() uint32
func (*DebugLinkState) GetResetEntropy ¶
func (x *DebugLinkState) GetResetEntropy() []byte
func (*DebugLinkState) GetResetWord ¶
func (x *DebugLinkState) GetResetWord() string
func (*DebugLinkState) GetResetWordPos ¶
func (x *DebugLinkState) GetResetWordPos() uint32
func (*DebugLinkState) GetTokens ¶
func (x *DebugLinkState) GetTokens() []string
func (*DebugLinkState) ProtoMessage ¶
func (*DebugLinkState) ProtoMessage()
func (*DebugLinkState) ProtoReflect ¶
func (x *DebugLinkState) ProtoReflect() protoreflect.Message
func (*DebugLinkState) Reset ¶
func (x *DebugLinkState) Reset()
func (*DebugLinkState) String ¶
func (x *DebugLinkState) String() string
type DebugLinkStop ¶
type DebugLinkStop struct {
// contains filtered or unexported fields
}
* Request: Ask device to restart @start
func (*DebugLinkStop) Descriptor
deprecated
func (*DebugLinkStop) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkStop.ProtoReflect.Descriptor instead.
func (*DebugLinkStop) ProtoMessage ¶
func (*DebugLinkStop) ProtoMessage()
func (*DebugLinkStop) ProtoReflect ¶
func (x *DebugLinkStop) ProtoReflect() protoreflect.Message
func (*DebugLinkStop) Reset ¶
func (x *DebugLinkStop) Reset()
func (*DebugLinkStop) String ¶
func (x *DebugLinkStop) String() string
type DebugLinkWatchLayout ¶
type DebugLinkWatchLayout struct { Watch *bool `protobuf:"varint,1,opt,name=watch" json:"watch,omitempty"` // if true, start watching layout. // contains filtered or unexported fields }
* Request: Start or stop tracking layout changes @start @next Success
func (*DebugLinkWatchLayout) Descriptor
deprecated
func (*DebugLinkWatchLayout) Descriptor() ([]byte, []int)
Deprecated: Use DebugLinkWatchLayout.ProtoReflect.Descriptor instead.
func (*DebugLinkWatchLayout) GetWatch ¶
func (x *DebugLinkWatchLayout) GetWatch() bool
func (*DebugLinkWatchLayout) ProtoMessage ¶
func (*DebugLinkWatchLayout) ProtoMessage()
func (*DebugLinkWatchLayout) ProtoReflect ¶
func (x *DebugLinkWatchLayout) ProtoReflect() protoreflect.Message
func (*DebugLinkWatchLayout) Reset ¶
func (x *DebugLinkWatchLayout) Reset()
func (*DebugLinkWatchLayout) String ¶
func (x *DebugLinkWatchLayout) String() string
type Deprecated_PassphraseStateAck
deprecated
type Deprecated_PassphraseStateAck struct {
// contains filtered or unexported fields
}
* Request: Send passphrase state back Deprecated in 2.3.0 @auxend
Deprecated: Marked as deprecated in messages-common.proto.
func (*Deprecated_PassphraseStateAck) Descriptor
deprecated
func (*Deprecated_PassphraseStateAck) Descriptor() ([]byte, []int)
Deprecated: Use Deprecated_PassphraseStateAck.ProtoReflect.Descriptor instead.
func (*Deprecated_PassphraseStateAck) ProtoMessage ¶
func (*Deprecated_PassphraseStateAck) ProtoMessage()
func (*Deprecated_PassphraseStateAck) ProtoReflect ¶
func (x *Deprecated_PassphraseStateAck) ProtoReflect() protoreflect.Message
func (*Deprecated_PassphraseStateAck) Reset ¶
func (x *Deprecated_PassphraseStateAck) Reset()
func (*Deprecated_PassphraseStateAck) String ¶
func (x *Deprecated_PassphraseStateAck) String() string
type Deprecated_PassphraseStateRequest
deprecated
type Deprecated_PassphraseStateRequest struct { State []byte `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"` // actual device state // contains filtered or unexported fields }
* Response: Device awaits passphrase state Deprecated in 2.3.0 @next Deprecated_PassphraseStateAck
Deprecated: Marked as deprecated in messages-common.proto.
func (*Deprecated_PassphraseStateRequest) Descriptor
deprecated
func (*Deprecated_PassphraseStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use Deprecated_PassphraseStateRequest.ProtoReflect.Descriptor instead.
func (*Deprecated_PassphraseStateRequest) GetState ¶
func (x *Deprecated_PassphraseStateRequest) GetState() []byte
func (*Deprecated_PassphraseStateRequest) ProtoMessage ¶
func (*Deprecated_PassphraseStateRequest) ProtoMessage()
func (*Deprecated_PassphraseStateRequest) ProtoReflect ¶
func (x *Deprecated_PassphraseStateRequest) ProtoReflect() protoreflect.Message
func (*Deprecated_PassphraseStateRequest) Reset ¶
func (x *Deprecated_PassphraseStateRequest) Reset()
func (*Deprecated_PassphraseStateRequest) String ¶
func (x *Deprecated_PassphraseStateRequest) String() string
type DoPreauthorized ¶
type DoPreauthorized struct {
// contains filtered or unexported fields
}
* Request: Ask device to prepare for a preauthorized operation. @start @next PreauthorizedRequest @next Failure
func (*DoPreauthorized) Descriptor
deprecated
func (*DoPreauthorized) Descriptor() ([]byte, []int)
Deprecated: Use DoPreauthorized.ProtoReflect.Descriptor instead.
func (*DoPreauthorized) ProtoMessage ¶
func (*DoPreauthorized) ProtoMessage()
func (*DoPreauthorized) ProtoReflect ¶
func (x *DoPreauthorized) ProtoReflect() protoreflect.Message
func (*DoPreauthorized) Reset ¶
func (x *DoPreauthorized) Reset()
func (*DoPreauthorized) String ¶
func (x *DoPreauthorized) String() string
type ECDHSessionKey ¶
type ECDHSessionKey struct { SessionKey []byte `protobuf:"bytes,1,req,name=session_key,json=sessionKey" json:"session_key,omitempty"` // ECDH session key PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey" json:"public_key,omitempty"` // identity public key // contains filtered or unexported fields }
* Response: Device provides ECDH session key @end
func (*ECDHSessionKey) Descriptor
deprecated
func (*ECDHSessionKey) Descriptor() ([]byte, []int)
Deprecated: Use ECDHSessionKey.ProtoReflect.Descriptor instead.
func (*ECDHSessionKey) GetPublicKey ¶
func (x *ECDHSessionKey) GetPublicKey() []byte
func (*ECDHSessionKey) GetSessionKey ¶
func (x *ECDHSessionKey) GetSessionKey() []byte
func (*ECDHSessionKey) ProtoMessage ¶
func (*ECDHSessionKey) ProtoMessage()
func (*ECDHSessionKey) ProtoReflect ¶
func (x *ECDHSessionKey) ProtoReflect() protoreflect.Message
func (*ECDHSessionKey) Reset ¶
func (x *ECDHSessionKey) Reset()
func (*ECDHSessionKey) String ¶
func (x *ECDHSessionKey) String() string
type EndSession ¶
type EndSession struct {
// contains filtered or unexported fields
}
* Request: end the current sesson. Following actions must call Initialize again. Cache for the current session is discarded, other sessions remain intact. Device is not PIN-locked. @start @next Success
func (*EndSession) Descriptor
deprecated
func (*EndSession) Descriptor() ([]byte, []int)
Deprecated: Use EndSession.ProtoReflect.Descriptor instead.
func (*EndSession) ProtoMessage ¶
func (*EndSession) ProtoMessage()
func (*EndSession) ProtoReflect ¶
func (x *EndSession) ProtoReflect() protoreflect.Message
func (*EndSession) Reset ¶
func (x *EndSession) Reset()
func (*EndSession) String ¶
func (x *EndSession) String() string
type Entropy ¶
type Entropy struct { Entropy []byte `protobuf:"bytes,1,req,name=entropy" json:"entropy,omitempty"` // chunk of random generated bytes // contains filtered or unexported fields }
* Response: Reply with random data generated by internal RNG @end
func (*Entropy) Descriptor
deprecated
func (*Entropy) GetEntropy ¶
func (*Entropy) ProtoMessage ¶
func (*Entropy) ProtoMessage()
func (*Entropy) ProtoReflect ¶
func (x *Entropy) ProtoReflect() protoreflect.Message
type EntropyAck ¶
type EntropyAck struct { Entropy []byte `protobuf:"bytes,1,req,name=entropy" json:"entropy,omitempty"` // 256 bits (32 bytes) of random data // contains filtered or unexported fields }
* Request: Provide additional entropy for seed generation function @next Success
func (*EntropyAck) Descriptor
deprecated
func (*EntropyAck) Descriptor() ([]byte, []int)
Deprecated: Use EntropyAck.ProtoReflect.Descriptor instead.
func (*EntropyAck) GetEntropy ¶
func (x *EntropyAck) GetEntropy() []byte
func (*EntropyAck) ProtoMessage ¶
func (*EntropyAck) ProtoMessage()
func (*EntropyAck) ProtoReflect ¶
func (x *EntropyAck) ProtoReflect() protoreflect.Message
func (*EntropyAck) Reset ¶
func (x *EntropyAck) Reset()
func (*EntropyAck) String ¶
func (x *EntropyAck) String() string
type EntropyRequest ¶
type EntropyRequest struct {
// contains filtered or unexported fields
}
* Response: Ask for additional entropy from host computer @next EntropyAck
func (*EntropyRequest) Descriptor
deprecated
func (*EntropyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EntropyRequest.ProtoReflect.Descriptor instead.
func (*EntropyRequest) ProtoMessage ¶
func (*EntropyRequest) ProtoMessage()
func (*EntropyRequest) ProtoReflect ¶
func (x *EntropyRequest) ProtoReflect() protoreflect.Message
func (*EntropyRequest) Reset ¶
func (x *EntropyRequest) Reset()
func (*EntropyRequest) String ¶
func (x *EntropyRequest) String() string
type EthereumAddress ¶
type EthereumAddress struct { // Deprecated: Marked as deprecated in messages-ethereum.proto. XOldAddress []byte `protobuf:"bytes,1,opt,name=_old_address,json=OldAddress" json:"_old_address,omitempty"` // trezor <1.8.0, <2.1.0 - raw bytes of Ethereum address Address *string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` // Ethereum address as hex-encoded string // contains filtered or unexported fields }
* Response: Contains an Ethereum address derived from device private seed @end
func (*EthereumAddress) Descriptor
deprecated
func (*EthereumAddress) Descriptor() ([]byte, []int)
Deprecated: Use EthereumAddress.ProtoReflect.Descriptor instead.
func (*EthereumAddress) GetAddress ¶
func (x *EthereumAddress) GetAddress() string
func (*EthereumAddress) GetXOldAddress
deprecated
func (x *EthereumAddress) GetXOldAddress() []byte
Deprecated: Marked as deprecated in messages-ethereum.proto.
func (*EthereumAddress) ProtoMessage ¶
func (*EthereumAddress) ProtoMessage()
func (*EthereumAddress) ProtoReflect ¶
func (x *EthereumAddress) ProtoReflect() protoreflect.Message
func (*EthereumAddress) Reset ¶
func (x *EthereumAddress) Reset()
func (*EthereumAddress) String ¶
func (x *EthereumAddress) String() string
type EthereumDefinitionType ¶
type EthereumDefinitionType int32
* Ethereum definitions type enum. Used to check the encoded EthereumNetworkInfo or EthereumTokenInfo message.
const ( EthereumDefinitionType_NETWORK EthereumDefinitionType = 0 EthereumDefinitionType_TOKEN EthereumDefinitionType = 1 )
func (EthereumDefinitionType) Descriptor ¶
func (EthereumDefinitionType) Descriptor() protoreflect.EnumDescriptor
func (EthereumDefinitionType) Enum ¶
func (x EthereumDefinitionType) Enum() *EthereumDefinitionType
func (EthereumDefinitionType) EnumDescriptor
deprecated
func (EthereumDefinitionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EthereumDefinitionType.Descriptor instead.
func (EthereumDefinitionType) Number ¶
func (x EthereumDefinitionType) Number() protoreflect.EnumNumber
func (EthereumDefinitionType) String ¶
func (x EthereumDefinitionType) String() string
func (EthereumDefinitionType) Type ¶
func (EthereumDefinitionType) Type() protoreflect.EnumType
func (*EthereumDefinitionType) UnmarshalJSON
deprecated
func (x *EthereumDefinitionType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type EthereumDefinitions ¶
type EthereumDefinitions struct { EncodedNetwork []byte `protobuf:"bytes,1,opt,name=encoded_network,json=encodedNetwork" json:"encoded_network,omitempty"` // encoded Ethereum network EncodedToken []byte `protobuf:"bytes,2,opt,name=encoded_token,json=encodedToken" json:"encoded_token,omitempty"` // encoded Ethereum token // contains filtered or unexported fields }
* Contains an encoded Ethereum network and/or token definition. See ethereum-definitions.md for details. @embed
func (*EthereumDefinitions) Descriptor
deprecated
func (*EthereumDefinitions) Descriptor() ([]byte, []int)
Deprecated: Use EthereumDefinitions.ProtoReflect.Descriptor instead.
func (*EthereumDefinitions) GetEncodedNetwork ¶
func (x *EthereumDefinitions) GetEncodedNetwork() []byte
func (*EthereumDefinitions) GetEncodedToken ¶
func (x *EthereumDefinitions) GetEncodedToken() []byte
func (*EthereumDefinitions) ProtoMessage ¶
func (*EthereumDefinitions) ProtoMessage()
func (*EthereumDefinitions) ProtoReflect ¶
func (x *EthereumDefinitions) ProtoReflect() protoreflect.Message
func (*EthereumDefinitions) Reset ¶
func (x *EthereumDefinitions) Reset()
func (*EthereumDefinitions) String ¶
func (x *EthereumDefinitions) String() string
type EthereumGetAddress ¶
type EthereumGetAddress struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node ShowDisplay *bool `protobuf:"varint,2,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"` // optionally show on display before sending the result EncodedNetwork []byte `protobuf:"bytes,3,opt,name=encoded_network,json=encodedNetwork" json:"encoded_network,omitempty"` // encoded Ethereum network, see ethereum-definitions.md for details Chunkify *bool `protobuf:"varint,4,opt,name=chunkify" json:"chunkify,omitempty"` // display the address in chunks of 4 characters // contains filtered or unexported fields }
* Request: Ask device for Ethereum address corresponding to address_n path @start @next EthereumAddress @next Failure
func (*EthereumGetAddress) Descriptor
deprecated
func (*EthereumGetAddress) Descriptor() ([]byte, []int)
Deprecated: Use EthereumGetAddress.ProtoReflect.Descriptor instead.
func (*EthereumGetAddress) GetAddressN ¶
func (x *EthereumGetAddress) GetAddressN() []uint32
func (*EthereumGetAddress) GetChunkify ¶
func (x *EthereumGetAddress) GetChunkify() bool
func (*EthereumGetAddress) GetEncodedNetwork ¶
func (x *EthereumGetAddress) GetEncodedNetwork() []byte
func (*EthereumGetAddress) GetShowDisplay ¶
func (x *EthereumGetAddress) GetShowDisplay() bool
func (*EthereumGetAddress) ProtoMessage ¶
func (*EthereumGetAddress) ProtoMessage()
func (*EthereumGetAddress) ProtoReflect ¶
func (x *EthereumGetAddress) ProtoReflect() protoreflect.Message
func (*EthereumGetAddress) Reset ¶
func (x *EthereumGetAddress) Reset()
func (*EthereumGetAddress) String ¶
func (x *EthereumGetAddress) String() string
type EthereumGetPublicKey ¶
type EthereumGetPublicKey struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node ShowDisplay *bool `protobuf:"varint,2,opt,name=show_display,json=showDisplay" json:"show_display,omitempty"` // optionally show on display before sending the result // contains filtered or unexported fields }
* Request: Ask device for public key corresponding to address_n path @start @next EthereumPublicKey @next Failure
func (*EthereumGetPublicKey) Descriptor
deprecated
func (*EthereumGetPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use EthereumGetPublicKey.ProtoReflect.Descriptor instead.
func (*EthereumGetPublicKey) GetAddressN ¶
func (x *EthereumGetPublicKey) GetAddressN() []uint32
func (*EthereumGetPublicKey) GetShowDisplay ¶
func (x *EthereumGetPublicKey) GetShowDisplay() bool
func (*EthereumGetPublicKey) ProtoMessage ¶
func (*EthereumGetPublicKey) ProtoMessage()
func (*EthereumGetPublicKey) ProtoReflect ¶
func (x *EthereumGetPublicKey) ProtoReflect() protoreflect.Message
func (*EthereumGetPublicKey) Reset ¶
func (x *EthereumGetPublicKey) Reset()
func (*EthereumGetPublicKey) String ¶
func (x *EthereumGetPublicKey) String() string
type EthereumMessageSignature ¶
type EthereumMessageSignature struct { Signature []byte `protobuf:"bytes,2,req,name=signature" json:"signature,omitempty"` // signature of the message Address *string `protobuf:"bytes,3,req,name=address" json:"address,omitempty"` // address used to sign the message // contains filtered or unexported fields }
* Response: Signed message @end
func (*EthereumMessageSignature) Descriptor
deprecated
func (*EthereumMessageSignature) Descriptor() ([]byte, []int)
Deprecated: Use EthereumMessageSignature.ProtoReflect.Descriptor instead.
func (*EthereumMessageSignature) GetAddress ¶
func (x *EthereumMessageSignature) GetAddress() string
func (*EthereumMessageSignature) GetSignature ¶
func (x *EthereumMessageSignature) GetSignature() []byte
func (*EthereumMessageSignature) ProtoMessage ¶
func (*EthereumMessageSignature) ProtoMessage()
func (*EthereumMessageSignature) ProtoReflect ¶
func (x *EthereumMessageSignature) ProtoReflect() protoreflect.Message
func (*EthereumMessageSignature) Reset ¶
func (x *EthereumMessageSignature) Reset()
func (*EthereumMessageSignature) String ¶
func (x *EthereumMessageSignature) String() string
type EthereumNetworkInfo ¶
type EthereumNetworkInfo struct { ChainId *uint64 `protobuf:"varint,1,req,name=chain_id,json=chainId" json:"chain_id,omitempty"` Symbol *string `protobuf:"bytes,2,req,name=symbol" json:"symbol,omitempty"` Slip44 *uint32 `protobuf:"varint,3,req,name=slip44" json:"slip44,omitempty"` Name *string `protobuf:"bytes,4,req,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
* Ethereum network definition. Used to (de)serialize the definition.
Definition types should not be cross-parseable, i.e., it should not be possible to incorrectly parse network info as token info or vice versa. To achieve that, the first field is wire type varint while the second field is wire type length-delimited. Both are a mismatch for the token definition.
@embed
func (*EthereumNetworkInfo) Descriptor
deprecated
func (*EthereumNetworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use EthereumNetworkInfo.ProtoReflect.Descriptor instead.
func (*EthereumNetworkInfo) GetChainId ¶
func (x *EthereumNetworkInfo) GetChainId() uint64
func (*EthereumNetworkInfo) GetName ¶
func (x *EthereumNetworkInfo) GetName() string
func (*EthereumNetworkInfo) GetSlip44 ¶
func (x *EthereumNetworkInfo) GetSlip44() uint32
func (*EthereumNetworkInfo) GetSymbol ¶
func (x *EthereumNetworkInfo) GetSymbol() string
func (*EthereumNetworkInfo) ProtoMessage ¶
func (*EthereumNetworkInfo) ProtoMessage()
func (*EthereumNetworkInfo) ProtoReflect ¶
func (x *EthereumNetworkInfo) ProtoReflect() protoreflect.Message
func (*EthereumNetworkInfo) Reset ¶
func (x *EthereumNetworkInfo) Reset()
func (*EthereumNetworkInfo) String ¶
func (x *EthereumNetworkInfo) String() string
type EthereumPublicKey ¶
type EthereumPublicKey struct { Node *HDNodeType `protobuf:"bytes,1,req,name=node" json:"node,omitempty"` // BIP32 public node Xpub *string `protobuf:"bytes,2,req,name=xpub" json:"xpub,omitempty"` // serialized form of public node // contains filtered or unexported fields }
* Response: Contains public key derived from device private seed @end
func (*EthereumPublicKey) Descriptor
deprecated
func (*EthereumPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use EthereumPublicKey.ProtoReflect.Descriptor instead.
func (*EthereumPublicKey) GetNode ¶
func (x *EthereumPublicKey) GetNode() *HDNodeType
func (*EthereumPublicKey) GetXpub ¶
func (x *EthereumPublicKey) GetXpub() string
func (*EthereumPublicKey) ProtoMessage ¶
func (*EthereumPublicKey) ProtoMessage()
func (*EthereumPublicKey) ProtoReflect ¶
func (x *EthereumPublicKey) ProtoReflect() protoreflect.Message
func (*EthereumPublicKey) Reset ¶
func (x *EthereumPublicKey) Reset()
func (*EthereumPublicKey) String ¶
func (x *EthereumPublicKey) String() string
type EthereumSignMessage ¶
type EthereumSignMessage struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node Message []byte `protobuf:"bytes,2,req,name=message" json:"message,omitempty"` // message to be signed EncodedNetwork []byte `protobuf:"bytes,3,opt,name=encoded_network,json=encodedNetwork" json:"encoded_network,omitempty"` // encoded Ethereum network, see ethereum-definitions.md for details Chunkify *bool `protobuf:"varint,4,opt,name=chunkify" json:"chunkify,omitempty"` // display the address in chunks of 4 characters // contains filtered or unexported fields }
* Request: Ask device to sign message @start @next EthereumMessageSignature @next Failure
func (*EthereumSignMessage) Descriptor
deprecated
func (*EthereumSignMessage) Descriptor() ([]byte, []int)
Deprecated: Use EthereumSignMessage.ProtoReflect.Descriptor instead.
func (*EthereumSignMessage) GetAddressN ¶
func (x *EthereumSignMessage) GetAddressN() []uint32
func (*EthereumSignMessage) GetChunkify ¶
func (x *EthereumSignMessage) GetChunkify() bool
func (*EthereumSignMessage) GetEncodedNetwork ¶
func (x *EthereumSignMessage) GetEncodedNetwork() []byte
func (*EthereumSignMessage) GetMessage ¶
func (x *EthereumSignMessage) GetMessage() []byte
func (*EthereumSignMessage) ProtoMessage ¶
func (*EthereumSignMessage) ProtoMessage()
func (*EthereumSignMessage) ProtoReflect ¶
func (x *EthereumSignMessage) ProtoReflect() protoreflect.Message
func (*EthereumSignMessage) Reset ¶
func (x *EthereumSignMessage) Reset()
func (*EthereumSignMessage) String ¶
func (x *EthereumSignMessage) String() string
type EthereumSignTx ¶
type EthereumSignTx struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node Nonce []byte `protobuf:"bytes,2,opt,name=nonce,def=" json:"nonce,omitempty"` // <=256 bit unsigned big endian GasPrice []byte `protobuf:"bytes,3,req,name=gas_price,json=gasPrice" json:"gas_price,omitempty"` // <=256 bit unsigned big endian (in wei) GasLimit []byte `protobuf:"bytes,4,req,name=gas_limit,json=gasLimit" json:"gas_limit,omitempty"` // <=256 bit unsigned big endian To *string `protobuf:"bytes,11,opt,name=to,def=" json:"to,omitempty"` // recipient address Value []byte `protobuf:"bytes,6,opt,name=value,def=" json:"value,omitempty"` // <=256 bit unsigned big endian (in wei) DataInitialChunk []byte `protobuf:"bytes,7,opt,name=data_initial_chunk,json=dataInitialChunk,def=" json:"data_initial_chunk,omitempty"` // The initial data chunk (<= 1024 bytes) DataLength *uint32 `protobuf:"varint,8,opt,name=data_length,json=dataLength,def=0" json:"data_length,omitempty"` // Length of transaction payload ChainId *uint64 `protobuf:"varint,9,req,name=chain_id,json=chainId" json:"chain_id,omitempty"` // Chain Id for EIP 155 TxType *uint32 `protobuf:"varint,10,opt,name=tx_type,json=txType" json:"tx_type,omitempty"` // Used for Wanchain Definitions *EthereumDefinitions `protobuf:"bytes,12,opt,name=definitions" json:"definitions,omitempty"` // network and/or token definitions for tx Chunkify *bool `protobuf:"varint,13,opt,name=chunkify" json:"chunkify,omitempty"` // display the address in chunks of 4 characters // contains filtered or unexported fields }
* Request: Ask device to sign transaction gas_price, gas_limit and chain_id must be provided and non-zero. All other fields are optional and default to value `0` if missing. Note: the first at most 1024 bytes of data MUST be transmitted as part of this message. @start @next EthereumTxRequest @next Failure
func (*EthereumSignTx) Descriptor
deprecated
func (*EthereumSignTx) Descriptor() ([]byte, []int)
Deprecated: Use EthereumSignTx.ProtoReflect.Descriptor instead.
func (*EthereumSignTx) GetAddressN ¶
func (x *EthereumSignTx) GetAddressN() []uint32
func (*EthereumSignTx) GetChainId ¶
func (x *EthereumSignTx) GetChainId() uint64
func (*EthereumSignTx) GetChunkify ¶
func (x *EthereumSignTx) GetChunkify() bool
func (*EthereumSignTx) GetDataInitialChunk ¶
func (x *EthereumSignTx) GetDataInitialChunk() []byte
func (*EthereumSignTx) GetDataLength ¶
func (x *EthereumSignTx) GetDataLength() uint32
func (*EthereumSignTx) GetDefinitions ¶
func (x *EthereumSignTx) GetDefinitions() *EthereumDefinitions
func (*EthereumSignTx) GetGasLimit ¶
func (x *EthereumSignTx) GetGasLimit() []byte
func (*EthereumSignTx) GetGasPrice ¶
func (x *EthereumSignTx) GetGasPrice() []byte
func (*EthereumSignTx) GetNonce ¶
func (x *EthereumSignTx) GetNonce() []byte
func (*EthereumSignTx) GetTo ¶
func (x *EthereumSignTx) GetTo() string
func (*EthereumSignTx) GetTxType ¶
func (x *EthereumSignTx) GetTxType() uint32
func (*EthereumSignTx) GetValue ¶
func (x *EthereumSignTx) GetValue() []byte
func (*EthereumSignTx) ProtoMessage ¶
func (*EthereumSignTx) ProtoMessage()
func (*EthereumSignTx) ProtoReflect ¶
func (x *EthereumSignTx) ProtoReflect() protoreflect.Message
func (*EthereumSignTx) Reset ¶
func (x *EthereumSignTx) Reset()
func (*EthereumSignTx) String ¶
func (x *EthereumSignTx) String() string
type EthereumSignTxEIP1559 ¶
type EthereumSignTxEIP1559 struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node Nonce []byte `protobuf:"bytes,2,req,name=nonce" json:"nonce,omitempty"` // <=256 bit unsigned big endian MaxGasFee []byte `protobuf:"bytes,3,req,name=max_gas_fee,json=maxGasFee" json:"max_gas_fee,omitempty"` // <=256 bit unsigned big endian (in wei) MaxPriorityFee []byte `protobuf:"bytes,4,req,name=max_priority_fee,json=maxPriorityFee" json:"max_priority_fee,omitempty"` // <=256 bit unsigned big endian (in wei) GasLimit []byte `protobuf:"bytes,5,req,name=gas_limit,json=gasLimit" json:"gas_limit,omitempty"` // <=256 bit unsigned big endian To *string `protobuf:"bytes,6,opt,name=to,def=" json:"to,omitempty"` // recipient address Value []byte `protobuf:"bytes,7,req,name=value" json:"value,omitempty"` // <=256 bit unsigned big endian (in wei) DataInitialChunk []byte `protobuf:"bytes,8,opt,name=data_initial_chunk,json=dataInitialChunk,def=" json:"data_initial_chunk,omitempty"` // The initial data chunk (<= 1024 bytes) DataLength *uint32 `protobuf:"varint,9,req,name=data_length,json=dataLength" json:"data_length,omitempty"` // Length of transaction payload ChainId *uint64 `protobuf:"varint,10,req,name=chain_id,json=chainId" json:"chain_id,omitempty"` // Chain Id for EIP 155 AccessList []*EthereumSignTxEIP1559_EthereumAccessList `protobuf:"bytes,11,rep,name=access_list,json=accessList" json:"access_list,omitempty"` // Access List Definitions *EthereumDefinitions `protobuf:"bytes,12,opt,name=definitions" json:"definitions,omitempty"` // network and/or token definitions for tx Chunkify *bool `protobuf:"varint,13,opt,name=chunkify" json:"chunkify,omitempty"` // display the address in chunks of 4 characters // contains filtered or unexported fields }
* Request: Ask device to sign EIP1559 transaction Note: the first at most 1024 bytes of data MUST be transmitted as part of this message. @start @next EthereumTxRequest @next Failure
func (*EthereumSignTxEIP1559) Descriptor
deprecated
func (*EthereumSignTxEIP1559) Descriptor() ([]byte, []int)
Deprecated: Use EthereumSignTxEIP1559.ProtoReflect.Descriptor instead.
func (*EthereumSignTxEIP1559) GetAccessList ¶
func (x *EthereumSignTxEIP1559) GetAccessList() []*EthereumSignTxEIP1559_EthereumAccessList
func (*EthereumSignTxEIP1559) GetAddressN ¶
func (x *EthereumSignTxEIP1559) GetAddressN() []uint32
func (*EthereumSignTxEIP1559) GetChainId ¶
func (x *EthereumSignTxEIP1559) GetChainId() uint64
func (*EthereumSignTxEIP1559) GetChunkify ¶
func (x *EthereumSignTxEIP1559) GetChunkify() bool
func (*EthereumSignTxEIP1559) GetDataInitialChunk ¶
func (x *EthereumSignTxEIP1559) GetDataInitialChunk() []byte
func (*EthereumSignTxEIP1559) GetDataLength ¶
func (x *EthereumSignTxEIP1559) GetDataLength() uint32
func (*EthereumSignTxEIP1559) GetDefinitions ¶
func (x *EthereumSignTxEIP1559) GetDefinitions() *EthereumDefinitions
func (*EthereumSignTxEIP1559) GetGasLimit ¶
func (x *EthereumSignTxEIP1559) GetGasLimit() []byte
func (*EthereumSignTxEIP1559) GetMaxGasFee ¶
func (x *EthereumSignTxEIP1559) GetMaxGasFee() []byte
func (*EthereumSignTxEIP1559) GetMaxPriorityFee ¶
func (x *EthereumSignTxEIP1559) GetMaxPriorityFee() []byte
func (*EthereumSignTxEIP1559) GetNonce ¶
func (x *EthereumSignTxEIP1559) GetNonce() []byte
func (*EthereumSignTxEIP1559) GetTo ¶
func (x *EthereumSignTxEIP1559) GetTo() string
func (*EthereumSignTxEIP1559) GetValue ¶
func (x *EthereumSignTxEIP1559) GetValue() []byte
func (*EthereumSignTxEIP1559) ProtoMessage ¶
func (*EthereumSignTxEIP1559) ProtoMessage()
func (*EthereumSignTxEIP1559) ProtoReflect ¶
func (x *EthereumSignTxEIP1559) ProtoReflect() protoreflect.Message
func (*EthereumSignTxEIP1559) Reset ¶
func (x *EthereumSignTxEIP1559) Reset()
func (*EthereumSignTxEIP1559) String ¶
func (x *EthereumSignTxEIP1559) String() string
type EthereumSignTxEIP1559_EthereumAccessList ¶
type EthereumSignTxEIP1559_EthereumAccessList struct { Address *string `protobuf:"bytes,1,req,name=address" json:"address,omitempty"` StorageKeys [][]byte `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys" json:"storage_keys,omitempty"` // contains filtered or unexported fields }
func (*EthereumSignTxEIP1559_EthereumAccessList) Descriptor
deprecated
func (*EthereumSignTxEIP1559_EthereumAccessList) Descriptor() ([]byte, []int)
Deprecated: Use EthereumSignTxEIP1559_EthereumAccessList.ProtoReflect.Descriptor instead.
func (*EthereumSignTxEIP1559_EthereumAccessList) GetAddress ¶
func (x *EthereumSignTxEIP1559_EthereumAccessList) GetAddress() string
func (*EthereumSignTxEIP1559_EthereumAccessList) GetStorageKeys ¶
func (x *EthereumSignTxEIP1559_EthereumAccessList) GetStorageKeys() [][]byte
func (*EthereumSignTxEIP1559_EthereumAccessList) ProtoMessage ¶
func (*EthereumSignTxEIP1559_EthereumAccessList) ProtoMessage()
func (*EthereumSignTxEIP1559_EthereumAccessList) ProtoReflect ¶
func (x *EthereumSignTxEIP1559_EthereumAccessList) ProtoReflect() protoreflect.Message
func (*EthereumSignTxEIP1559_EthereumAccessList) Reset ¶
func (x *EthereumSignTxEIP1559_EthereumAccessList) Reset()
func (*EthereumSignTxEIP1559_EthereumAccessList) String ¶
func (x *EthereumSignTxEIP1559_EthereumAccessList) String() string
type EthereumSignTypedData ¶
type EthereumSignTypedData struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node PrimaryType *string `protobuf:"bytes,2,req,name=primary_type,json=primaryType" json:"primary_type,omitempty"` // name of the root message struct MetamaskV4Compat *bool `protobuf:"varint,3,opt,name=metamask_v4_compat,json=metamaskV4Compat,def=1" json:"metamask_v4_compat,omitempty"` // use MetaMask v4 (see https://github.com/MetaMask/eth-sig-util/issues/106) Definitions *EthereumDefinitions `protobuf:"bytes,4,opt,name=definitions" json:"definitions,omitempty"` // network and/or token definitions // contains filtered or unexported fields }
* Request: Ask device to sign typed data @start @next EthereumTypedDataStructRequest @next EthereumTypedDataValueRequest @next EthereumTypedDataSignature @next Failure
func (*EthereumSignTypedData) Descriptor
deprecated
func (*EthereumSignTypedData) Descriptor() ([]byte, []int)
Deprecated: Use EthereumSignTypedData.ProtoReflect.Descriptor instead.
func (*EthereumSignTypedData) GetAddressN ¶
func (x *EthereumSignTypedData) GetAddressN() []uint32
func (*EthereumSignTypedData) GetDefinitions ¶
func (x *EthereumSignTypedData) GetDefinitions() *EthereumDefinitions
func (*EthereumSignTypedData) GetMetamaskV4Compat ¶
func (x *EthereumSignTypedData) GetMetamaskV4Compat() bool
func (*EthereumSignTypedData) GetPrimaryType ¶
func (x *EthereumSignTypedData) GetPrimaryType() string
func (*EthereumSignTypedData) ProtoMessage ¶
func (*EthereumSignTypedData) ProtoMessage()
func (*EthereumSignTypedData) ProtoReflect ¶
func (x *EthereumSignTypedData) ProtoReflect() protoreflect.Message
func (*EthereumSignTypedData) Reset ¶
func (x *EthereumSignTypedData) Reset()
func (*EthereumSignTypedData) String ¶
func (x *EthereumSignTypedData) String() string
type EthereumSignTypedHash ¶
type EthereumSignTypedHash struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // BIP-32 path to derive the key from master node DomainSeparatorHash []byte `protobuf:"bytes,2,req,name=domain_separator_hash,json=domainSeparatorHash" json:"domain_separator_hash,omitempty"` // Hash of domainSeparator of typed data to be signed MessageHash []byte `protobuf:"bytes,3,opt,name=message_hash,json=messageHash" json:"message_hash,omitempty"` // Hash of the data of typed data to be signed (empty if domain-only data) EncodedNetwork []byte `protobuf:"bytes,4,opt,name=encoded_network,json=encodedNetwork" json:"encoded_network,omitempty"` // encoded Ethereum network, see ethereum-definitions.md for details // contains filtered or unexported fields }
* Request: Ask device to sign hash of typed data @start @next EthereumTypedDataSignature @next Failure
func (*EthereumSignTypedHash) Descriptor
deprecated
func (*EthereumSignTypedHash) Descriptor() ([]byte, []int)
Deprecated: Use EthereumSignTypedHash.ProtoReflect.Descriptor instead.
func (*EthereumSignTypedHash) GetAddressN ¶
func (x *EthereumSignTypedHash) GetAddressN() []uint32
func (*EthereumSignTypedHash) GetDomainSeparatorHash ¶
func (x *EthereumSignTypedHash) GetDomainSeparatorHash() []byte
func (*EthereumSignTypedHash) GetEncodedNetwork ¶
func (x *EthereumSignTypedHash) GetEncodedNetwork() []byte
func (*EthereumSignTypedHash) GetMessageHash ¶
func (x *EthereumSignTypedHash) GetMessageHash() []byte
func (*EthereumSignTypedHash) ProtoMessage ¶
func (*EthereumSignTypedHash) ProtoMessage()
func (*EthereumSignTypedHash) ProtoReflect ¶
func (x *EthereumSignTypedHash) ProtoReflect() protoreflect.Message
func (*EthereumSignTypedHash) Reset ¶
func (x *EthereumSignTypedHash) Reset()
func (*EthereumSignTypedHash) String ¶
func (x *EthereumSignTypedHash) String() string
type EthereumTokenInfo ¶
type EthereumTokenInfo struct { Address []byte `protobuf:"bytes,1,req,name=address" json:"address,omitempty"` ChainId *uint64 `protobuf:"varint,2,req,name=chain_id,json=chainId" json:"chain_id,omitempty"` Symbol *string `protobuf:"bytes,3,req,name=symbol" json:"symbol,omitempty"` Decimals *uint32 `protobuf:"varint,4,req,name=decimals" json:"decimals,omitempty"` Name *string `protobuf:"bytes,5,req,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
* Ethereum token definition. Used to (de)serialize the definition.
Definition types should not be cross-parseable, i.e., it should not be possible to incorrectly parse network info as token info or vice versa. To achieve that, the first field is wire type length-delimited while the second field is wire type varint. Both are a mismatch for the network definition.
@embed
func (*EthereumTokenInfo) Descriptor
deprecated
func (*EthereumTokenInfo) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTokenInfo.ProtoReflect.Descriptor instead.
func (*EthereumTokenInfo) GetAddress ¶
func (x *EthereumTokenInfo) GetAddress() []byte
func (*EthereumTokenInfo) GetChainId ¶
func (x *EthereumTokenInfo) GetChainId() uint64
func (*EthereumTokenInfo) GetDecimals ¶
func (x *EthereumTokenInfo) GetDecimals() uint32
func (*EthereumTokenInfo) GetName ¶
func (x *EthereumTokenInfo) GetName() string
func (*EthereumTokenInfo) GetSymbol ¶
func (x *EthereumTokenInfo) GetSymbol() string
func (*EthereumTokenInfo) ProtoMessage ¶
func (*EthereumTokenInfo) ProtoMessage()
func (*EthereumTokenInfo) ProtoReflect ¶
func (x *EthereumTokenInfo) ProtoReflect() protoreflect.Message
func (*EthereumTokenInfo) Reset ¶
func (x *EthereumTokenInfo) Reset()
func (*EthereumTokenInfo) String ¶
func (x *EthereumTokenInfo) String() string
type EthereumTxAck ¶
type EthereumTxAck struct { DataChunk []byte `protobuf:"bytes,1,req,name=data_chunk,json=dataChunk" json:"data_chunk,omitempty"` // Bytes from transaction payload (<= 1024 bytes) // contains filtered or unexported fields }
* Request: Transaction payload data. @next EthereumTxRequest
func (*EthereumTxAck) Descriptor
deprecated
func (*EthereumTxAck) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTxAck.ProtoReflect.Descriptor instead.
func (*EthereumTxAck) GetDataChunk ¶
func (x *EthereumTxAck) GetDataChunk() []byte
func (*EthereumTxAck) ProtoMessage ¶
func (*EthereumTxAck) ProtoMessage()
func (*EthereumTxAck) ProtoReflect ¶
func (x *EthereumTxAck) ProtoReflect() protoreflect.Message
func (*EthereumTxAck) Reset ¶
func (x *EthereumTxAck) Reset()
func (*EthereumTxAck) String ¶
func (x *EthereumTxAck) String() string
type EthereumTxRequest ¶
type EthereumTxRequest struct { DataLength *uint32 `protobuf:"varint,1,opt,name=data_length,json=dataLength" json:"data_length,omitempty"` // Number of bytes being requested (<= 1024) SignatureV *uint32 `protobuf:"varint,2,opt,name=signature_v,json=signatureV" json:"signature_v,omitempty"` // Computed signature (recovery parameter, limited to 27 or 28) SignatureR []byte `protobuf:"bytes,3,opt,name=signature_r,json=signatureR" json:"signature_r,omitempty"` // Computed signature R component (256 bit) SignatureS []byte `protobuf:"bytes,4,opt,name=signature_s,json=signatureS" json:"signature_s,omitempty"` // Computed signature S component (256 bit) // contains filtered or unexported fields }
* Response: Device asks for more data from transaction payload, or returns the signature. If data_length is set, device awaits that many more bytes of payload. Otherwise, the signature_* fields contain the computed transaction signature. All three fields will be present. @end @next EthereumTxAck
func (*EthereumTxRequest) Descriptor
deprecated
func (*EthereumTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTxRequest.ProtoReflect.Descriptor instead.
func (*EthereumTxRequest) GetDataLength ¶
func (x *EthereumTxRequest) GetDataLength() uint32
func (*EthereumTxRequest) GetSignatureR ¶
func (x *EthereumTxRequest) GetSignatureR() []byte
func (*EthereumTxRequest) GetSignatureS ¶
func (x *EthereumTxRequest) GetSignatureS() []byte
func (*EthereumTxRequest) GetSignatureV ¶
func (x *EthereumTxRequest) GetSignatureV() uint32
func (*EthereumTxRequest) ProtoMessage ¶
func (*EthereumTxRequest) ProtoMessage()
func (*EthereumTxRequest) ProtoReflect ¶
func (x *EthereumTxRequest) ProtoReflect() protoreflect.Message
func (*EthereumTxRequest) Reset ¶
func (x *EthereumTxRequest) Reset()
func (*EthereumTxRequest) String ¶
func (x *EthereumTxRequest) String() string
type EthereumTypedDataSignature ¶
type EthereumTypedDataSignature struct { Signature []byte `protobuf:"bytes,1,req,name=signature" json:"signature,omitempty"` // signature of the typed data Address *string `protobuf:"bytes,2,req,name=address" json:"address,omitempty"` // address used to sign the typed data // contains filtered or unexported fields }
* Response: Signed typed data @end
func (*EthereumTypedDataSignature) Descriptor
deprecated
func (*EthereumTypedDataSignature) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTypedDataSignature.ProtoReflect.Descriptor instead.
func (*EthereumTypedDataSignature) GetAddress ¶
func (x *EthereumTypedDataSignature) GetAddress() string
func (*EthereumTypedDataSignature) GetSignature ¶
func (x *EthereumTypedDataSignature) GetSignature() []byte
func (*EthereumTypedDataSignature) ProtoMessage ¶
func (*EthereumTypedDataSignature) ProtoMessage()
func (*EthereumTypedDataSignature) ProtoReflect ¶
func (x *EthereumTypedDataSignature) ProtoReflect() protoreflect.Message
func (*EthereumTypedDataSignature) Reset ¶
func (x *EthereumTypedDataSignature) Reset()
func (*EthereumTypedDataSignature) String ¶
func (x *EthereumTypedDataSignature) String() string
type EthereumTypedDataStructAck ¶
type EthereumTypedDataStructAck struct { Members []*EthereumTypedDataStructAck_EthereumStructMember `protobuf:"bytes,1,rep,name=members" json:"members,omitempty"` // contains filtered or unexported fields }
* Request: Type information about a struct. @next EthereumTypedDataStructRequest
func (*EthereumTypedDataStructAck) Descriptor
deprecated
func (*EthereumTypedDataStructAck) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTypedDataStructAck.ProtoReflect.Descriptor instead.
func (*EthereumTypedDataStructAck) GetMembers ¶
func (x *EthereumTypedDataStructAck) GetMembers() []*EthereumTypedDataStructAck_EthereumStructMember
func (*EthereumTypedDataStructAck) ProtoMessage ¶
func (*EthereumTypedDataStructAck) ProtoMessage()
func (*EthereumTypedDataStructAck) ProtoReflect ¶
func (x *EthereumTypedDataStructAck) ProtoReflect() protoreflect.Message
func (*EthereumTypedDataStructAck) Reset ¶
func (x *EthereumTypedDataStructAck) Reset()
func (*EthereumTypedDataStructAck) String ¶
func (x *EthereumTypedDataStructAck) String() string
type EthereumTypedDataStructAck_EthereumDataType ¶
type EthereumTypedDataStructAck_EthereumDataType int32
const ( EthereumTypedDataStructAck_UINT EthereumTypedDataStructAck_EthereumDataType = 1 EthereumTypedDataStructAck_INT EthereumTypedDataStructAck_EthereumDataType = 2 EthereumTypedDataStructAck_BYTES EthereumTypedDataStructAck_EthereumDataType = 3 EthereumTypedDataStructAck_STRING EthereumTypedDataStructAck_EthereumDataType = 4 EthereumTypedDataStructAck_BOOL EthereumTypedDataStructAck_EthereumDataType = 5 EthereumTypedDataStructAck_ADDRESS EthereumTypedDataStructAck_EthereumDataType = 6 EthereumTypedDataStructAck_ARRAY EthereumTypedDataStructAck_EthereumDataType = 7 EthereumTypedDataStructAck_STRUCT EthereumTypedDataStructAck_EthereumDataType = 8 )
func (EthereumTypedDataStructAck_EthereumDataType) Descriptor ¶
func (EthereumTypedDataStructAck_EthereumDataType) Descriptor() protoreflect.EnumDescriptor
func (EthereumTypedDataStructAck_EthereumDataType) EnumDescriptor
deprecated
func (EthereumTypedDataStructAck_EthereumDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EthereumTypedDataStructAck_EthereumDataType.Descriptor instead.
func (EthereumTypedDataStructAck_EthereumDataType) Number ¶
func (x EthereumTypedDataStructAck_EthereumDataType) Number() protoreflect.EnumNumber
func (EthereumTypedDataStructAck_EthereumDataType) String ¶
func (x EthereumTypedDataStructAck_EthereumDataType) String() string
func (EthereumTypedDataStructAck_EthereumDataType) Type ¶
func (EthereumTypedDataStructAck_EthereumDataType) Type() protoreflect.EnumType
func (*EthereumTypedDataStructAck_EthereumDataType) UnmarshalJSON
deprecated
func (x *EthereumTypedDataStructAck_EthereumDataType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type EthereumTypedDataStructAck_EthereumFieldType ¶
type EthereumTypedDataStructAck_EthereumFieldType struct { DataType *EthereumTypedDataStructAck_EthereumDataType `` /* 163-byte string literal not displayed */ Size *uint32 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"` // for integer types: size in bytes (uint8 has size 1, uint256 has size 32) // for bytes types: size in bytes, or unset for dynamic // for arrays: size in elements, or unset for dynamic // for structs: number of members // for string, bool and address: unset EntryType *EthereumTypedDataStructAck_EthereumFieldType `protobuf:"bytes,3,opt,name=entry_type,json=entryType" json:"entry_type,omitempty"` // for array types, type of single entry StructName *string `protobuf:"bytes,4,opt,name=struct_name,json=structName" json:"struct_name,omitempty"` // for structs: its name // contains filtered or unexported fields }
func (*EthereumTypedDataStructAck_EthereumFieldType) Descriptor
deprecated
func (*EthereumTypedDataStructAck_EthereumFieldType) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTypedDataStructAck_EthereumFieldType.ProtoReflect.Descriptor instead.
func (*EthereumTypedDataStructAck_EthereumFieldType) GetDataType ¶
func (x *EthereumTypedDataStructAck_EthereumFieldType) GetDataType() EthereumTypedDataStructAck_EthereumDataType
func (*EthereumTypedDataStructAck_EthereumFieldType) GetEntryType ¶
func (x *EthereumTypedDataStructAck_EthereumFieldType) GetEntryType() *EthereumTypedDataStructAck_EthereumFieldType
func (*EthereumTypedDataStructAck_EthereumFieldType) GetSize ¶
func (x *EthereumTypedDataStructAck_EthereumFieldType) GetSize() uint32
func (*EthereumTypedDataStructAck_EthereumFieldType) GetStructName ¶
func (x *EthereumTypedDataStructAck_EthereumFieldType) GetStructName() string
func (*EthereumTypedDataStructAck_EthereumFieldType) ProtoMessage ¶
func (*EthereumTypedDataStructAck_EthereumFieldType) ProtoMessage()
func (*EthereumTypedDataStructAck_EthereumFieldType) ProtoReflect ¶
func (x *EthereumTypedDataStructAck_EthereumFieldType) ProtoReflect() protoreflect.Message
func (*EthereumTypedDataStructAck_EthereumFieldType) Reset ¶
func (x *EthereumTypedDataStructAck_EthereumFieldType) Reset()
func (*EthereumTypedDataStructAck_EthereumFieldType) String ¶
func (x *EthereumTypedDataStructAck_EthereumFieldType) String() string
type EthereumTypedDataStructAck_EthereumStructMember ¶
type EthereumTypedDataStructAck_EthereumStructMember struct { Type *EthereumTypedDataStructAck_EthereumFieldType `protobuf:"bytes,1,req,name=type" json:"type,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*EthereumTypedDataStructAck_EthereumStructMember) Descriptor
deprecated
func (*EthereumTypedDataStructAck_EthereumStructMember) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTypedDataStructAck_EthereumStructMember.ProtoReflect.Descriptor instead.
func (*EthereumTypedDataStructAck_EthereumStructMember) GetName ¶
func (x *EthereumTypedDataStructAck_EthereumStructMember) GetName() string
func (*EthereumTypedDataStructAck_EthereumStructMember) ProtoMessage ¶
func (*EthereumTypedDataStructAck_EthereumStructMember) ProtoMessage()
func (*EthereumTypedDataStructAck_EthereumStructMember) ProtoReflect ¶
func (x *EthereumTypedDataStructAck_EthereumStructMember) ProtoReflect() protoreflect.Message
func (*EthereumTypedDataStructAck_EthereumStructMember) Reset ¶
func (x *EthereumTypedDataStructAck_EthereumStructMember) Reset()
func (*EthereumTypedDataStructAck_EthereumStructMember) String ¶
func (x *EthereumTypedDataStructAck_EthereumStructMember) String() string
type EthereumTypedDataStructRequest ¶
type EthereumTypedDataStructRequest struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // name of the requested struct // contains filtered or unexported fields }
* Response: Device asks for type information about a struct. @next EthereumTypedDataStructAck
func (*EthereumTypedDataStructRequest) Descriptor
deprecated
func (*EthereumTypedDataStructRequest) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTypedDataStructRequest.ProtoReflect.Descriptor instead.
func (*EthereumTypedDataStructRequest) GetName ¶
func (x *EthereumTypedDataStructRequest) GetName() string
func (*EthereumTypedDataStructRequest) ProtoMessage ¶
func (*EthereumTypedDataStructRequest) ProtoMessage()
func (*EthereumTypedDataStructRequest) ProtoReflect ¶
func (x *EthereumTypedDataStructRequest) ProtoReflect() protoreflect.Message
func (*EthereumTypedDataStructRequest) Reset ¶
func (x *EthereumTypedDataStructRequest) Reset()
func (*EthereumTypedDataStructRequest) String ¶
func (x *EthereumTypedDataStructRequest) String() string
type EthereumTypedDataValueAck ¶
type EthereumTypedDataValueAck struct { Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
* Request: Single value of a specific atomic field. @next EthereumTypedDataValueRequest
func (*EthereumTypedDataValueAck) Descriptor
deprecated
func (*EthereumTypedDataValueAck) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTypedDataValueAck.ProtoReflect.Descriptor instead.
func (*EthereumTypedDataValueAck) GetValue ¶
func (x *EthereumTypedDataValueAck) GetValue() []byte
func (*EthereumTypedDataValueAck) ProtoMessage ¶
func (*EthereumTypedDataValueAck) ProtoMessage()
func (*EthereumTypedDataValueAck) ProtoReflect ¶
func (x *EthereumTypedDataValueAck) ProtoReflect() protoreflect.Message
func (*EthereumTypedDataValueAck) Reset ¶
func (x *EthereumTypedDataValueAck) Reset()
func (*EthereumTypedDataValueAck) String ¶
func (x *EthereumTypedDataValueAck) String() string
type EthereumTypedDataValueRequest ¶
type EthereumTypedDataValueRequest struct { MemberPath []uint32 `protobuf:"varint,1,rep,name=member_path,json=memberPath" json:"member_path,omitempty"` // member path requested by device // contains filtered or unexported fields }
* Response: Device asks for data at the specific member path. @next EthereumTypedDataValueAck
func (*EthereumTypedDataValueRequest) Descriptor
deprecated
func (*EthereumTypedDataValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use EthereumTypedDataValueRequest.ProtoReflect.Descriptor instead.
func (*EthereumTypedDataValueRequest) GetMemberPath ¶
func (x *EthereumTypedDataValueRequest) GetMemberPath() []uint32
func (*EthereumTypedDataValueRequest) ProtoMessage ¶
func (*EthereumTypedDataValueRequest) ProtoMessage()
func (*EthereumTypedDataValueRequest) ProtoReflect ¶
func (x *EthereumTypedDataValueRequest) ProtoReflect() protoreflect.Message
func (*EthereumTypedDataValueRequest) Reset ¶
func (x *EthereumTypedDataValueRequest) Reset()
func (*EthereumTypedDataValueRequest) String ¶
func (x *EthereumTypedDataValueRequest) String() string
type EthereumVerifyMessage ¶
type EthereumVerifyMessage struct { Signature []byte `protobuf:"bytes,2,req,name=signature" json:"signature,omitempty"` // signature to verify Message []byte `protobuf:"bytes,3,req,name=message" json:"message,omitempty"` // message to verify Address *string `protobuf:"bytes,4,req,name=address" json:"address,omitempty"` // address to verify Chunkify *bool `protobuf:"varint,5,opt,name=chunkify" json:"chunkify,omitempty"` // display the address in chunks of 4 characters // contains filtered or unexported fields }
* Request: Ask device to verify message @start @next Success @next Failure
func (*EthereumVerifyMessage) Descriptor
deprecated
func (*EthereumVerifyMessage) Descriptor() ([]byte, []int)
Deprecated: Use EthereumVerifyMessage.ProtoReflect.Descriptor instead.
func (*EthereumVerifyMessage) GetAddress ¶
func (x *EthereumVerifyMessage) GetAddress() string
func (*EthereumVerifyMessage) GetChunkify ¶
func (x *EthereumVerifyMessage) GetChunkify() bool
func (*EthereumVerifyMessage) GetMessage ¶
func (x *EthereumVerifyMessage) GetMessage() []byte
func (*EthereumVerifyMessage) GetSignature ¶
func (x *EthereumVerifyMessage) GetSignature() []byte
func (*EthereumVerifyMessage) ProtoMessage ¶
func (*EthereumVerifyMessage) ProtoMessage()
func (*EthereumVerifyMessage) ProtoReflect ¶
func (x *EthereumVerifyMessage) ProtoReflect() protoreflect.Message
func (*EthereumVerifyMessage) Reset ¶
func (x *EthereumVerifyMessage) Reset()
func (*EthereumVerifyMessage) String ¶
func (x *EthereumVerifyMessage) String() string
type Failure ¶
type Failure struct { Code *Failure_FailureType `protobuf:"varint,1,opt,name=code,enum=hw.trezor.messages.common.Failure_FailureType" json:"code,omitempty"` // computer-readable definition of the error state Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` // human-readable message of the error state // contains filtered or unexported fields }
* Response: Failure of the previous request @end
func (*Failure) Descriptor
deprecated
func (*Failure) GetCode ¶
func (x *Failure) GetCode() Failure_FailureType
func (*Failure) GetMessage ¶
func (*Failure) ProtoMessage ¶
func (*Failure) ProtoMessage()
func (*Failure) ProtoReflect ¶
func (x *Failure) ProtoReflect() protoreflect.Message
type Failure_FailureType ¶
type Failure_FailureType int32
const ( Failure_Failure_UnexpectedMessage Failure_FailureType = 1 Failure_Failure_ButtonExpected Failure_FailureType = 2 Failure_Failure_DataError Failure_FailureType = 3 Failure_Failure_ActionCancelled Failure_FailureType = 4 Failure_Failure_PinExpected Failure_FailureType = 5 Failure_Failure_PinCancelled Failure_FailureType = 6 Failure_Failure_PinInvalid Failure_FailureType = 7 Failure_Failure_InvalidSignature Failure_FailureType = 8 Failure_Failure_ProcessError Failure_FailureType = 9 Failure_Failure_NotEnoughFunds Failure_FailureType = 10 Failure_Failure_NotInitialized Failure_FailureType = 11 Failure_Failure_PinMismatch Failure_FailureType = 12 Failure_Failure_WipeCodeMismatch Failure_FailureType = 13 Failure_Failure_InvalidSession Failure_FailureType = 14 Failure_Failure_FirmwareError Failure_FailureType = 99 )
func (Failure_FailureType) Descriptor ¶
func (Failure_FailureType) Descriptor() protoreflect.EnumDescriptor
func (Failure_FailureType) Enum ¶
func (x Failure_FailureType) Enum() *Failure_FailureType
func (Failure_FailureType) EnumDescriptor
deprecated
func (Failure_FailureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Failure_FailureType.Descriptor instead.
func (Failure_FailureType) Number ¶
func (x Failure_FailureType) Number() protoreflect.EnumNumber
func (Failure_FailureType) String ¶
func (x Failure_FailureType) String() string
func (Failure_FailureType) Type ¶
func (Failure_FailureType) Type() protoreflect.EnumType
func (*Failure_FailureType) UnmarshalJSON
deprecated
func (x *Failure_FailureType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Features ¶
type Features struct { Vendor *string `protobuf:"bytes,1,opt,name=vendor" json:"vendor,omitempty"` // name of the manufacturer, e.g. "trezor.io" MajorVersion *uint32 `protobuf:"varint,2,req,name=major_version,json=majorVersion" json:"major_version,omitempty"` // major version of the firmware/bootloader, e.g. 1 MinorVersion *uint32 `protobuf:"varint,3,req,name=minor_version,json=minorVersion" json:"minor_version,omitempty"` // minor version of the firmware/bootloader, e.g. 0 PatchVersion *uint32 `protobuf:"varint,4,req,name=patch_version,json=patchVersion" json:"patch_version,omitempty"` // patch version of the firmware/bootloader, e.g. 0 BootloaderMode *bool `protobuf:"varint,5,opt,name=bootloader_mode,json=bootloaderMode" json:"bootloader_mode,omitempty"` // is device in bootloader mode? DeviceId *string `protobuf:"bytes,6,opt,name=device_id,json=deviceId" json:"device_id,omitempty"` // device's unique identifier PinProtection *bool `protobuf:"varint,7,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"` // is device protected by PIN? PassphraseProtection *bool `protobuf:"varint,8,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // is node/mnemonic encrypted using passphrase? Language *string `protobuf:"bytes,9,opt,name=language" json:"language,omitempty"` // device language Label *string `protobuf:"bytes,10,opt,name=label" json:"label,omitempty"` // device description label Initialized *bool `protobuf:"varint,12,opt,name=initialized" json:"initialized,omitempty"` // does device contain seed? Revision []byte `protobuf:"bytes,13,opt,name=revision" json:"revision,omitempty"` // SCM revision of firmware BootloaderHash []byte `protobuf:"bytes,14,opt,name=bootloader_hash,json=bootloaderHash" json:"bootloader_hash,omitempty"` // hash of the bootloader Imported *bool `protobuf:"varint,15,opt,name=imported" json:"imported,omitempty"` // was storage imported from an external source? Unlocked *bool `protobuf:"varint,16,opt,name=unlocked" json:"unlocked,omitempty"` // is the device unlocked? called "pin_cached" previously // Deprecated: Marked as deprecated in messages-management.proto. XPassphraseCached *bool `protobuf:"varint,17,opt,name=_passphrase_cached,json=PassphraseCached" json:"_passphrase_cached,omitempty"` // is passphrase already cached in session? FirmwarePresent *bool `protobuf:"varint,18,opt,name=firmware_present,json=firmwarePresent" json:"firmware_present,omitempty"` // is valid firmware loaded? NeedsBackup *bool `protobuf:"varint,19,opt,name=needs_backup,json=needsBackup" json:"needs_backup,omitempty"` // does storage need backup? (equals to Storage.needs_backup) Flags *uint32 `protobuf:"varint,20,opt,name=flags" json:"flags,omitempty"` // device flags (equals to Storage.flags) Model *string `protobuf:"bytes,21,opt,name=model" json:"model,omitempty"` // device hardware model FwMajor *uint32 `protobuf:"varint,22,opt,name=fw_major,json=fwMajor" json:"fw_major,omitempty"` // reported firmware version if in bootloader mode FwMinor *uint32 `protobuf:"varint,23,opt,name=fw_minor,json=fwMinor" json:"fw_minor,omitempty"` // reported firmware version if in bootloader mode FwPatch *uint32 `protobuf:"varint,24,opt,name=fw_patch,json=fwPatch" json:"fw_patch,omitempty"` // reported firmware version if in bootloader mode FwVendor *string `protobuf:"bytes,25,opt,name=fw_vendor,json=fwVendor" json:"fw_vendor,omitempty"` // reported firmware vendor if in bootloader mode // optional bytes fw_vendor_keys = 26; // obsoleted, use fw_vendor UnfinishedBackup *bool `protobuf:"varint,27,opt,name=unfinished_backup,json=unfinishedBackup" json:"unfinished_backup,omitempty"` // report unfinished backup (equals to Storage.unfinished_backup) NoBackup *bool `protobuf:"varint,28,opt,name=no_backup,json=noBackup" json:"no_backup,omitempty"` // report no backup (equals to Storage.no_backup) RecoveryMode *bool `protobuf:"varint,29,opt,name=recovery_mode,json=recoveryMode" json:"recovery_mode,omitempty"` // is recovery mode in progress Capabilities []Features_Capability `` // list of supported capabilities /* 127-byte string literal not displayed */ BackupType *BackupType `` // type of device backup (BIP-39 / SLIP-39 basic / SLIP-39 advanced) /* 132-byte string literal not displayed */ SdCardPresent *bool `protobuf:"varint,32,opt,name=sd_card_present,json=sdCardPresent" json:"sd_card_present,omitempty"` // is SD card present SdProtection *bool `protobuf:"varint,33,opt,name=sd_protection,json=sdProtection" json:"sd_protection,omitempty"` // is SD Protect enabled WipeCodeProtection *bool `protobuf:"varint,34,opt,name=wipe_code_protection,json=wipeCodeProtection" json:"wipe_code_protection,omitempty"` // is wipe code protection enabled SessionId []byte `protobuf:"bytes,35,opt,name=session_id,json=sessionId" json:"session_id,omitempty"` PassphraseAlwaysOnDevice *bool `` // device enforces passphrase entry on Trezor /* 132-byte string literal not displayed */ SafetyChecks *SafetyCheckLevel `` // safety check level, set to Prompt to limit path namespace enforcement /* 144-byte string literal not displayed */ AutoLockDelayMs *uint32 `protobuf:"varint,38,opt,name=auto_lock_delay_ms,json=autoLockDelayMs" json:"auto_lock_delay_ms,omitempty"` // number of milliseconds after which the device locks itself DisplayRotation *uint32 `protobuf:"varint,39,opt,name=display_rotation,json=displayRotation" json:"display_rotation,omitempty"` // in degrees from North ExperimentalFeatures *bool `protobuf:"varint,40,opt,name=experimental_features,json=experimentalFeatures" json:"experimental_features,omitempty"` // are experimental message types enabled? Busy *bool `protobuf:"varint,41,opt,name=busy" json:"busy,omitempty"` // is the device busy, showing "Do not disconnect"? HomescreenFormat *HomescreenFormat `` // format of the homescreen, 1 = TOIf, 2 = jpg, 3 = TOIG /* 156-byte string literal not displayed */ HidePassphraseFromHost *bool `` // should we hide the passphrase when it comes from host? /* 126-byte string literal not displayed */ InternalModel *string `protobuf:"bytes,44,opt,name=internal_model,json=internalModel" json:"internal_model,omitempty"` // internal model name UnitColor *uint32 `protobuf:"varint,45,opt,name=unit_color,json=unitColor" json:"unit_color,omitempty"` // color of the unit/device UnitBtconly *bool `protobuf:"varint,46,opt,name=unit_btconly,json=unitBtconly" json:"unit_btconly,omitempty"` // unit/device is intended as bitcoin only HomescreenWidth *uint32 `protobuf:"varint,47,opt,name=homescreen_width,json=homescreenWidth" json:"homescreen_width,omitempty"` // homescreen width in pixels HomescreenHeight *uint32 `protobuf:"varint,48,opt,name=homescreen_height,json=homescreenHeight" json:"homescreen_height,omitempty"` // homescreen height in pixels BootloaderLocked *bool `protobuf:"varint,49,opt,name=bootloader_locked,json=bootloaderLocked" json:"bootloader_locked,omitempty"` // bootloader is locked LanguageVersionMatches *bool `` // translation blob version matches firmware version /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
* Response: Reports various information about the device @end
func (*Features) Descriptor
deprecated
func (*Features) GetAutoLockDelayMs ¶
func (*Features) GetBackupType ¶
func (x *Features) GetBackupType() BackupType
func (*Features) GetBootloaderHash ¶
func (*Features) GetBootloaderLocked ¶
func (*Features) GetBootloaderMode ¶
func (*Features) GetCapabilities ¶
func (x *Features) GetCapabilities() []Features_Capability
func (*Features) GetDeviceId ¶
func (*Features) GetDisplayRotation ¶
func (*Features) GetExperimentalFeatures ¶
func (*Features) GetFirmwarePresent ¶
func (*Features) GetFwMajor ¶
func (*Features) GetFwMinor ¶
func (*Features) GetFwPatch ¶
func (*Features) GetFwVendor ¶
func (*Features) GetHidePassphraseFromHost ¶
func (*Features) GetHomescreenFormat ¶
func (x *Features) GetHomescreenFormat() HomescreenFormat
func (*Features) GetHomescreenHeight ¶
func (*Features) GetHomescreenWidth ¶
func (*Features) GetImported ¶
func (*Features) GetInitialized ¶
func (*Features) GetInternalModel ¶
func (*Features) GetLanguage ¶
func (*Features) GetLanguageVersionMatches ¶
func (*Features) GetMajorVersion ¶
func (*Features) GetMinorVersion ¶
func (*Features) GetNeedsBackup ¶
func (*Features) GetNoBackup ¶
func (*Features) GetPassphraseAlwaysOnDevice ¶
func (*Features) GetPassphraseProtection ¶
func (*Features) GetPatchVersion ¶
func (*Features) GetPinProtection ¶
func (*Features) GetRecoveryMode ¶
func (*Features) GetRevision ¶
func (*Features) GetSafetyChecks ¶
func (x *Features) GetSafetyChecks() SafetyCheckLevel
func (*Features) GetSdCardPresent ¶
func (*Features) GetSdProtection ¶
func (*Features) GetSessionId ¶
func (*Features) GetUnfinishedBackup ¶
func (*Features) GetUnitBtconly ¶
func (*Features) GetUnitColor ¶
func (*Features) GetUnlocked ¶
func (*Features) GetWipeCodeProtection ¶
func (*Features) GetXPassphraseCached
deprecated
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) ProtoReflect ¶
func (x *Features) ProtoReflect() protoreflect.Message
type Features_Capability ¶
type Features_Capability int32
const ( Features_Capability_Bitcoin Features_Capability = 1 Features_Capability_Bitcoin_like Features_Capability = 2 // Altcoins based on the Bitcoin source code Features_Capability_Binance Features_Capability = 3 Features_Capability_Cardano Features_Capability = 4 Features_Capability_Crypto Features_Capability = 5 // generic crypto operations for GPG, SSH, etc. Features_Capability_EOS Features_Capability = 6 Features_Capability_Ethereum Features_Capability = 7 // Deprecated: Marked as deprecated in messages-management.proto. Features_Capability_Lisk Features_Capability = 8 Features_Capability_Monero Features_Capability = 9 Features_Capability_NEM Features_Capability = 10 Features_Capability_Ripple Features_Capability = 11 Features_Capability_Stellar Features_Capability = 12 Features_Capability_Tezos Features_Capability = 13 Features_Capability_U2F Features_Capability = 14 Features_Capability_Shamir Features_Capability = 15 Features_Capability_ShamirGroups Features_Capability = 16 Features_Capability_PassphraseEntry Features_Capability = 17 // the device is capable of passphrase entry directly on the device Features_Capability_Solana Features_Capability = 18 Features_Capability_Translations Features_Capability = 19 )
func (Features_Capability) Descriptor ¶
func (Features_Capability) Descriptor() protoreflect.EnumDescriptor
func (Features_Capability) Enum ¶
func (x Features_Capability) Enum() *Features_Capability
func (Features_Capability) EnumDescriptor
deprecated
func (Features_Capability) EnumDescriptor() ([]byte, []int)
Deprecated: Use Features_Capability.Descriptor instead.
func (Features_Capability) Number ¶
func (x Features_Capability) Number() protoreflect.EnumNumber
func (Features_Capability) String ¶
func (x Features_Capability) String() string
func (Features_Capability) Type ¶
func (Features_Capability) Type() protoreflect.EnumType
func (*Features_Capability) UnmarshalJSON
deprecated
func (x *Features_Capability) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type FirmwareHash ¶
type FirmwareHash struct { Hash []byte `protobuf:"bytes,1,req,name=hash" json:"hash,omitempty"` // contains filtered or unexported fields }
* Response: Hash of the installed firmware combined with the optional challenge. @end
func (*FirmwareHash) Descriptor
deprecated
func (*FirmwareHash) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareHash.ProtoReflect.Descriptor instead.
func (*FirmwareHash) GetHash ¶
func (x *FirmwareHash) GetHash() []byte
func (*FirmwareHash) ProtoMessage ¶
func (*FirmwareHash) ProtoMessage()
func (*FirmwareHash) ProtoReflect ¶
func (x *FirmwareHash) ProtoReflect() protoreflect.Message
func (*FirmwareHash) Reset ¶
func (x *FirmwareHash) Reset()
func (*FirmwareHash) String ¶
func (x *FirmwareHash) String() string
type GetECDHSessionKey ¶
type GetECDHSessionKey struct { Identity *IdentityType `protobuf:"bytes,1,req,name=identity" json:"identity,omitempty"` // identity PeerPublicKey []byte `protobuf:"bytes,2,req,name=peer_public_key,json=peerPublicKey" json:"peer_public_key,omitempty"` // peer's public key EcdsaCurveName *string `protobuf:"bytes,3,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"` // ECDSA curve name to use // contains filtered or unexported fields }
* Request: Ask device to generate ECDH session key @start @next ECDHSessionKey @next Failure
func (*GetECDHSessionKey) Descriptor
deprecated
func (*GetECDHSessionKey) Descriptor() ([]byte, []int)
Deprecated: Use GetECDHSessionKey.ProtoReflect.Descriptor instead.
func (*GetECDHSessionKey) GetEcdsaCurveName ¶
func (x *GetECDHSessionKey) GetEcdsaCurveName() string
func (*GetECDHSessionKey) GetIdentity ¶
func (x *GetECDHSessionKey) GetIdentity() *IdentityType
func (*GetECDHSessionKey) GetPeerPublicKey ¶
func (x *GetECDHSessionKey) GetPeerPublicKey() []byte
func (*GetECDHSessionKey) ProtoMessage ¶
func (*GetECDHSessionKey) ProtoMessage()
func (*GetECDHSessionKey) ProtoReflect ¶
func (x *GetECDHSessionKey) ProtoReflect() protoreflect.Message
func (*GetECDHSessionKey) Reset ¶
func (x *GetECDHSessionKey) Reset()
func (*GetECDHSessionKey) String ¶
func (x *GetECDHSessionKey) String() string
type GetEntropy ¶
type GetEntropy struct { Size *uint32 `protobuf:"varint,1,req,name=size" json:"size,omitempty"` // size of requested entropy // contains filtered or unexported fields }
* Request: Request a sample of random data generated by hardware RNG. May be used for testing. @start @next Entropy @next Failure
func (*GetEntropy) Descriptor
deprecated
func (*GetEntropy) Descriptor() ([]byte, []int)
Deprecated: Use GetEntropy.ProtoReflect.Descriptor instead.
func (*GetEntropy) GetSize ¶
func (x *GetEntropy) GetSize() uint32
func (*GetEntropy) ProtoMessage ¶
func (*GetEntropy) ProtoMessage()
func (*GetEntropy) ProtoReflect ¶
func (x *GetEntropy) ProtoReflect() protoreflect.Message
func (*GetEntropy) Reset ¶
func (x *GetEntropy) Reset()
func (*GetEntropy) String ¶
func (x *GetEntropy) String() string
type GetFeatures ¶
type GetFeatures struct {
// contains filtered or unexported fields
}
* Request: Ask for device details (no device reset) @start @next Features
func (*GetFeatures) Descriptor
deprecated
func (*GetFeatures) Descriptor() ([]byte, []int)
Deprecated: Use GetFeatures.ProtoReflect.Descriptor instead.
func (*GetFeatures) ProtoMessage ¶
func (*GetFeatures) ProtoMessage()
func (*GetFeatures) ProtoReflect ¶
func (x *GetFeatures) ProtoReflect() protoreflect.Message
func (*GetFeatures) Reset ¶
func (x *GetFeatures) Reset()
func (*GetFeatures) String ¶
func (x *GetFeatures) String() string
type GetFirmwareHash ¶
type GetFirmwareHash struct { Challenge []byte `protobuf:"bytes,1,opt,name=challenge" json:"challenge,omitempty"` // Blake2s key up to 32 bytes in length. // contains filtered or unexported fields }
* Request: Get a hash of the installed firmware combined with an optional challenge. @start @next FirmwareHash @next Failure
func (*GetFirmwareHash) Descriptor
deprecated
func (*GetFirmwareHash) Descriptor() ([]byte, []int)
Deprecated: Use GetFirmwareHash.ProtoReflect.Descriptor instead.
func (*GetFirmwareHash) GetChallenge ¶
func (x *GetFirmwareHash) GetChallenge() []byte
func (*GetFirmwareHash) ProtoMessage ¶
func (*GetFirmwareHash) ProtoMessage()
func (*GetFirmwareHash) ProtoReflect ¶
func (x *GetFirmwareHash) ProtoReflect() protoreflect.Message
func (*GetFirmwareHash) Reset ¶
func (x *GetFirmwareHash) Reset()
func (*GetFirmwareHash) String ¶
func (x *GetFirmwareHash) String() string
type GetNextU2FCounter ¶
type GetNextU2FCounter struct {
// contains filtered or unexported fields
}
* Request: Set U2F counter @start @next NextU2FCounter
func (*GetNextU2FCounter) Descriptor
deprecated
func (*GetNextU2FCounter) Descriptor() ([]byte, []int)
Deprecated: Use GetNextU2FCounter.ProtoReflect.Descriptor instead.
func (*GetNextU2FCounter) ProtoMessage ¶
func (*GetNextU2FCounter) ProtoMessage()
func (*GetNextU2FCounter) ProtoReflect ¶
func (x *GetNextU2FCounter) ProtoReflect() protoreflect.Message
func (*GetNextU2FCounter) Reset ¶
func (x *GetNextU2FCounter) Reset()
func (*GetNextU2FCounter) String ¶
func (x *GetNextU2FCounter) String() string
type GetNonce ¶
type GetNonce struct {
// contains filtered or unexported fields
}
* Request: Ask device to generate a random nonce and store it in the session's cache @start @next Nonce
func (*GetNonce) Descriptor
deprecated
func (*GetNonce) ProtoMessage ¶
func (*GetNonce) ProtoMessage()
func (*GetNonce) ProtoReflect ¶
func (x *GetNonce) ProtoReflect() protoreflect.Message
type HDNodeType ¶
type HDNodeType struct { Depth *uint32 `protobuf:"varint,1,req,name=depth" json:"depth,omitempty"` Fingerprint *uint32 `protobuf:"varint,2,req,name=fingerprint" json:"fingerprint,omitempty"` ChildNum *uint32 `protobuf:"varint,3,req,name=child_num,json=childNum" json:"child_num,omitempty"` ChainCode []byte `protobuf:"bytes,4,req,name=chain_code,json=chainCode" json:"chain_code,omitempty"` PrivateKey []byte `protobuf:"bytes,5,opt,name=private_key,json=privateKey" json:"private_key,omitempty"` PublicKey []byte `protobuf:"bytes,6,req,name=public_key,json=publicKey" json:"public_key,omitempty"` // contains filtered or unexported fields }
* Structure representing BIP32 (hierarchical deterministic) node Used for imports of private key into the device and exporting public key out of device @embed
func (*HDNodeType) Descriptor
deprecated
func (*HDNodeType) Descriptor() ([]byte, []int)
Deprecated: Use HDNodeType.ProtoReflect.Descriptor instead.
func (*HDNodeType) GetChainCode ¶
func (x *HDNodeType) GetChainCode() []byte
func (*HDNodeType) GetChildNum ¶
func (x *HDNodeType) GetChildNum() uint32
func (*HDNodeType) GetDepth ¶
func (x *HDNodeType) GetDepth() uint32
func (*HDNodeType) GetFingerprint ¶
func (x *HDNodeType) GetFingerprint() uint32
func (*HDNodeType) GetPrivateKey ¶
func (x *HDNodeType) GetPrivateKey() []byte
func (*HDNodeType) GetPublicKey ¶
func (x *HDNodeType) GetPublicKey() []byte
func (*HDNodeType) ProtoMessage ¶
func (*HDNodeType) ProtoMessage()
func (*HDNodeType) ProtoReflect ¶
func (x *HDNodeType) ProtoReflect() protoreflect.Message
func (*HDNodeType) Reset ¶
func (x *HDNodeType) Reset()
func (*HDNodeType) String ¶
func (x *HDNodeType) String() string
type HomescreenFormat ¶
type HomescreenFormat int32
* Format of the homescreen image
const ( HomescreenFormat_Toif HomescreenFormat = 1 // full-color toif HomescreenFormat_Jpeg HomescreenFormat = 2 // jpeg HomescreenFormat_ToiG HomescreenFormat = 3 // greyscale toif )
func (HomescreenFormat) Descriptor ¶
func (HomescreenFormat) Descriptor() protoreflect.EnumDescriptor
func (HomescreenFormat) Enum ¶
func (x HomescreenFormat) Enum() *HomescreenFormat
func (HomescreenFormat) EnumDescriptor
deprecated
func (HomescreenFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use HomescreenFormat.Descriptor instead.
func (HomescreenFormat) Number ¶
func (x HomescreenFormat) Number() protoreflect.EnumNumber
func (HomescreenFormat) String ¶
func (x HomescreenFormat) String() string
func (HomescreenFormat) Type ¶
func (HomescreenFormat) Type() protoreflect.EnumType
func (*HomescreenFormat) UnmarshalJSON
deprecated
func (x *HomescreenFormat) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type IdentityType ¶
type IdentityType struct { Proto *string `protobuf:"bytes,1,opt,name=proto" json:"proto,omitempty"` // proto part of URI User *string `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"` // user part of URI Host *string `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"` // host part of URI Port *string `protobuf:"bytes,4,opt,name=port" json:"port,omitempty"` // port part of URI Path *string `protobuf:"bytes,5,opt,name=path" json:"path,omitempty"` // path part of URI Index *uint32 `protobuf:"varint,6,opt,name=index,def=0" json:"index,omitempty"` // identity index // contains filtered or unexported fields }
* Structure representing identity data @embed
func (*IdentityType) Descriptor
deprecated
func (*IdentityType) Descriptor() ([]byte, []int)
Deprecated: Use IdentityType.ProtoReflect.Descriptor instead.
func (*IdentityType) GetHost ¶
func (x *IdentityType) GetHost() string
func (*IdentityType) GetIndex ¶
func (x *IdentityType) GetIndex() uint32
func (*IdentityType) GetPath ¶
func (x *IdentityType) GetPath() string
func (*IdentityType) GetPort ¶
func (x *IdentityType) GetPort() string
func (*IdentityType) GetProto ¶
func (x *IdentityType) GetProto() string
func (*IdentityType) GetUser ¶
func (x *IdentityType) GetUser() string
func (*IdentityType) ProtoMessage ¶
func (*IdentityType) ProtoMessage()
func (*IdentityType) ProtoReflect ¶
func (x *IdentityType) ProtoReflect() protoreflect.Message
func (*IdentityType) Reset ¶
func (x *IdentityType) Reset()
func (*IdentityType) String ¶
func (x *IdentityType) String() string
type Initialize ¶
type Initialize struct { SessionId []byte `protobuf:"bytes,1,opt,name=session_id,json=sessionId" json:"session_id,omitempty"` // assumed device session id; Trezor clears caches if it is different or empty // Deprecated: Marked as deprecated in messages-management.proto. XSkipPassphrase *bool `protobuf:"varint,2,opt,name=_skip_passphrase,json=SkipPassphrase" json:"_skip_passphrase,omitempty"` // removed as part of passphrase redesign DeriveCardano *bool `protobuf:"varint,3,opt,name=derive_cardano,json=deriveCardano" json:"derive_cardano,omitempty"` // whether to derive Cardano Icarus root keys in this session // contains filtered or unexported fields }
* Request: Reset device to default state and ask for device details @start @next Features
func (*Initialize) Descriptor
deprecated
func (*Initialize) Descriptor() ([]byte, []int)
Deprecated: Use Initialize.ProtoReflect.Descriptor instead.
func (*Initialize) GetDeriveCardano ¶
func (x *Initialize) GetDeriveCardano() bool
func (*Initialize) GetSessionId ¶
func (x *Initialize) GetSessionId() []byte
func (*Initialize) GetXSkipPassphrase
deprecated
func (x *Initialize) GetXSkipPassphrase() bool
Deprecated: Marked as deprecated in messages-management.proto.
func (*Initialize) ProtoMessage ¶
func (*Initialize) ProtoMessage()
func (*Initialize) ProtoReflect ¶
func (x *Initialize) ProtoReflect() protoreflect.Message
func (*Initialize) Reset ¶
func (x *Initialize) Reset()
func (*Initialize) String ¶
func (x *Initialize) String() string
type LoadDevice ¶
type LoadDevice struct { Mnemonics []string `protobuf:"bytes,1,rep,name=mnemonics" json:"mnemonics,omitempty"` // seed encoded as mnemonic (12, 18 or 24 words for BIP39, 20 or 33 for SLIP39) Pin *string `protobuf:"bytes,3,opt,name=pin" json:"pin,omitempty"` // set PIN protection PassphraseProtection *bool `protobuf:"varint,4,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // enable master node encryption using passphrase // Deprecated: Marked as deprecated in messages-management.proto. Language *string `protobuf:"bytes,5,opt,name=language" json:"language,omitempty"` // deprecated (use ChangeLanguage) Label *string `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"` // device label SkipChecksum *bool `protobuf:"varint,7,opt,name=skip_checksum,json=skipChecksum" json:"skip_checksum,omitempty"` // do not test mnemonic for valid BIP-39 checksum U2FCounter *uint32 `protobuf:"varint,8,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"` // U2F counter NeedsBackup *bool `protobuf:"varint,9,opt,name=needs_backup,json=needsBackup" json:"needs_backup,omitempty"` // set "needs backup" flag NoBackup *bool `protobuf:"varint,10,opt,name=no_backup,json=noBackup" json:"no_backup,omitempty"` // indicate that no backup is going to be made // contains filtered or unexported fields }
* Request: Load seed and related internal settings from the computer @start @next Success @next Failure
func (*LoadDevice) Descriptor
deprecated
func (*LoadDevice) Descriptor() ([]byte, []int)
Deprecated: Use LoadDevice.ProtoReflect.Descriptor instead.
func (*LoadDevice) GetLabel ¶
func (x *LoadDevice) GetLabel() string
func (*LoadDevice) GetLanguage
deprecated
func (x *LoadDevice) GetLanguage() string
Deprecated: Marked as deprecated in messages-management.proto.
func (*LoadDevice) GetMnemonics ¶
func (x *LoadDevice) GetMnemonics() []string
func (*LoadDevice) GetNeedsBackup ¶
func (x *LoadDevice) GetNeedsBackup() bool
func (*LoadDevice) GetNoBackup ¶
func (x *LoadDevice) GetNoBackup() bool
func (*LoadDevice) GetPassphraseProtection ¶
func (x *LoadDevice) GetPassphraseProtection() bool
func (*LoadDevice) GetPin ¶
func (x *LoadDevice) GetPin() string
func (*LoadDevice) GetSkipChecksum ¶
func (x *LoadDevice) GetSkipChecksum() bool
func (*LoadDevice) GetU2FCounter ¶
func (x *LoadDevice) GetU2FCounter() uint32
func (*LoadDevice) ProtoMessage ¶
func (*LoadDevice) ProtoMessage()
func (*LoadDevice) ProtoReflect ¶
func (x *LoadDevice) ProtoReflect() protoreflect.Message
func (*LoadDevice) Reset ¶
func (x *LoadDevice) Reset()
func (*LoadDevice) String ¶
func (x *LoadDevice) String() string
type LockDevice ¶
type LockDevice struct {
// contains filtered or unexported fields
}
* Request: soft-lock the device. Following actions will require PIN. Passphrases remain cached. @start @next Success
func (*LockDevice) Descriptor
deprecated
func (*LockDevice) Descriptor() ([]byte, []int)
Deprecated: Use LockDevice.ProtoReflect.Descriptor instead.
func (*LockDevice) ProtoMessage ¶
func (*LockDevice) ProtoMessage()
func (*LockDevice) ProtoReflect ¶
func (x *LockDevice) ProtoReflect() protoreflect.Message
func (*LockDevice) Reset ¶
func (x *LockDevice) Reset()
func (*LockDevice) String ¶
func (x *LockDevice) String() string
type MessageType ¶
type MessageType int32
* Mapping between Trezor wire identifier (uint) and a protobuf message
const ( // Management MessageType_MessageType_Initialize MessageType = 0 MessageType_MessageType_Ping MessageType = 1 MessageType_MessageType_Success MessageType = 2 MessageType_MessageType_Failure MessageType = 3 MessageType_MessageType_ChangePin MessageType = 4 MessageType_MessageType_WipeDevice MessageType = 5 MessageType_MessageType_GetEntropy MessageType = 9 MessageType_MessageType_Entropy MessageType = 10 MessageType_MessageType_LoadDevice MessageType = 13 MessageType_MessageType_ResetDevice MessageType = 14 MessageType_MessageType_SetBusy MessageType = 16 MessageType_MessageType_Features MessageType = 17 MessageType_MessageType_PinMatrixRequest MessageType = 18 MessageType_MessageType_PinMatrixAck MessageType = 19 MessageType_MessageType_Cancel MessageType = 20 MessageType_MessageType_LockDevice MessageType = 24 MessageType_MessageType_ApplySettings MessageType = 25 MessageType_MessageType_ButtonRequest MessageType = 26 MessageType_MessageType_ButtonAck MessageType = 27 MessageType_MessageType_ApplyFlags MessageType = 28 MessageType_MessageType_GetNonce MessageType = 31 MessageType_MessageType_Nonce MessageType = 33 MessageType_MessageType_BackupDevice MessageType = 34 MessageType_MessageType_EntropyRequest MessageType = 35 MessageType_MessageType_EntropyAck MessageType = 36 MessageType_MessageType_PassphraseRequest MessageType = 41 MessageType_MessageType_PassphraseAck MessageType = 42 MessageType_MessageType_RecoveryDevice MessageType = 45 MessageType_MessageType_WordRequest MessageType = 46 MessageType_MessageType_WordAck MessageType = 47 MessageType_MessageType_GetFeatures MessageType = 55 MessageType_MessageType_SdProtect MessageType = 79 MessageType_MessageType_ChangeWipeCode MessageType = 82 MessageType_MessageType_EndSession MessageType = 83 MessageType_MessageType_CancelAuthorization MessageType = 86 MessageType_MessageType_RebootToBootloader MessageType = 87 MessageType_MessageType_GetFirmwareHash MessageType = 88 MessageType_MessageType_FirmwareHash MessageType = 89 MessageType_MessageType_UnlockPath MessageType = 93 MessageType_MessageType_UnlockedPathRequest MessageType = 94 MessageType_MessageType_ShowDeviceTutorial MessageType = 95 MessageType_MessageType_UnlockBootloader MessageType = 96 MessageType_MessageType_AuthenticateDevice MessageType = 97 MessageType_MessageType_AuthenticityProof MessageType = 98 MessageType_MessageType_ChangeLanguage MessageType = 990 MessageType_MessageType_TranslationDataRequest MessageType = 991 MessageType_MessageType_TranslationDataAck MessageType = 992 MessageType_MessageType_SetU2FCounter MessageType = 63 MessageType_MessageType_GetNextU2FCounter MessageType = 80 MessageType_MessageType_NextU2FCounter MessageType = 81 // Deprecated messages, kept for protobuf compatibility. // Both are marked wire_out so that we don't need to implement incoming handler for legacy // // Deprecated: Marked as deprecated in messages.proto. MessageType_MessageType_Deprecated_PassphraseStateRequest MessageType = 77 // Deprecated: Marked as deprecated in messages.proto. MessageType_MessageType_Deprecated_PassphraseStateAck MessageType = 78 // Bootloader MessageType_MessageType_FirmwareErase MessageType = 6 MessageType_MessageType_FirmwareUpload MessageType = 7 MessageType_MessageType_FirmwareRequest MessageType = 8 MessageType_MessageType_ProdTestT1 MessageType = 32 // Bitcoin MessageType_MessageType_GetPublicKey MessageType = 11 MessageType_MessageType_PublicKey MessageType = 12 MessageType_MessageType_SignTx MessageType = 15 MessageType_MessageType_TxRequest MessageType = 21 MessageType_MessageType_TxAck MessageType = 22 MessageType_MessageType_GetAddress MessageType = 29 MessageType_MessageType_Address MessageType = 30 MessageType_MessageType_TxAckPaymentRequest MessageType = 37 MessageType_MessageType_SignMessage MessageType = 38 MessageType_MessageType_VerifyMessage MessageType = 39 MessageType_MessageType_MessageSignature MessageType = 40 MessageType_MessageType_GetOwnershipId MessageType = 43 MessageType_MessageType_OwnershipId MessageType = 44 MessageType_MessageType_GetOwnershipProof MessageType = 49 MessageType_MessageType_OwnershipProof MessageType = 50 MessageType_MessageType_AuthorizeCoinJoin MessageType = 51 // Crypto MessageType_MessageType_CipherKeyValue MessageType = 23 MessageType_MessageType_CipheredKeyValue MessageType = 48 MessageType_MessageType_SignIdentity MessageType = 53 MessageType_MessageType_SignedIdentity MessageType = 54 MessageType_MessageType_GetECDHSessionKey MessageType = 61 MessageType_MessageType_ECDHSessionKey MessageType = 62 MessageType_MessageType_CosiCommit MessageType = 71 MessageType_MessageType_CosiCommitment MessageType = 72 MessageType_MessageType_CosiSign MessageType = 73 MessageType_MessageType_CosiSignature MessageType = 74 // Debug MessageType_MessageType_DebugLinkDecision MessageType = 100 MessageType_MessageType_DebugLinkGetState MessageType = 101 MessageType_MessageType_DebugLinkState MessageType = 102 MessageType_MessageType_DebugLinkStop MessageType = 103 MessageType_MessageType_DebugLinkLog MessageType = 104 MessageType_MessageType_DebugLinkMemoryRead MessageType = 110 MessageType_MessageType_DebugLinkMemory MessageType = 111 MessageType_MessageType_DebugLinkMemoryWrite MessageType = 112 MessageType_MessageType_DebugLinkFlashErase MessageType = 113 MessageType_MessageType_DebugLinkLayout MessageType = 9001 MessageType_MessageType_DebugLinkReseedRandom MessageType = 9002 MessageType_MessageType_DebugLinkRecordScreen MessageType = 9003 MessageType_MessageType_DebugLinkEraseSdCard MessageType = 9005 MessageType_MessageType_DebugLinkWatchLayout MessageType = 9006 MessageType_MessageType_DebugLinkResetDebugEvents MessageType = 9007 // Ethereum MessageType_MessageType_EthereumGetPublicKey MessageType = 450 MessageType_MessageType_EthereumPublicKey MessageType = 451 MessageType_MessageType_EthereumGetAddress MessageType = 56 MessageType_MessageType_EthereumAddress MessageType = 57 MessageType_MessageType_EthereumSignTx MessageType = 58 MessageType_MessageType_EthereumSignTxEIP1559 MessageType = 452 MessageType_MessageType_EthereumTxRequest MessageType = 59 MessageType_MessageType_EthereumTxAck MessageType = 60 MessageType_MessageType_EthereumSignMessage MessageType = 64 MessageType_MessageType_EthereumVerifyMessage MessageType = 65 MessageType_MessageType_EthereumMessageSignature MessageType = 66 MessageType_MessageType_EthereumSignTypedData MessageType = 464 MessageType_MessageType_EthereumTypedDataStructRequest MessageType = 465 MessageType_MessageType_EthereumTypedDataStructAck MessageType = 466 MessageType_MessageType_EthereumTypedDataValueRequest MessageType = 467 MessageType_MessageType_EthereumTypedDataValueAck MessageType = 468 MessageType_MessageType_EthereumTypedDataSignature MessageType = 469 MessageType_MessageType_EthereumSignTypedHash MessageType = 470 // NEM MessageType_MessageType_NEMGetAddress MessageType = 67 MessageType_MessageType_NEMAddress MessageType = 68 MessageType_MessageType_NEMSignTx MessageType = 69 MessageType_MessageType_NEMSignedTx MessageType = 70 MessageType_MessageType_NEMDecryptMessage MessageType = 75 MessageType_MessageType_NEMDecryptedMessage MessageType = 76 // Tezos MessageType_MessageType_TezosGetAddress MessageType = 150 MessageType_MessageType_TezosAddress MessageType = 151 MessageType_MessageType_TezosSignTx MessageType = 152 MessageType_MessageType_TezosSignedTx MessageType = 153 MessageType_MessageType_TezosGetPublicKey MessageType = 154 MessageType_MessageType_TezosPublicKey MessageType = 155 // Stellar MessageType_MessageType_StellarSignTx MessageType = 202 MessageType_MessageType_StellarTxOpRequest MessageType = 203 MessageType_MessageType_StellarGetAddress MessageType = 207 MessageType_MessageType_StellarAddress MessageType = 208 MessageType_MessageType_StellarCreateAccountOp MessageType = 210 MessageType_MessageType_StellarPaymentOp MessageType = 211 MessageType_MessageType_StellarPathPaymentStrictReceiveOp MessageType = 212 MessageType_MessageType_StellarManageSellOfferOp MessageType = 213 MessageType_MessageType_StellarCreatePassiveSellOfferOp MessageType = 214 MessageType_MessageType_StellarSetOptionsOp MessageType = 215 MessageType_MessageType_StellarChangeTrustOp MessageType = 216 MessageType_MessageType_StellarAllowTrustOp MessageType = 217 MessageType_MessageType_StellarAccountMergeOp MessageType = 218 MessageType_MessageType_StellarManageDataOp MessageType = 220 MessageType_MessageType_StellarBumpSequenceOp MessageType = 221 MessageType_MessageType_StellarManageBuyOfferOp MessageType = 222 MessageType_MessageType_StellarPathPaymentStrictSendOp MessageType = 223 MessageType_MessageType_StellarClaimClaimableBalanceOp MessageType = 225 MessageType_MessageType_StellarSignedTx MessageType = 230 MessageType_MessageType_CardanoGetPublicKey MessageType = 305 MessageType_MessageType_CardanoPublicKey MessageType = 306 MessageType_MessageType_CardanoGetAddress MessageType = 307 MessageType_MessageType_CardanoAddress MessageType = 308 MessageType_MessageType_CardanoTxItemAck MessageType = 313 MessageType_MessageType_CardanoTxAuxiliaryDataSupplement MessageType = 314 MessageType_MessageType_CardanoTxWitnessRequest MessageType = 315 MessageType_MessageType_CardanoTxWitnessResponse MessageType = 316 MessageType_MessageType_CardanoTxHostAck MessageType = 317 MessageType_MessageType_CardanoTxBodyHash MessageType = 318 MessageType_MessageType_CardanoSignTxFinished MessageType = 319 MessageType_MessageType_CardanoSignTxInit MessageType = 320 MessageType_MessageType_CardanoTxInput MessageType = 321 MessageType_MessageType_CardanoTxOutput MessageType = 322 MessageType_MessageType_CardanoAssetGroup MessageType = 323 MessageType_MessageType_CardanoToken MessageType = 324 MessageType_MessageType_CardanoTxCertificate MessageType = 325 MessageType_MessageType_CardanoTxWithdrawal MessageType = 326 MessageType_MessageType_CardanoTxAuxiliaryData MessageType = 327 MessageType_MessageType_CardanoPoolOwner MessageType = 328 MessageType_MessageType_CardanoPoolRelayParameters MessageType = 329 MessageType_MessageType_CardanoGetNativeScriptHash MessageType = 330 MessageType_MessageType_CardanoNativeScriptHash MessageType = 331 MessageType_MessageType_CardanoTxMint MessageType = 332 MessageType_MessageType_CardanoTxCollateralInput MessageType = 333 MessageType_MessageType_CardanoTxRequiredSigner MessageType = 334 MessageType_MessageType_CardanoTxInlineDatumChunk MessageType = 335 MessageType_MessageType_CardanoTxReferenceScriptChunk MessageType = 336 MessageType_MessageType_CardanoTxReferenceInput MessageType = 337 // Ripple MessageType_MessageType_RippleGetAddress MessageType = 400 MessageType_MessageType_RippleAddress MessageType = 401 MessageType_MessageType_RippleSignTx MessageType = 402 MessageType_MessageType_RippleSignedTx MessageType = 403 // Monero MessageType_MessageType_MoneroTransactionInitRequest MessageType = 501 MessageType_MessageType_MoneroTransactionInitAck MessageType = 502 MessageType_MessageType_MoneroTransactionSetInputRequest MessageType = 503 MessageType_MessageType_MoneroTransactionSetInputAck MessageType = 504 MessageType_MessageType_MoneroTransactionInputViniRequest MessageType = 507 MessageType_MessageType_MoneroTransactionInputViniAck MessageType = 508 MessageType_MessageType_MoneroTransactionAllInputsSetRequest MessageType = 509 MessageType_MessageType_MoneroTransactionAllInputsSetAck MessageType = 510 MessageType_MessageType_MoneroTransactionSetOutputRequest MessageType = 511 MessageType_MessageType_MoneroTransactionSetOutputAck MessageType = 512 MessageType_MessageType_MoneroTransactionAllOutSetRequest MessageType = 513 MessageType_MessageType_MoneroTransactionAllOutSetAck MessageType = 514 MessageType_MessageType_MoneroTransactionSignInputRequest MessageType = 515 MessageType_MessageType_MoneroTransactionSignInputAck MessageType = 516 MessageType_MessageType_MoneroTransactionFinalRequest MessageType = 517 MessageType_MessageType_MoneroTransactionFinalAck MessageType = 518 MessageType_MessageType_MoneroKeyImageExportInitRequest MessageType = 530 MessageType_MessageType_MoneroKeyImageExportInitAck MessageType = 531 MessageType_MessageType_MoneroKeyImageSyncStepRequest MessageType = 532 MessageType_MessageType_MoneroKeyImageSyncStepAck MessageType = 533 MessageType_MessageType_MoneroKeyImageSyncFinalRequest MessageType = 534 MessageType_MessageType_MoneroKeyImageSyncFinalAck MessageType = 535 MessageType_MessageType_MoneroGetAddress MessageType = 540 MessageType_MessageType_MoneroAddress MessageType = 541 MessageType_MessageType_MoneroGetWatchKey MessageType = 542 MessageType_MessageType_MoneroWatchKey MessageType = 543 MessageType_MessageType_DebugMoneroDiagRequest MessageType = 546 MessageType_MessageType_DebugMoneroDiagAck MessageType = 547 MessageType_MessageType_MoneroGetTxKeyRequest MessageType = 550 MessageType_MessageType_MoneroGetTxKeyAck MessageType = 551 MessageType_MessageType_MoneroLiveRefreshStartRequest MessageType = 552 MessageType_MessageType_MoneroLiveRefreshStartAck MessageType = 553 MessageType_MessageType_MoneroLiveRefreshStepRequest MessageType = 554 MessageType_MessageType_MoneroLiveRefreshStepAck MessageType = 555 MessageType_MessageType_MoneroLiveRefreshFinalRequest MessageType = 556 MessageType_MessageType_MoneroLiveRefreshFinalAck MessageType = 557 // EOS MessageType_MessageType_EosGetPublicKey MessageType = 600 MessageType_MessageType_EosPublicKey MessageType = 601 MessageType_MessageType_EosSignTx MessageType = 602 MessageType_MessageType_EosTxActionRequest MessageType = 603 MessageType_MessageType_EosTxActionAck MessageType = 604 MessageType_MessageType_EosSignedTx MessageType = 605 // Binance MessageType_MessageType_BinanceGetAddress MessageType = 700 MessageType_MessageType_BinanceAddress MessageType = 701 MessageType_MessageType_BinanceGetPublicKey MessageType = 702 MessageType_MessageType_BinancePublicKey MessageType = 703 MessageType_MessageType_BinanceSignTx MessageType = 704 MessageType_MessageType_BinanceTxRequest MessageType = 705 MessageType_MessageType_BinanceTransferMsg MessageType = 706 MessageType_MessageType_BinanceOrderMsg MessageType = 707 MessageType_MessageType_BinanceCancelMsg MessageType = 708 MessageType_MessageType_BinanceSignedTx MessageType = 709 // WebAuthn MessageType_MessageType_WebAuthnListResidentCredentials MessageType = 800 MessageType_MessageType_WebAuthnCredentials MessageType = 801 MessageType_MessageType_WebAuthnAddResidentCredential MessageType = 802 MessageType_MessageType_WebAuthnRemoveResidentCredential MessageType = 803 // Solana MessageType_MessageType_SolanaGetPublicKey MessageType = 900 MessageType_MessageType_SolanaPublicKey MessageType = 901 MessageType_MessageType_SolanaGetAddress MessageType = 902 MessageType_MessageType_SolanaAddress MessageType = 903 MessageType_MessageType_SolanaSignTx MessageType = 904 MessageType_MessageType_SolanaTxSignature MessageType = 905 )
func (MessageType) Descriptor ¶
func (MessageType) Descriptor() protoreflect.EnumDescriptor
func (MessageType) Enum ¶
func (x MessageType) Enum() *MessageType
func (MessageType) EnumDescriptor
deprecated
func (MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageType.Descriptor instead.
func (MessageType) Number ¶
func (x MessageType) Number() protoreflect.EnumNumber
func (MessageType) String ¶
func (x MessageType) String() string
func (MessageType) Type ¶
func (MessageType) Type() protoreflect.EnumType
func (*MessageType) UnmarshalJSON
deprecated
func (x *MessageType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type NextU2FCounter ¶
type NextU2FCounter struct { U2FCounter *uint32 `protobuf:"varint,1,req,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"` // contains filtered or unexported fields }
* Request: Set U2F counter @end
func (*NextU2FCounter) Descriptor
deprecated
func (*NextU2FCounter) Descriptor() ([]byte, []int)
Deprecated: Use NextU2FCounter.ProtoReflect.Descriptor instead.
func (*NextU2FCounter) GetU2FCounter ¶
func (x *NextU2FCounter) GetU2FCounter() uint32
func (*NextU2FCounter) ProtoMessage ¶
func (*NextU2FCounter) ProtoMessage()
func (*NextU2FCounter) ProtoReflect ¶
func (x *NextU2FCounter) ProtoReflect() protoreflect.Message
func (*NextU2FCounter) Reset ¶
func (x *NextU2FCounter) Reset()
func (*NextU2FCounter) String ¶
func (x *NextU2FCounter) String() string
type Nonce ¶
type Nonce struct { Nonce []byte `protobuf:"bytes,1,req,name=nonce" json:"nonce,omitempty"` // a 32-byte random value generated by Trezor // contains filtered or unexported fields }
* Response: Contains a random nonce @end
func (*Nonce) Descriptor
deprecated
func (*Nonce) ProtoMessage ¶
func (*Nonce) ProtoMessage()
func (*Nonce) ProtoReflect ¶
func (x *Nonce) ProtoReflect() protoreflect.Message
type PassphraseAck ¶
type PassphraseAck struct { Passphrase *string `protobuf:"bytes,1,opt,name=passphrase" json:"passphrase,omitempty"` // Deprecated: Marked as deprecated in messages-common.proto. XState []byte `protobuf:"bytes,2,opt,name=_state,json=State" json:"_state,omitempty"` // <2.3.0 OnDevice *bool `protobuf:"varint,3,opt,name=on_device,json=onDevice" json:"on_device,omitempty"` // user wants to enter passphrase on the device // contains filtered or unexported fields }
* Request: Send passphrase back @auxend
func (*PassphraseAck) Descriptor
deprecated
func (*PassphraseAck) Descriptor() ([]byte, []int)
Deprecated: Use PassphraseAck.ProtoReflect.Descriptor instead.
func (*PassphraseAck) GetOnDevice ¶
func (x *PassphraseAck) GetOnDevice() bool
func (*PassphraseAck) GetPassphrase ¶
func (x *PassphraseAck) GetPassphrase() string
func (*PassphraseAck) GetXState
deprecated
func (x *PassphraseAck) GetXState() []byte
Deprecated: Marked as deprecated in messages-common.proto.
func (*PassphraseAck) ProtoMessage ¶
func (*PassphraseAck) ProtoMessage()
func (*PassphraseAck) ProtoReflect ¶
func (x *PassphraseAck) ProtoReflect() protoreflect.Message
func (*PassphraseAck) Reset ¶
func (x *PassphraseAck) Reset()
func (*PassphraseAck) String ¶
func (x *PassphraseAck) String() string
type PassphraseRequest ¶
type PassphraseRequest struct { // Deprecated: Marked as deprecated in messages-common.proto. XOnDevice *bool `protobuf:"varint,1,opt,name=_on_device,json=OnDevice" json:"_on_device,omitempty"` // <2.3.0 // contains filtered or unexported fields }
* Response: Device awaits encryption passphrase @auxstart @next PassphraseAck
func (*PassphraseRequest) Descriptor
deprecated
func (*PassphraseRequest) Descriptor() ([]byte, []int)
Deprecated: Use PassphraseRequest.ProtoReflect.Descriptor instead.
func (*PassphraseRequest) GetXOnDevice
deprecated
func (x *PassphraseRequest) GetXOnDevice() bool
Deprecated: Marked as deprecated in messages-common.proto.
func (*PassphraseRequest) ProtoMessage ¶
func (*PassphraseRequest) ProtoMessage()
func (*PassphraseRequest) ProtoReflect ¶
func (x *PassphraseRequest) ProtoReflect() protoreflect.Message
func (*PassphraseRequest) Reset ¶
func (x *PassphraseRequest) Reset()
func (*PassphraseRequest) String ¶
func (x *PassphraseRequest) String() string
type PinMatrixAck ¶
type PinMatrixAck struct { Pin *string `protobuf:"bytes,1,req,name=pin" json:"pin,omitempty"` // matrix encoded PIN entered by user // contains filtered or unexported fields }
* Request: Computer responds with encoded PIN @auxend
func (*PinMatrixAck) Descriptor
deprecated
func (*PinMatrixAck) Descriptor() ([]byte, []int)
Deprecated: Use PinMatrixAck.ProtoReflect.Descriptor instead.
func (*PinMatrixAck) GetPin ¶
func (x *PinMatrixAck) GetPin() string
func (*PinMatrixAck) ProtoMessage ¶
func (*PinMatrixAck) ProtoMessage()
func (*PinMatrixAck) ProtoReflect ¶
func (x *PinMatrixAck) ProtoReflect() protoreflect.Message
func (*PinMatrixAck) Reset ¶
func (x *PinMatrixAck) Reset()
func (*PinMatrixAck) String ¶
func (x *PinMatrixAck) String() string
type PinMatrixRequest ¶
type PinMatrixRequest struct { Type *PinMatrixRequest_PinMatrixRequestType `protobuf:"varint,1,opt,name=type,enum=hw.trezor.messages.common.PinMatrixRequest_PinMatrixRequestType" json:"type,omitempty"` // contains filtered or unexported fields }
* Response: Device is asking computer to show PIN matrix and awaits PIN encoded using this matrix scheme @auxstart @next PinMatrixAck
func (*PinMatrixRequest) Descriptor
deprecated
func (*PinMatrixRequest) Descriptor() ([]byte, []int)
Deprecated: Use PinMatrixRequest.ProtoReflect.Descriptor instead.
func (*PinMatrixRequest) GetType ¶
func (x *PinMatrixRequest) GetType() PinMatrixRequest_PinMatrixRequestType
func (*PinMatrixRequest) ProtoMessage ¶
func (*PinMatrixRequest) ProtoMessage()
func (*PinMatrixRequest) ProtoReflect ¶
func (x *PinMatrixRequest) ProtoReflect() protoreflect.Message
func (*PinMatrixRequest) Reset ¶
func (x *PinMatrixRequest) Reset()
func (*PinMatrixRequest) String ¶
func (x *PinMatrixRequest) String() string
type PinMatrixRequest_PinMatrixRequestType ¶
type PinMatrixRequest_PinMatrixRequestType int32
* Type of PIN request
const ( PinMatrixRequest_PinMatrixRequestType_Current PinMatrixRequest_PinMatrixRequestType = 1 PinMatrixRequest_PinMatrixRequestType_NewFirst PinMatrixRequest_PinMatrixRequestType = 2 PinMatrixRequest_PinMatrixRequestType_NewSecond PinMatrixRequest_PinMatrixRequestType = 3 PinMatrixRequest_PinMatrixRequestType_WipeCodeFirst PinMatrixRequest_PinMatrixRequestType = 4 PinMatrixRequest_PinMatrixRequestType_WipeCodeSecond PinMatrixRequest_PinMatrixRequestType = 5 )
func (PinMatrixRequest_PinMatrixRequestType) Descriptor ¶
func (PinMatrixRequest_PinMatrixRequestType) Descriptor() protoreflect.EnumDescriptor
func (PinMatrixRequest_PinMatrixRequestType) EnumDescriptor
deprecated
func (PinMatrixRequest_PinMatrixRequestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PinMatrixRequest_PinMatrixRequestType.Descriptor instead.
func (PinMatrixRequest_PinMatrixRequestType) Number ¶
func (x PinMatrixRequest_PinMatrixRequestType) Number() protoreflect.EnumNumber
func (PinMatrixRequest_PinMatrixRequestType) String ¶
func (x PinMatrixRequest_PinMatrixRequestType) String() string
func (PinMatrixRequest_PinMatrixRequestType) Type ¶
func (PinMatrixRequest_PinMatrixRequestType) Type() protoreflect.EnumType
func (*PinMatrixRequest_PinMatrixRequestType) UnmarshalJSON
deprecated
func (x *PinMatrixRequest_PinMatrixRequestType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Ping ¶
type Ping struct { Message *string `protobuf:"bytes,1,opt,name=message,def=" json:"message,omitempty"` // message to send back in Success message ButtonProtection *bool `protobuf:"varint,2,opt,name=button_protection,json=buttonProtection" json:"button_protection,omitempty"` // ask for button press // contains filtered or unexported fields }
* Request: Test if the device is alive, device sends back the message in Success response @start @next Success
func (*Ping) Descriptor
deprecated
func (*Ping) GetButtonProtection ¶
func (*Ping) GetMessage ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type PreauthorizedRequest ¶
type PreauthorizedRequest struct {
// contains filtered or unexported fields
}
* Request: Device awaits a preauthorized operation. @start @next SignTx @next GetOwnershipProof
func (*PreauthorizedRequest) Descriptor
deprecated
func (*PreauthorizedRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreauthorizedRequest.ProtoReflect.Descriptor instead.
func (*PreauthorizedRequest) ProtoMessage ¶
func (*PreauthorizedRequest) ProtoMessage()
func (*PreauthorizedRequest) ProtoReflect ¶
func (x *PreauthorizedRequest) ProtoReflect() protoreflect.Message
func (*PreauthorizedRequest) Reset ¶
func (x *PreauthorizedRequest) Reset()
func (*PreauthorizedRequest) String ¶
func (x *PreauthorizedRequest) String() string
type RebootToBootloader ¶
type RebootToBootloader struct { // Action to be performed after rebooting to bootloader BootCommand *RebootToBootloader_BootCommand `` /* 160-byte string literal not displayed */ // Firmware header to be flashed after rebooting to bootloader FirmwareHeader []byte `protobuf:"bytes,2,opt,name=firmware_header,json=firmwareHeader" json:"firmware_header,omitempty"` // Length of language blob to be installed before upgrading firmware LanguageDataLength *uint32 `protobuf:"varint,3,opt,name=language_data_length,json=languageDataLength,def=0" json:"language_data_length,omitempty"` // contains filtered or unexported fields }
* Request: Reboot firmware to bootloader @start @next Success
func (*RebootToBootloader) Descriptor
deprecated
func (*RebootToBootloader) Descriptor() ([]byte, []int)
Deprecated: Use RebootToBootloader.ProtoReflect.Descriptor instead.
func (*RebootToBootloader) GetBootCommand ¶
func (x *RebootToBootloader) GetBootCommand() RebootToBootloader_BootCommand
func (*RebootToBootloader) GetFirmwareHeader ¶
func (x *RebootToBootloader) GetFirmwareHeader() []byte
func (*RebootToBootloader) GetLanguageDataLength ¶
func (x *RebootToBootloader) GetLanguageDataLength() uint32
func (*RebootToBootloader) ProtoMessage ¶
func (*RebootToBootloader) ProtoMessage()
func (*RebootToBootloader) ProtoReflect ¶
func (x *RebootToBootloader) ProtoReflect() protoreflect.Message
func (*RebootToBootloader) Reset ¶
func (x *RebootToBootloader) Reset()
func (*RebootToBootloader) String ¶
func (x *RebootToBootloader) String() string
type RebootToBootloader_BootCommand ¶
type RebootToBootloader_BootCommand int32
const ( // Go to bootloader menu RebootToBootloader_STOP_AND_WAIT RebootToBootloader_BootCommand = 0 // Connect to host and wait for firmware update RebootToBootloader_INSTALL_UPGRADE RebootToBootloader_BootCommand = 1 )
func (RebootToBootloader_BootCommand) Descriptor ¶
func (RebootToBootloader_BootCommand) Descriptor() protoreflect.EnumDescriptor
func (RebootToBootloader_BootCommand) Enum ¶
func (x RebootToBootloader_BootCommand) Enum() *RebootToBootloader_BootCommand
func (RebootToBootloader_BootCommand) EnumDescriptor
deprecated
func (RebootToBootloader_BootCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use RebootToBootloader_BootCommand.Descriptor instead.
func (RebootToBootloader_BootCommand) Number ¶
func (x RebootToBootloader_BootCommand) Number() protoreflect.EnumNumber
func (RebootToBootloader_BootCommand) String ¶
func (x RebootToBootloader_BootCommand) String() string
func (RebootToBootloader_BootCommand) Type ¶
func (RebootToBootloader_BootCommand) Type() protoreflect.EnumType
func (*RebootToBootloader_BootCommand) UnmarshalJSON
deprecated
func (x *RebootToBootloader_BootCommand) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type RecoveryDevice ¶
type RecoveryDevice struct { WordCount *uint32 `protobuf:"varint,1,opt,name=word_count,json=wordCount" json:"word_count,omitempty"` // number of words in BIP-39 mnemonic PassphraseProtection *bool `protobuf:"varint,2,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // enable master node encryption using passphrase PinProtection *bool `protobuf:"varint,3,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"` // enable PIN protection // Deprecated: Marked as deprecated in messages-management.proto. Language *string `protobuf:"bytes,4,opt,name=language" json:"language,omitempty"` // deprecated (use ChangeLanguage) Label *string `protobuf:"bytes,5,opt,name=label" json:"label,omitempty"` // device label EnforceWordlist *bool `protobuf:"varint,6,opt,name=enforce_wordlist,json=enforceWordlist" json:"enforce_wordlist,omitempty"` // enforce BIP-39 wordlist during the process // 7 reserved for unused recovery method Type *RecoveryDevice_RecoveryDeviceType `protobuf:"varint,8,opt,name=type,enum=hw.trezor.messages.management.RecoveryDevice_RecoveryDeviceType" json:"type,omitempty"` // supported recovery type U2FCounter *uint32 `protobuf:"varint,9,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"` // U2F counter DryRun *bool `protobuf:"varint,10,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"` // perform dry-run recovery workflow (for safe mnemonic validation) // contains filtered or unexported fields }
* Request: Start recovery workflow asking user for specific words of mnemonic Used to recovery device safely even on untrusted computer. @start @next WordRequest
func (*RecoveryDevice) Descriptor
deprecated
func (*RecoveryDevice) Descriptor() ([]byte, []int)
Deprecated: Use RecoveryDevice.ProtoReflect.Descriptor instead.
func (*RecoveryDevice) GetDryRun ¶
func (x *RecoveryDevice) GetDryRun() bool
func (*RecoveryDevice) GetEnforceWordlist ¶
func (x *RecoveryDevice) GetEnforceWordlist() bool
func (*RecoveryDevice) GetLabel ¶
func (x *RecoveryDevice) GetLabel() string
func (*RecoveryDevice) GetLanguage
deprecated
func (x *RecoveryDevice) GetLanguage() string
Deprecated: Marked as deprecated in messages-management.proto.
func (*RecoveryDevice) GetPassphraseProtection ¶
func (x *RecoveryDevice) GetPassphraseProtection() bool
func (*RecoveryDevice) GetPinProtection ¶
func (x *RecoveryDevice) GetPinProtection() bool
func (*RecoveryDevice) GetType ¶
func (x *RecoveryDevice) GetType() RecoveryDevice_RecoveryDeviceType
func (*RecoveryDevice) GetU2FCounter ¶
func (x *RecoveryDevice) GetU2FCounter() uint32
func (*RecoveryDevice) GetWordCount ¶
func (x *RecoveryDevice) GetWordCount() uint32
func (*RecoveryDevice) ProtoMessage ¶
func (*RecoveryDevice) ProtoMessage()
func (*RecoveryDevice) ProtoReflect ¶
func (x *RecoveryDevice) ProtoReflect() protoreflect.Message
func (*RecoveryDevice) Reset ¶
func (x *RecoveryDevice) Reset()
func (*RecoveryDevice) String ¶
func (x *RecoveryDevice) String() string
type RecoveryDevice_RecoveryDeviceType ¶
type RecoveryDevice_RecoveryDeviceType int32
* Type of recovery procedure. These should be used as bitmask, e.g., `RecoveryDeviceType_ScrambledWords | RecoveryDeviceType_Matrix` listing every method supported by the host computer.
Note that ScrambledWords must be supported by every implementation for backward compatibility; there is no way to not support it.
const ( // use powers of two when extending this field RecoveryDevice_RecoveryDeviceType_ScrambledWords RecoveryDevice_RecoveryDeviceType = 0 // words in scrambled order RecoveryDevice_RecoveryDeviceType_Matrix RecoveryDevice_RecoveryDeviceType = 1 // matrix recovery type )
func (RecoveryDevice_RecoveryDeviceType) Descriptor ¶
func (RecoveryDevice_RecoveryDeviceType) Descriptor() protoreflect.EnumDescriptor
func (RecoveryDevice_RecoveryDeviceType) Enum ¶
func (x RecoveryDevice_RecoveryDeviceType) Enum() *RecoveryDevice_RecoveryDeviceType
func (RecoveryDevice_RecoveryDeviceType) EnumDescriptor
deprecated
func (RecoveryDevice_RecoveryDeviceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecoveryDevice_RecoveryDeviceType.Descriptor instead.
func (RecoveryDevice_RecoveryDeviceType) Number ¶
func (x RecoveryDevice_RecoveryDeviceType) Number() protoreflect.EnumNumber
func (RecoveryDevice_RecoveryDeviceType) String ¶
func (x RecoveryDevice_RecoveryDeviceType) String() string
func (RecoveryDevice_RecoveryDeviceType) Type ¶
func (RecoveryDevice_RecoveryDeviceType) Type() protoreflect.EnumType
func (*RecoveryDevice_RecoveryDeviceType) UnmarshalJSON
deprecated
func (x *RecoveryDevice_RecoveryDeviceType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ResetDevice ¶
type ResetDevice struct { DisplayRandom *bool `protobuf:"varint,1,opt,name=display_random,json=displayRandom" json:"display_random,omitempty"` // display entropy generated by the device before asking for additional entropy Strength *uint32 `protobuf:"varint,2,opt,name=strength,def=256" json:"strength,omitempty"` // strength of seed in bits PassphraseProtection *bool `protobuf:"varint,3,opt,name=passphrase_protection,json=passphraseProtection" json:"passphrase_protection,omitempty"` // enable master node encryption using passphrase PinProtection *bool `protobuf:"varint,4,opt,name=pin_protection,json=pinProtection" json:"pin_protection,omitempty"` // enable PIN protection // Deprecated: Marked as deprecated in messages-management.proto. Language *string `protobuf:"bytes,5,opt,name=language" json:"language,omitempty"` // deprecated (use ChangeLanguage) Label *string `protobuf:"bytes,6,opt,name=label" json:"label,omitempty"` // device label U2FCounter *uint32 `protobuf:"varint,7,opt,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"` // U2F counter SkipBackup *bool `protobuf:"varint,8,opt,name=skip_backup,json=skipBackup" json:"skip_backup,omitempty"` // postpone seed backup to BackupDevice workflow NoBackup *bool `protobuf:"varint,9,opt,name=no_backup,json=noBackup" json:"no_backup,omitempty"` // indicate that no backup is going to be made BackupType *BackupType `` // type of the mnemonic backup /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
* Request: Ask device to do initialization involving user interaction @start @next EntropyRequest @next Failure
func (*ResetDevice) Descriptor
deprecated
func (*ResetDevice) Descriptor() ([]byte, []int)
Deprecated: Use ResetDevice.ProtoReflect.Descriptor instead.
func (*ResetDevice) GetBackupType ¶
func (x *ResetDevice) GetBackupType() BackupType
func (*ResetDevice) GetDisplayRandom ¶
func (x *ResetDevice) GetDisplayRandom() bool
func (*ResetDevice) GetLabel ¶
func (x *ResetDevice) GetLabel() string
func (*ResetDevice) GetLanguage
deprecated
func (x *ResetDevice) GetLanguage() string
Deprecated: Marked as deprecated in messages-management.proto.
func (*ResetDevice) GetNoBackup ¶
func (x *ResetDevice) GetNoBackup() bool
func (*ResetDevice) GetPassphraseProtection ¶
func (x *ResetDevice) GetPassphraseProtection() bool
func (*ResetDevice) GetPinProtection ¶
func (x *ResetDevice) GetPinProtection() bool
func (*ResetDevice) GetSkipBackup ¶
func (x *ResetDevice) GetSkipBackup() bool
func (*ResetDevice) GetStrength ¶
func (x *ResetDevice) GetStrength() uint32
func (*ResetDevice) GetU2FCounter ¶
func (x *ResetDevice) GetU2FCounter() uint32
func (*ResetDevice) ProtoMessage ¶
func (*ResetDevice) ProtoMessage()
func (*ResetDevice) ProtoReflect ¶
func (x *ResetDevice) ProtoReflect() protoreflect.Message
func (*ResetDevice) Reset ¶
func (x *ResetDevice) Reset()
func (*ResetDevice) String ¶
func (x *ResetDevice) String() string
type SafetyCheckLevel ¶
type SafetyCheckLevel int32
* Level of safety checks for unsafe actions like spending from invalid path namespace or setting high transaction fee.
const ( SafetyCheckLevel_Strict SafetyCheckLevel = 0 // disallow unsafe actions, this is the default SafetyCheckLevel_PromptAlways SafetyCheckLevel = 1 // ask user before unsafe action SafetyCheckLevel_PromptTemporarily SafetyCheckLevel = 2 // like PromptAlways but reverts to Strict after reboot )
func (SafetyCheckLevel) Descriptor ¶
func (SafetyCheckLevel) Descriptor() protoreflect.EnumDescriptor
func (SafetyCheckLevel) Enum ¶
func (x SafetyCheckLevel) Enum() *SafetyCheckLevel
func (SafetyCheckLevel) EnumDescriptor
deprecated
func (SafetyCheckLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use SafetyCheckLevel.Descriptor instead.
func (SafetyCheckLevel) Number ¶
func (x SafetyCheckLevel) Number() protoreflect.EnumNumber
func (SafetyCheckLevel) String ¶
func (x SafetyCheckLevel) String() string
func (SafetyCheckLevel) Type ¶
func (SafetyCheckLevel) Type() protoreflect.EnumType
func (*SafetyCheckLevel) UnmarshalJSON
deprecated
func (x *SafetyCheckLevel) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type SdProtect ¶
type SdProtect struct { Operation *SdProtect_SdProtectOperationType `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
* Request: Starts workflow for enabling/regenerating/disabling SD card protection @start @next Success @next Failure
func (*SdProtect) Descriptor
deprecated
func (*SdProtect) GetOperation ¶
func (x *SdProtect) GetOperation() SdProtect_SdProtectOperationType
func (*SdProtect) ProtoMessage ¶
func (*SdProtect) ProtoMessage()
func (*SdProtect) ProtoReflect ¶
func (x *SdProtect) ProtoReflect() protoreflect.Message
type SdProtect_SdProtectOperationType ¶
type SdProtect_SdProtectOperationType int32
* Structure representing SD card protection operation
const ( SdProtect_DISABLE SdProtect_SdProtectOperationType = 0 SdProtect_ENABLE SdProtect_SdProtectOperationType = 1 SdProtect_REFRESH SdProtect_SdProtectOperationType = 2 )
func (SdProtect_SdProtectOperationType) Descriptor ¶
func (SdProtect_SdProtectOperationType) Descriptor() protoreflect.EnumDescriptor
func (SdProtect_SdProtectOperationType) Enum ¶
func (x SdProtect_SdProtectOperationType) Enum() *SdProtect_SdProtectOperationType
func (SdProtect_SdProtectOperationType) EnumDescriptor
deprecated
func (SdProtect_SdProtectOperationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SdProtect_SdProtectOperationType.Descriptor instead.
func (SdProtect_SdProtectOperationType) Number ¶
func (x SdProtect_SdProtectOperationType) Number() protoreflect.EnumNumber
func (SdProtect_SdProtectOperationType) String ¶
func (x SdProtect_SdProtectOperationType) String() string
func (SdProtect_SdProtectOperationType) Type ¶
func (SdProtect_SdProtectOperationType) Type() protoreflect.EnumType
func (*SdProtect_SdProtectOperationType) UnmarshalJSON
deprecated
func (x *SdProtect_SdProtectOperationType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type SetBusy ¶
type SetBusy struct { ExpiryMs *uint32 `protobuf:"varint,1,opt,name=expiry_ms,json=expiryMs" json:"expiry_ms,omitempty"` // The time in milliseconds after which the dialog will automatically disappear. Overrides any previously set expiry. If not set, then the dialog is hidden. // contains filtered or unexported fields }
* Request: Show a "Do not disconnect" dialog instead of the standard homescreen. @start @next Success
func (*SetBusy) Descriptor
deprecated
func (*SetBusy) GetExpiryMs ¶
func (*SetBusy) ProtoMessage ¶
func (*SetBusy) ProtoMessage()
func (*SetBusy) ProtoReflect ¶
func (x *SetBusy) ProtoReflect() protoreflect.Message
type SetU2FCounter ¶
type SetU2FCounter struct { U2FCounter *uint32 `protobuf:"varint,1,req,name=u2f_counter,json=u2fCounter" json:"u2f_counter,omitempty"` // contains filtered or unexported fields }
* Request: Set U2F counter @start @next Success
func (*SetU2FCounter) Descriptor
deprecated
func (*SetU2FCounter) Descriptor() ([]byte, []int)
Deprecated: Use SetU2FCounter.ProtoReflect.Descriptor instead.
func (*SetU2FCounter) GetU2FCounter ¶
func (x *SetU2FCounter) GetU2FCounter() uint32
func (*SetU2FCounter) ProtoMessage ¶
func (*SetU2FCounter) ProtoMessage()
func (*SetU2FCounter) ProtoReflect ¶
func (x *SetU2FCounter) ProtoReflect() protoreflect.Message
func (*SetU2FCounter) Reset ¶
func (x *SetU2FCounter) Reset()
func (*SetU2FCounter) String ¶
func (x *SetU2FCounter) String() string
type ShowDeviceTutorial ¶
type ShowDeviceTutorial struct {
// contains filtered or unexported fields
}
* Request: Show tutorial screens on the device @start @next Success
func (*ShowDeviceTutorial) Descriptor
deprecated
func (*ShowDeviceTutorial) Descriptor() ([]byte, []int)
Deprecated: Use ShowDeviceTutorial.ProtoReflect.Descriptor instead.
func (*ShowDeviceTutorial) ProtoMessage ¶
func (*ShowDeviceTutorial) ProtoMessage()
func (*ShowDeviceTutorial) ProtoReflect ¶
func (x *ShowDeviceTutorial) ProtoReflect() protoreflect.Message
func (*ShowDeviceTutorial) Reset ¶
func (x *ShowDeviceTutorial) Reset()
func (*ShowDeviceTutorial) String ¶
func (x *ShowDeviceTutorial) String() string
type SignIdentity ¶
type SignIdentity struct { Identity *IdentityType `protobuf:"bytes,1,req,name=identity" json:"identity,omitempty"` // identity ChallengeHidden []byte `protobuf:"bytes,2,opt,name=challenge_hidden,json=challengeHidden,def=" json:"challenge_hidden,omitempty"` // non-visible challenge ChallengeVisual *string `protobuf:"bytes,3,opt,name=challenge_visual,json=challengeVisual,def=" json:"challenge_visual,omitempty"` // challenge shown on display (e.g. date+time) EcdsaCurveName *string `protobuf:"bytes,4,opt,name=ecdsa_curve_name,json=ecdsaCurveName" json:"ecdsa_curve_name,omitempty"` // ECDSA curve name to use // contains filtered or unexported fields }
* Request: Ask device to sign identity @start @next SignedIdentity @next Failure
func (*SignIdentity) Descriptor
deprecated
func (*SignIdentity) Descriptor() ([]byte, []int)
Deprecated: Use SignIdentity.ProtoReflect.Descriptor instead.
func (*SignIdentity) GetChallengeHidden ¶
func (x *SignIdentity) GetChallengeHidden() []byte
func (*SignIdentity) GetChallengeVisual ¶
func (x *SignIdentity) GetChallengeVisual() string
func (*SignIdentity) GetEcdsaCurveName ¶
func (x *SignIdentity) GetEcdsaCurveName() string
func (*SignIdentity) GetIdentity ¶
func (x *SignIdentity) GetIdentity() *IdentityType
func (*SignIdentity) ProtoMessage ¶
func (*SignIdentity) ProtoMessage()
func (*SignIdentity) ProtoReflect ¶
func (x *SignIdentity) ProtoReflect() protoreflect.Message
func (*SignIdentity) Reset ¶
func (x *SignIdentity) Reset()
func (*SignIdentity) String ¶
func (x *SignIdentity) String() string
type SignedIdentity ¶
type SignedIdentity struct { Address *string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` // identity address PublicKey []byte `protobuf:"bytes,2,req,name=public_key,json=publicKey" json:"public_key,omitempty"` // identity public key Signature []byte `protobuf:"bytes,3,req,name=signature" json:"signature,omitempty"` // signature of the identity data // contains filtered or unexported fields }
* Response: Device provides signed identity @end
func (*SignedIdentity) Descriptor
deprecated
func (*SignedIdentity) Descriptor() ([]byte, []int)
Deprecated: Use SignedIdentity.ProtoReflect.Descriptor instead.
func (*SignedIdentity) GetAddress ¶
func (x *SignedIdentity) GetAddress() string
func (*SignedIdentity) GetPublicKey ¶
func (x *SignedIdentity) GetPublicKey() []byte
func (*SignedIdentity) GetSignature ¶
func (x *SignedIdentity) GetSignature() []byte
func (*SignedIdentity) ProtoMessage ¶
func (*SignedIdentity) ProtoMessage()
func (*SignedIdentity) ProtoReflect ¶
func (x *SignedIdentity) ProtoReflect() protoreflect.Message
func (*SignedIdentity) Reset ¶
func (x *SignedIdentity) Reset()
func (*SignedIdentity) String ¶
func (x *SignedIdentity) String() string
type Success ¶
type Success struct { Message *string `protobuf:"bytes,1,opt,name=message,def=" json:"message,omitempty"` // human readable description of action or request-specific payload // contains filtered or unexported fields }
* Response: Success of the previous request @end
func (*Success) Descriptor
deprecated
func (*Success) GetMessage ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) ProtoReflect ¶
func (x *Success) ProtoReflect() protoreflect.Message
type TranslationDataAck ¶
type TranslationDataAck struct { DataChunk []byte `protobuf:"bytes,1,req,name=data_chunk,json=dataChunk" json:"data_chunk,omitempty"` // Bytes from translation payload // contains filtered or unexported fields }
* Request: Translation payload data. @next TranslationDataRequest @next Success
func (*TranslationDataAck) Descriptor
deprecated
func (*TranslationDataAck) Descriptor() ([]byte, []int)
Deprecated: Use TranslationDataAck.ProtoReflect.Descriptor instead.
func (*TranslationDataAck) GetDataChunk ¶
func (x *TranslationDataAck) GetDataChunk() []byte
func (*TranslationDataAck) ProtoMessage ¶
func (*TranslationDataAck) ProtoMessage()
func (*TranslationDataAck) ProtoReflect ¶
func (x *TranslationDataAck) ProtoReflect() protoreflect.Message
func (*TranslationDataAck) Reset ¶
func (x *TranslationDataAck) Reset()
func (*TranslationDataAck) String ¶
func (x *TranslationDataAck) String() string
type TranslationDataRequest ¶
type TranslationDataRequest struct { DataLength *uint32 `protobuf:"varint,1,req,name=data_length,json=dataLength" json:"data_length,omitempty"` // Number of bytes being requested DataOffset *uint32 `protobuf:"varint,2,req,name=data_offset,json=dataOffset" json:"data_offset,omitempty"` // Offset of the first byte being requested // contains filtered or unexported fields }
* Response: Device asks for more data from transaction payload. @end @next TranslationDataAck
func (*TranslationDataRequest) Descriptor
deprecated
func (*TranslationDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use TranslationDataRequest.ProtoReflect.Descriptor instead.
func (*TranslationDataRequest) GetDataLength ¶
func (x *TranslationDataRequest) GetDataLength() uint32
func (*TranslationDataRequest) GetDataOffset ¶
func (x *TranslationDataRequest) GetDataOffset() uint32
func (*TranslationDataRequest) ProtoMessage ¶
func (*TranslationDataRequest) ProtoMessage()
func (*TranslationDataRequest) ProtoReflect ¶
func (x *TranslationDataRequest) ProtoReflect() protoreflect.Message
func (*TranslationDataRequest) Reset ¶
func (x *TranslationDataRequest) Reset()
func (*TranslationDataRequest) String ¶
func (x *TranslationDataRequest) String() string
type UnlockBootloader ¶
type UnlockBootloader struct {
// contains filtered or unexported fields
}
* Request: Unlocks bootloader, !irreversible! @start @next Success @next Failure
func (*UnlockBootloader) Descriptor
deprecated
func (*UnlockBootloader) Descriptor() ([]byte, []int)
Deprecated: Use UnlockBootloader.ProtoReflect.Descriptor instead.
func (*UnlockBootloader) ProtoMessage ¶
func (*UnlockBootloader) ProtoMessage()
func (*UnlockBootloader) ProtoReflect ¶
func (x *UnlockBootloader) ProtoReflect() protoreflect.Message
func (*UnlockBootloader) Reset ¶
func (x *UnlockBootloader) Reset()
func (*UnlockBootloader) String ¶
func (x *UnlockBootloader) String() string
type UnlockPath ¶
type UnlockPath struct { AddressN []uint32 `protobuf:"varint,1,rep,name=address_n,json=addressN" json:"address_n,omitempty"` // prefix of the BIP-32 path leading to the account (m / purpose') Mac []byte `protobuf:"bytes,2,opt,name=mac" json:"mac,omitempty"` // the MAC returned by UnlockedPathRequest // contains filtered or unexported fields }
* Request: Ask device to unlock a subtree of the keychain. @start @next UnlockedPathRequest @next Failure
func (*UnlockPath) Descriptor
deprecated
func (*UnlockPath) Descriptor() ([]byte, []int)
Deprecated: Use UnlockPath.ProtoReflect.Descriptor instead.
func (*UnlockPath) GetAddressN ¶
func (x *UnlockPath) GetAddressN() []uint32
func (*UnlockPath) GetMac ¶
func (x *UnlockPath) GetMac() []byte
func (*UnlockPath) ProtoMessage ¶
func (*UnlockPath) ProtoMessage()
func (*UnlockPath) ProtoReflect ¶
func (x *UnlockPath) ProtoReflect() protoreflect.Message
func (*UnlockPath) Reset ¶
func (x *UnlockPath) Reset()
func (*UnlockPath) String ¶
func (x *UnlockPath) String() string
type UnlockedPathRequest ¶
type UnlockedPathRequest struct { Mac []byte `protobuf:"bytes,1,opt,name=mac" json:"mac,omitempty"` // authentication code for future UnlockPath calls // contains filtered or unexported fields }
* Request: Device awaits an operation. @start @next SignTx @next GetPublicKey @next GetAddress
func (*UnlockedPathRequest) Descriptor
deprecated
func (*UnlockedPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlockedPathRequest.ProtoReflect.Descriptor instead.
func (*UnlockedPathRequest) GetMac ¶
func (x *UnlockedPathRequest) GetMac() []byte
func (*UnlockedPathRequest) ProtoMessage ¶
func (*UnlockedPathRequest) ProtoMessage()
func (*UnlockedPathRequest) ProtoReflect ¶
func (x *UnlockedPathRequest) ProtoReflect() protoreflect.Message
func (*UnlockedPathRequest) Reset ¶
func (x *UnlockedPathRequest) Reset()
func (*UnlockedPathRequest) String ¶
func (x *UnlockedPathRequest) String() string
type WebAuthnAddResidentCredential ¶
type WebAuthnAddResidentCredential struct { CredentialId []byte `protobuf:"bytes,1,opt,name=credential_id,json=credentialId" json:"credential_id,omitempty"` // contains filtered or unexported fields }
* Request: Add resident credential @start @next Success @next Failure
func (*WebAuthnAddResidentCredential) Descriptor
deprecated
func (*WebAuthnAddResidentCredential) Descriptor() ([]byte, []int)
Deprecated: Use WebAuthnAddResidentCredential.ProtoReflect.Descriptor instead.
func (*WebAuthnAddResidentCredential) GetCredentialId ¶
func (x *WebAuthnAddResidentCredential) GetCredentialId() []byte
func (*WebAuthnAddResidentCredential) ProtoMessage ¶
func (*WebAuthnAddResidentCredential) ProtoMessage()
func (*WebAuthnAddResidentCredential) ProtoReflect ¶
func (x *WebAuthnAddResidentCredential) ProtoReflect() protoreflect.Message
func (*WebAuthnAddResidentCredential) Reset ¶
func (x *WebAuthnAddResidentCredential) Reset()
func (*WebAuthnAddResidentCredential) String ¶
func (x *WebAuthnAddResidentCredential) String() string
type WebAuthnCredentials ¶
type WebAuthnCredentials struct { Credentials []*WebAuthnCredentials_WebAuthnCredential `protobuf:"bytes,1,rep,name=credentials" json:"credentials,omitempty"` // contains filtered or unexported fields }
* Response: Resident credential list @start @next end
func (*WebAuthnCredentials) Descriptor
deprecated
func (*WebAuthnCredentials) Descriptor() ([]byte, []int)
Deprecated: Use WebAuthnCredentials.ProtoReflect.Descriptor instead.
func (*WebAuthnCredentials) GetCredentials ¶
func (x *WebAuthnCredentials) GetCredentials() []*WebAuthnCredentials_WebAuthnCredential
func (*WebAuthnCredentials) ProtoMessage ¶
func (*WebAuthnCredentials) ProtoMessage()
func (*WebAuthnCredentials) ProtoReflect ¶
func (x *WebAuthnCredentials) ProtoReflect() protoreflect.Message
func (*WebAuthnCredentials) Reset ¶
func (x *WebAuthnCredentials) Reset()
func (*WebAuthnCredentials) String ¶
func (x *WebAuthnCredentials) String() string
type WebAuthnCredentials_WebAuthnCredential ¶
type WebAuthnCredentials_WebAuthnCredential struct { Index *uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` Id []byte `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` RpId *string `protobuf:"bytes,3,opt,name=rp_id,json=rpId" json:"rp_id,omitempty"` RpName *string `protobuf:"bytes,4,opt,name=rp_name,json=rpName" json:"rp_name,omitempty"` UserId []byte `protobuf:"bytes,5,opt,name=user_id,json=userId" json:"user_id,omitempty"` UserName *string `protobuf:"bytes,6,opt,name=user_name,json=userName" json:"user_name,omitempty"` UserDisplayName *string `protobuf:"bytes,7,opt,name=user_display_name,json=userDisplayName" json:"user_display_name,omitempty"` CreationTime *uint32 `protobuf:"varint,8,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"` HmacSecret *bool `protobuf:"varint,9,opt,name=hmac_secret,json=hmacSecret" json:"hmac_secret,omitempty"` UseSignCount *bool `protobuf:"varint,10,opt,name=use_sign_count,json=useSignCount" json:"use_sign_count,omitempty"` Algorithm *int32 `protobuf:"zigzag32,11,opt,name=algorithm" json:"algorithm,omitempty"` Curve *int32 `protobuf:"zigzag32,12,opt,name=curve" json:"curve,omitempty"` // contains filtered or unexported fields }
func (*WebAuthnCredentials_WebAuthnCredential) Descriptor
deprecated
func (*WebAuthnCredentials_WebAuthnCredential) Descriptor() ([]byte, []int)
Deprecated: Use WebAuthnCredentials_WebAuthnCredential.ProtoReflect.Descriptor instead.
func (*WebAuthnCredentials_WebAuthnCredential) GetAlgorithm ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetAlgorithm() int32
func (*WebAuthnCredentials_WebAuthnCredential) GetCreationTime ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetCreationTime() uint32
func (*WebAuthnCredentials_WebAuthnCredential) GetCurve ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetCurve() int32
func (*WebAuthnCredentials_WebAuthnCredential) GetHmacSecret ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetHmacSecret() bool
func (*WebAuthnCredentials_WebAuthnCredential) GetId ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetId() []byte
func (*WebAuthnCredentials_WebAuthnCredential) GetIndex ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetIndex() uint32
func (*WebAuthnCredentials_WebAuthnCredential) GetRpId ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetRpId() string
func (*WebAuthnCredentials_WebAuthnCredential) GetRpName ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetRpName() string
func (*WebAuthnCredentials_WebAuthnCredential) GetUseSignCount ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetUseSignCount() bool
func (*WebAuthnCredentials_WebAuthnCredential) GetUserDisplayName ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetUserDisplayName() string
func (*WebAuthnCredentials_WebAuthnCredential) GetUserId ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetUserId() []byte
func (*WebAuthnCredentials_WebAuthnCredential) GetUserName ¶
func (x *WebAuthnCredentials_WebAuthnCredential) GetUserName() string
func (*WebAuthnCredentials_WebAuthnCredential) ProtoMessage ¶
func (*WebAuthnCredentials_WebAuthnCredential) ProtoMessage()
func (*WebAuthnCredentials_WebAuthnCredential) ProtoReflect ¶
func (x *WebAuthnCredentials_WebAuthnCredential) ProtoReflect() protoreflect.Message
func (*WebAuthnCredentials_WebAuthnCredential) Reset ¶
func (x *WebAuthnCredentials_WebAuthnCredential) Reset()
func (*WebAuthnCredentials_WebAuthnCredential) String ¶
func (x *WebAuthnCredentials_WebAuthnCredential) String() string
type WebAuthnListResidentCredentials ¶
type WebAuthnListResidentCredentials struct {
// contains filtered or unexported fields
}
* Request: List resident credentials @start @next WebAuthnCredentials @next Failure
func (*WebAuthnListResidentCredentials) Descriptor
deprecated
func (*WebAuthnListResidentCredentials) Descriptor() ([]byte, []int)
Deprecated: Use WebAuthnListResidentCredentials.ProtoReflect.Descriptor instead.
func (*WebAuthnListResidentCredentials) ProtoMessage ¶
func (*WebAuthnListResidentCredentials) ProtoMessage()
func (*WebAuthnListResidentCredentials) ProtoReflect ¶
func (x *WebAuthnListResidentCredentials) ProtoReflect() protoreflect.Message
func (*WebAuthnListResidentCredentials) Reset ¶
func (x *WebAuthnListResidentCredentials) Reset()
func (*WebAuthnListResidentCredentials) String ¶
func (x *WebAuthnListResidentCredentials) String() string
type WebAuthnRemoveResidentCredential ¶
type WebAuthnRemoveResidentCredential struct { Index *uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` // contains filtered or unexported fields }
* Request: Remove resident credential @start @next Success @next Failure
func (*WebAuthnRemoveResidentCredential) Descriptor
deprecated
func (*WebAuthnRemoveResidentCredential) Descriptor() ([]byte, []int)
Deprecated: Use WebAuthnRemoveResidentCredential.ProtoReflect.Descriptor instead.
func (*WebAuthnRemoveResidentCredential) GetIndex ¶
func (x *WebAuthnRemoveResidentCredential) GetIndex() uint32
func (*WebAuthnRemoveResidentCredential) ProtoMessage ¶
func (*WebAuthnRemoveResidentCredential) ProtoMessage()
func (*WebAuthnRemoveResidentCredential) ProtoReflect ¶
func (x *WebAuthnRemoveResidentCredential) ProtoReflect() protoreflect.Message
func (*WebAuthnRemoveResidentCredential) Reset ¶
func (x *WebAuthnRemoveResidentCredential) Reset()
func (*WebAuthnRemoveResidentCredential) String ¶
func (x *WebAuthnRemoveResidentCredential) String() string
type WipeDevice ¶
type WipeDevice struct {
// contains filtered or unexported fields
}
* Request: Request device to wipe all sensitive data and settings @start @next Success @next Failure
func (*WipeDevice) Descriptor
deprecated
func (*WipeDevice) Descriptor() ([]byte, []int)
Deprecated: Use WipeDevice.ProtoReflect.Descriptor instead.
func (*WipeDevice) ProtoMessage ¶
func (*WipeDevice) ProtoMessage()
func (*WipeDevice) ProtoReflect ¶
func (x *WipeDevice) ProtoReflect() protoreflect.Message
func (*WipeDevice) Reset ¶
func (x *WipeDevice) Reset()
func (*WipeDevice) String ¶
func (x *WipeDevice) String() string
type WordAck ¶
type WordAck struct { Word *string `protobuf:"bytes,1,req,name=word" json:"word,omitempty"` // one word of mnemonic on asked position // contains filtered or unexported fields }
* Request: Computer replies with word from the mnemonic @next WordRequest @next Success @next Failure
func (*WordAck) Descriptor
deprecated
func (*WordAck) ProtoMessage ¶
func (*WordAck) ProtoMessage()
func (*WordAck) ProtoReflect ¶
func (x *WordAck) ProtoReflect() protoreflect.Message
type WordRequest ¶
type WordRequest struct { Type *WordRequest_WordRequestType `protobuf:"varint,1,req,name=type,enum=hw.trezor.messages.management.WordRequest_WordRequestType" json:"type,omitempty"` // contains filtered or unexported fields }
* Response: Device is waiting for user to enter word of the mnemonic Its position is shown only on device's internal display. @next WordAck
func (*WordRequest) Descriptor
deprecated
func (*WordRequest) Descriptor() ([]byte, []int)
Deprecated: Use WordRequest.ProtoReflect.Descriptor instead.
func (*WordRequest) GetType ¶
func (x *WordRequest) GetType() WordRequest_WordRequestType
func (*WordRequest) ProtoMessage ¶
func (*WordRequest) ProtoMessage()
func (*WordRequest) ProtoReflect ¶
func (x *WordRequest) ProtoReflect() protoreflect.Message
func (*WordRequest) Reset ¶
func (x *WordRequest) Reset()
func (*WordRequest) String ¶
func (x *WordRequest) String() string
type WordRequest_WordRequestType ¶
type WordRequest_WordRequestType int32
* Type of Recovery Word request
const ( WordRequest_WordRequestType_Plain WordRequest_WordRequestType = 0 WordRequest_WordRequestType_Matrix9 WordRequest_WordRequestType = 1 WordRequest_WordRequestType_Matrix6 WordRequest_WordRequestType = 2 )
func (WordRequest_WordRequestType) Descriptor ¶
func (WordRequest_WordRequestType) Descriptor() protoreflect.EnumDescriptor
func (WordRequest_WordRequestType) Enum ¶
func (x WordRequest_WordRequestType) Enum() *WordRequest_WordRequestType
func (WordRequest_WordRequestType) EnumDescriptor
deprecated
func (WordRequest_WordRequestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WordRequest_WordRequestType.Descriptor instead.
func (WordRequest_WordRequestType) Number ¶
func (x WordRequest_WordRequestType) Number() protoreflect.EnumNumber
func (WordRequest_WordRequestType) String ¶
func (x WordRequest_WordRequestType) String() string
func (WordRequest_WordRequestType) Type ¶
func (WordRequest_WordRequestType) Type() protoreflect.EnumType
func (*WordRequest_WordRequestType) UnmarshalJSON
deprecated
func (x *WordRequest_WordRequestType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.