public static final class KeepKeyMessage.EncryptMessage extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.EncryptMessageOrBuilder
EncryptMessage
Request: Ask device to encrypt message @next EncryptedMessage @next Failure
Modifier and Type | Class and Description |
---|---|
static class |
KeepKeyMessage.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<KeepKeyMessage.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 KeepKeyMessage.EncryptMessage |
getDefaultInstance() |
KeepKeyMessage.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<KeepKeyMessage.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 KeepKeyMessage.EncryptMessage.Builder |
newBuilder() |
static KeepKeyMessage.EncryptMessage.Builder |
newBuilder(KeepKeyMessage.EncryptMessage prototype) |
KeepKeyMessage.EncryptMessage.Builder |
newBuilderForType() |
protected KeepKeyMessage.EncryptMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.EncryptMessage |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.EncryptMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.EncryptMessage |
parseFrom(byte[] data) |
static KeepKeyMessage.EncryptMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.EncryptMessage |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.EncryptMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.EncryptMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.EncryptMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.EncryptMessage |
parseFrom(InputStream input) |
static KeepKeyMessage.EncryptMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.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<KeepKeyMessage.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 KeepKeyMessage.EncryptMessage getDefaultInstance()
public KeepKeyMessage.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<KeepKeyMessage.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 KeepKeyMessage.EncryptMessageOrBuilder
public com.google.protobuf.ByteString getPubkey()
optional bytes pubkey = 1;
public key
getPubkey
in interface KeepKeyMessage.EncryptMessageOrBuilder
public boolean hasMessage()
optional bytes message = 2;
message to encrypt
hasMessage
in interface KeepKeyMessage.EncryptMessageOrBuilder
public com.google.protobuf.ByteString getMessage()
optional bytes message = 2;
message to encrypt
getMessage
in interface KeepKeyMessage.EncryptMessageOrBuilder
public boolean hasDisplayOnly()
optional bool display_only = 3;
show just on display? (don't send back via wire)
hasDisplayOnly
in interface KeepKeyMessage.EncryptMessageOrBuilder
public boolean getDisplayOnly()
optional bool display_only = 3;
show just on display? (don't send back via wire)
getDisplayOnly
in interface KeepKeyMessage.EncryptMessageOrBuilder
public List<Integer> getAddressNList()
repeated uint32 address_n = 4;
BIP-32 path to derive the signing key from master node
getAddressNList
in interface KeepKeyMessage.EncryptMessageOrBuilder
public int getAddressNCount()
repeated uint32 address_n = 4;
BIP-32 path to derive the signing key from master node
getAddressNCount
in interface KeepKeyMessage.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 KeepKeyMessage.EncryptMessageOrBuilder
public boolean hasCoinName()
optional string coin_name = 5 [default = "Bitcoin"];
coin to use for signing
hasCoinName
in interface KeepKeyMessage.EncryptMessageOrBuilder
public String getCoinName()
optional string coin_name = 5 [default = "Bitcoin"];
coin to use for signing
getCoinName
in interface KeepKeyMessage.EncryptMessageOrBuilder
public com.google.protobuf.ByteString getCoinNameBytes()
optional string coin_name = 5 [default = "Bitcoin"];
coin to use for signing
getCoinNameBytes
in interface KeepKeyMessage.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 KeepKeyMessage.EncryptMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.EncryptMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.EncryptMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.EncryptMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.EncryptMessage parseFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.EncryptMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.EncryptMessage parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.EncryptMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.EncryptMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeepKeyMessage.EncryptMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.EncryptMessage.Builder newBuilder()
public KeepKeyMessage.EncryptMessage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeepKeyMessage.EncryptMessage.Builder newBuilder(KeepKeyMessage.EncryptMessage prototype)
public KeepKeyMessage.EncryptMessage.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyMessage.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.