public static final class KeepKeyMessage.CipherKeyValue extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.CipherKeyValueOrBuilder
CipherKeyValue
Request: Ask device to encrypt or decrypt value of given key @next CipheredKeyValue @next Failure
Modifier and Type | Class and Description |
---|---|
static class |
KeepKeyMessage.CipherKeyValue.Builder
Protobuf type
CipherKeyValue |
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 |
ASK_ON_DECRYPT_FIELD_NUMBER |
static int |
ASK_ON_ENCRYPT_FIELD_NUMBER |
static int |
ENCRYPT_FIELD_NUMBER |
static int |
IV_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.CipherKeyValue> |
PARSER |
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
int |
getAddressN(int index)
repeated uint32 address_n = 1; |
int |
getAddressNCount()
repeated uint32 address_n = 1; |
List<Integer> |
getAddressNList()
repeated uint32 address_n = 1; |
boolean |
getAskOnDecrypt()
optional bool ask_on_decrypt = 6; |
boolean |
getAskOnEncrypt()
optional bool ask_on_encrypt = 5; |
static KeepKeyMessage.CipherKeyValue |
getDefaultInstance() |
KeepKeyMessage.CipherKeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEncrypt()
optional bool encrypt = 4; |
com.google.protobuf.ByteString |
getIv()
optional bytes iv = 7; |
String |
getKey()
optional string key = 2; |
com.google.protobuf.ByteString |
getKeyBytes()
optional string key = 2; |
com.google.protobuf.Parser<KeepKeyMessage.CipherKeyValue> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getValue()
optional bytes value = 3; |
boolean |
hasAskOnDecrypt()
optional bool ask_on_decrypt = 6; |
boolean |
hasAskOnEncrypt()
optional bool ask_on_encrypt = 5; |
boolean |
hasEncrypt()
optional bool encrypt = 4; |
boolean |
hasIv()
optional bytes iv = 7; |
boolean |
hasKey()
optional string key = 2; |
boolean |
hasValue()
optional bytes value = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.CipherKeyValue.Builder |
newBuilder() |
static KeepKeyMessage.CipherKeyValue.Builder |
newBuilder(KeepKeyMessage.CipherKeyValue prototype) |
KeepKeyMessage.CipherKeyValue.Builder |
newBuilderForType() |
protected KeepKeyMessage.CipherKeyValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.CipherKeyValue |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.CipherKeyValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(byte[] data) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(InputStream input) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.CipherKeyValue.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.CipherKeyValue> PARSER
public static final int ADDRESS_N_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int ENCRYPT_FIELD_NUMBER
public static final int ASK_ON_ENCRYPT_FIELD_NUMBER
public static final int ASK_ON_DECRYPT_FIELD_NUMBER
public static final int IV_FIELD_NUMBER
public static KeepKeyMessage.CipherKeyValue getDefaultInstance()
public KeepKeyMessage.CipherKeyValue 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.CipherKeyValue> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public List<Integer> getAddressNList()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNList
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public int getAddressNCount()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNCount
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public int getAddressN(int index)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressN
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public boolean hasKey()
optional string key = 2;
key component of key:value
hasKey
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public String getKey()
optional string key = 2;
key component of key:value
getKey
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public com.google.protobuf.ByteString getKeyBytes()
optional string key = 2;
key component of key:value
getKeyBytes
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public boolean hasValue()
optional bytes value = 3;
value component of key:value
hasValue
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public com.google.protobuf.ByteString getValue()
optional bytes value = 3;
value component of key:value
getValue
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public boolean hasEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
hasEncrypt
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public boolean getEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
getEncrypt
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public boolean hasAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
hasAskOnEncrypt
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public boolean getAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
getAskOnEncrypt
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public boolean hasAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
hasAskOnDecrypt
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public boolean getAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
getAskOnDecrypt
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public boolean hasIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
hasIv
in interface KeepKeyMessage.CipherKeyValueOrBuilder
public com.google.protobuf.ByteString getIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
getIv
in interface KeepKeyMessage.CipherKeyValueOrBuilder
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.CipherKeyValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.CipherKeyValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.CipherKeyValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.CipherKeyValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static KeepKeyMessage.CipherKeyValue parseFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.CipherKeyValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.CipherKeyValue parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KeepKeyMessage.CipherKeyValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.CipherKeyValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static KeepKeyMessage.CipherKeyValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KeepKeyMessage.CipherKeyValue.Builder newBuilder()
public KeepKeyMessage.CipherKeyValue.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static KeepKeyMessage.CipherKeyValue.Builder newBuilder(KeepKeyMessage.CipherKeyValue prototype)
public KeepKeyMessage.CipherKeyValue.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected KeepKeyMessage.CipherKeyValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.