public static final class KeepKeyMessage.CipherKeyValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.CipherKeyValue.Builder> implements KeepKeyMessage.CipherKeyValueOrBuilder
CipherKeyValue
Request: Ask device to encrypt or decrypt value of given key @next CipheredKeyValue @next Failure
| Modifier and Type | Method and Description |
|---|---|
KeepKeyMessage.CipherKeyValue.Builder |
addAddressN(int value)
repeated uint32 address_n = 1; |
KeepKeyMessage.CipherKeyValue.Builder |
addAllAddressN(Iterable<? extends Integer> values)
repeated uint32 address_n = 1; |
KeepKeyMessage.CipherKeyValue |
build() |
KeepKeyMessage.CipherKeyValue |
buildPartial() |
KeepKeyMessage.CipherKeyValue.Builder |
clear() |
KeepKeyMessage.CipherKeyValue.Builder |
clearAddressN()
repeated uint32 address_n = 1; |
KeepKeyMessage.CipherKeyValue.Builder |
clearAskOnDecrypt()
optional bool ask_on_decrypt = 6; |
KeepKeyMessage.CipherKeyValue.Builder |
clearAskOnEncrypt()
optional bool ask_on_encrypt = 5; |
KeepKeyMessage.CipherKeyValue.Builder |
clearEncrypt()
optional bool encrypt = 4; |
KeepKeyMessage.CipherKeyValue.Builder |
clearIv()
optional bytes iv = 7; |
KeepKeyMessage.CipherKeyValue.Builder |
clearKey()
optional string key = 2; |
KeepKeyMessage.CipherKeyValue.Builder |
clearValue()
optional bytes value = 3; |
KeepKeyMessage.CipherKeyValue.Builder |
clone() |
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; |
KeepKeyMessage.CipherKeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.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() |
KeepKeyMessage.CipherKeyValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.CipherKeyValue.Builder |
mergeFrom(KeepKeyMessage.CipherKeyValue other) |
KeepKeyMessage.CipherKeyValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
KeepKeyMessage.CipherKeyValue.Builder |
setAddressN(int index,
int value)
repeated uint32 address_n = 1; |
KeepKeyMessage.CipherKeyValue.Builder |
setAskOnDecrypt(boolean value)
optional bool ask_on_decrypt = 6; |
KeepKeyMessage.CipherKeyValue.Builder |
setAskOnEncrypt(boolean value)
optional bool ask_on_encrypt = 5; |
KeepKeyMessage.CipherKeyValue.Builder |
setEncrypt(boolean value)
optional bool encrypt = 4; |
KeepKeyMessage.CipherKeyValue.Builder |
setIv(com.google.protobuf.ByteString value)
optional bytes iv = 7; |
KeepKeyMessage.CipherKeyValue.Builder |
setKey(String value)
optional string key = 2; |
KeepKeyMessage.CipherKeyValue.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 2; |
KeepKeyMessage.CipherKeyValue.Builder |
setValue(com.google.protobuf.ByteString value)
optional bytes value = 3; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.CipherKeyValue.Builder>public KeepKeyMessage.CipherKeyValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.CipherKeyValue.Builder>public KeepKeyMessage.CipherKeyValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.CipherKeyValue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.CipherKeyValue.Builder>public KeepKeyMessage.CipherKeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic KeepKeyMessage.CipherKeyValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic KeepKeyMessage.CipherKeyValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic KeepKeyMessage.CipherKeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeepKeyMessage.CipherKeyValue.Builder>public KeepKeyMessage.CipherKeyValue.Builder mergeFrom(KeepKeyMessage.CipherKeyValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<KeepKeyMessage.CipherKeyValue.Builder>public KeepKeyMessage.CipherKeyValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<KeepKeyMessage.CipherKeyValue.Builder>IOExceptionpublic List<Integer> getAddressNList()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNList in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic int getAddressNCount()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNCount in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic int getAddressN(int index)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressN in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic KeepKeyMessage.CipherKeyValue.Builder setAddressN(int index, int value)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
public KeepKeyMessage.CipherKeyValue.Builder addAddressN(int value)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
public KeepKeyMessage.CipherKeyValue.Builder addAllAddressN(Iterable<? extends Integer> values)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
public KeepKeyMessage.CipherKeyValue.Builder clearAddressN()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
public boolean hasKey()
optional string key = 2;
key component of key:value
hasKey in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic String getKey()
optional string key = 2;
key component of key:value
getKey in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
optional string key = 2;
key component of key:value
getKeyBytes in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic KeepKeyMessage.CipherKeyValue.Builder setKey(String value)
optional string key = 2;
key component of key:value
public KeepKeyMessage.CipherKeyValue.Builder clearKey()
optional string key = 2;
key component of key:value
public KeepKeyMessage.CipherKeyValue.Builder setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 2;
key component of key:value
public boolean hasValue()
optional bytes value = 3;
value component of key:value
hasValue in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getValue()
optional bytes value = 3;
value component of key:value
getValue in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic KeepKeyMessage.CipherKeyValue.Builder setValue(com.google.protobuf.ByteString value)
optional bytes value = 3;
value component of key:value
public KeepKeyMessage.CipherKeyValue.Builder clearValue()
optional bytes value = 3;
value component of key:value
public boolean hasEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
hasEncrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean getEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
getEncrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic KeepKeyMessage.CipherKeyValue.Builder setEncrypt(boolean value)
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
public KeepKeyMessage.CipherKeyValue.Builder clearEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
public boolean hasAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
hasAskOnEncrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean getAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
getAskOnEncrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic KeepKeyMessage.CipherKeyValue.Builder setAskOnEncrypt(boolean value)
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
public KeepKeyMessage.CipherKeyValue.Builder clearAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
public boolean hasAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
hasAskOnDecrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean getAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
getAskOnDecrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic KeepKeyMessage.CipherKeyValue.Builder setAskOnDecrypt(boolean value)
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
public KeepKeyMessage.CipherKeyValue.Builder clearAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
public boolean hasIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
hasIv in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
getIv in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic KeepKeyMessage.CipherKeyValue.Builder setIv(com.google.protobuf.ByteString value)
optional bytes iv = 7;
initialization vector (will be computed if not set)
public KeepKeyMessage.CipherKeyValue.Builder clearIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.