public static final class TrezorMessage.EncryptMessage extends com.google.protobuf.GeneratedMessage implements TrezorMessage.EncryptMessageOrBuilder
EncryptMessage
Request: Ask device to encrypt message @next EncryptedMessage @next Failure
Modifier and Type | Class and Description |
---|---|
static class |
TrezorMessage.EncryptMessage.Builder
Protobuf type
EncryptMessage |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
ADDRESS_N_FIELD_NUMBER |
static int |
COIN_NAME_FIELD_NUMBER |
static int |
DISPLAY_ONLY_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<TrezorMessage.EncryptMessage> |
PARSER |
static int |
PUBKEY_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
int |
getAddressN(int index)
repeated uint32 address_n = 4; |
int |
getAddressNCount()
repeated uint32 address_n = 4; |
List<Integer> |
getAddressNList()
repeated uint32 address_n = 4; |
String |
getCoinName()
optional string coin_name = 5 [default = "Bitcoin"]; |
com.google.protobuf.ByteString |
getCoinNameBytes()
optional string coin_name = 5 [default = "Bitcoin"]; |
static TrezorMessage.EncryptMessage |
getDefaultInstance() |
TrezorMessage.EncryptMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDisplayOnly()
optional bool display_only = 3; |
com.google.protobuf.ByteString |
getMessage()
optional bytes message = 2; |
com.google.protobuf.Parser<TrezorMessage.EncryptMessage> |
getParserForType() |
com.google.protobuf.ByteString |
getPubkey()
optional bytes pubkey = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCoinName()
optional string coin_name = 5 [default = "Bitcoin"]; |
boolean |
hasDisplayOnly()
optional bool display_only = 3; |
boolean |
hasMessage()
optional bytes message = 2; |
boolean |
hasPubkey()
optional bytes pubkey = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TrezorMessage.EncryptMessage.Builder |
newBuilder() |
static TrezorMessage.EncryptMessage.Builder |
newBuilder(TrezorMessage.EncryptMessage prototype) |
TrezorMessage.EncryptMessage.Builder |
newBuilderForType() |
protected TrezorMessage.EncryptMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TrezorMessage.EncryptMessage |
parseDelimitedFrom(InputStream input) |
static TrezorMessage.EncryptMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.EncryptMessage |
parseFrom(byte[] data) |
static TrezorMessage.EncryptMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.EncryptMessage |
parseFrom(com.google.protobuf.ByteString data) |
static TrezorMessage.EncryptMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.EncryptMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TrezorMessage.EncryptMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TrezorMessage.EncryptMessage |
parseFrom(InputStream input) |
static TrezorMessage.EncryptMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorMessage.EncryptMessage.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<TrezorMessage.EncryptMessage> PARSER
public static final int PUBKEY_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int DISPLAY_ONLY_FIELD_NUMBER
public static final int ADDRESS_N_FIELD_NUMBER
public static final int COIN_NAME_FIELD_NUMBER
public static TrezorMessage.EncryptMessage getDefaultInstance()
public TrezorMessage.EncryptMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<TrezorMessage.EncryptMessage> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasPubkey()
optional bytes pubkey = 1;
public key
hasPubkey
in interface TrezorMessage.EncryptMessageOrBuilder
public com.google.protobuf.ByteString getPubkey()
optional bytes pubkey = 1;
public key
getPubkey
in interface TrezorMessage.EncryptMessageOrBuilder
public boolean hasMessage()
optional bytes message = 2;
message to encrypt
hasMessage
in interface TrezorMessage.EncryptMessageOrBuilder
public com.google.protobuf.ByteString getMessage()
optional bytes message = 2;
message to encrypt
getMessage
in interface TrezorMessage.EncryptMessageOrBuilder
public boolean hasDisplayOnly()
optional bool display_only = 3;
show just on display? (don't send back via wire)
hasDisplayOnly
in interface TrezorMessage.EncryptMessageOrBuilder
public boolean getDisplayOnly()
optional bool display_only = 3;
show just on display? (don't send back via wire)
getDisplayOnly
in interface TrezorMessage.EncryptMessageOrBuilder
public List<Integer> getAddressNList()
repeated uint32 address_n = 4;
BIP-32 path to derive the signing key from master node
getAddressNList
in interface TrezorMessage.EncryptMessageOrBuilder
public int getAddressNCount()
repeated uint32 address_n = 4;
BIP-32 path to derive the signing key from master node
getAddressNCount
in interface TrezorMessage.EncryptMessageOrBuilder
public int getAddressN(int index)
repeated uint32 address_n = 4;
BIP-32 path to derive the signing key from master node
getAddressN
in interface TrezorMessage.EncryptMessageOrBuilder
public boolean hasCoinName()
optional string coin_name = 5 [default = "Bitcoin"];
coin to use for signing
hasCoinName
in interface TrezorMessage.EncryptMessageOrBuilder
public String getCoinName()
optional string coin_name = 5 [default = "Bitcoin"];
coin to use for signing
getCoinName
in interface TrezorMessage.EncryptMessageOrBuilder
public com.google.protobuf.ByteString getCoinNameBytes()
optional string coin_name = 5 [default = "Bitcoin"];
coin to use for signing
getCoinNameBytes
in interface TrezorMessage.EncryptMessageOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static TrezorMessage.EncryptMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EncryptMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EncryptMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EncryptMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TrezorMessage.EncryptMessage parseFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.EncryptMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.EncryptMessage parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TrezorMessage.EncryptMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.EncryptMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TrezorMessage.EncryptMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TrezorMessage.EncryptMessage.Builder newBuilder()
public TrezorMessage.EncryptMessage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TrezorMessage.EncryptMessage.Builder newBuilder(TrezorMessage.EncryptMessage prototype)
public TrezorMessage.EncryptMessage.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TrezorMessage.EncryptMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.