public static interface Protos.KeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getAccountPath(int index)
The path to the root.
|
int |
getAccountPathCount()
The path to the root.
|
java.util.List<java.lang.Integer> |
getAccountPathList()
The path to the root.
|
long |
getCreationTimestamp()
Timestamp stored as millis since epoch.
|
Protos.DeterministicKey |
getDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7; |
Protos.DeterministicKeyOrBuilder |
getDeterministicKeyOrBuilder()
optional .wallet.DeterministicKey deterministic_key = 7; |
com.google.protobuf.ByteString |
getDeterministicSeed()
The seed for a deterministic key hierarchy.
|
Protos.EncryptedData |
getEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
Protos.EncryptedDataOrBuilder |
getEncryptedDataOrBuilder()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
Protos.EncryptedData |
getEncryptedDeterministicSeed()
Encrypted version of the seed
|
Protos.EncryptedDataOrBuilder |
getEncryptedDeterministicSeedOrBuilder()
Encrypted version of the seed
|
java.lang.String |
getLabel()
User-provided label associated with the key.
|
com.google.protobuf.ByteString |
getLabelBytes()
User-provided label associated with the key.
|
Protos.Key.OutputScriptType |
getOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
|
com.google.protobuf.ByteString |
getPublicKey()
The public EC key derived from the private key.
|
com.google.protobuf.ByteString |
getSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
|
Protos.Key.Type |
getType()
required .wallet.Key.Type type = 1; |
boolean |
hasCreationTimestamp()
Timestamp stored as millis since epoch.
|
boolean |
hasDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7; |
boolean |
hasDeterministicSeed()
The seed for a deterministic key hierarchy.
|
boolean |
hasEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
|
boolean |
hasEncryptedDeterministicSeed()
Encrypted version of the seed
|
boolean |
hasLabel()
User-provided label associated with the key.
|
boolean |
hasOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
|
boolean |
hasPublicKey()
The public EC key derived from the private key.
|
boolean |
hasSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed.
|
boolean |
hasType()
required .wallet.Key.Type type = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasType()
required .wallet.Key.Type type = 1;
Protos.Key.Type getType()
required .wallet.Key.Type type = 1;
boolean hasSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed. If the secret is encrypted, or this is a "watching entry" then this is missing.
optional bytes secret_bytes = 2;
com.google.protobuf.ByteString getSecretBytes()
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed. If the secret is encrypted, or this is a "watching entry" then this is missing.
optional bytes secret_bytes = 2;
boolean hasEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;
Protos.EncryptedData getEncryptedData()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;
Protos.EncryptedDataOrBuilder getEncryptedDataOrBuilder()
If the secret data is encrypted, then secret_bytes is missing and this field is set.
optional .wallet.EncryptedData encrypted_data = 6;
boolean hasPublicKey()
The public EC key derived from the private key. We allow both to be stored to avoid mobile clients having to do lots of slow EC math on startup. For DETERMINISTIC_MNEMONIC entries this is missing.
optional bytes public_key = 3;
com.google.protobuf.ByteString getPublicKey()
The public EC key derived from the private key. We allow both to be stored to avoid mobile clients having to do lots of slow EC math on startup. For DETERMINISTIC_MNEMONIC entries this is missing.
optional bytes public_key = 3;
boolean hasLabel()
User-provided label associated with the key.
optional string label = 4;
java.lang.String getLabel()
User-provided label associated with the key.
optional string label = 4;
com.google.protobuf.ByteString getLabelBytes()
User-provided label associated with the key.
optional string label = 4;
boolean hasCreationTimestamp()
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point. The reason it's optional is that keys derived from a parent don't have this data.
optional int64 creation_timestamp = 5;
long getCreationTimestamp()
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point. The reason it's optional is that keys derived from a parent don't have this data.
optional int64 creation_timestamp = 5;
boolean hasDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7;
Protos.DeterministicKey getDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7;
Protos.DeterministicKeyOrBuilder getDeterministicKeyOrBuilder()
optional .wallet.DeterministicKey deterministic_key = 7;
boolean hasDeterministicSeed()
The seed for a deterministic key hierarchy. Derived from the mnemonic, but cached here for quick startup. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
optional bytes deterministic_seed = 8;
com.google.protobuf.ByteString getDeterministicSeed()
The seed for a deterministic key hierarchy. Derived from the mnemonic, but cached here for quick startup. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
optional bytes deterministic_seed = 8;
boolean hasEncryptedDeterministicSeed()
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;
Protos.EncryptedData getEncryptedDeterministicSeed()
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;
Protos.EncryptedDataOrBuilder getEncryptedDeterministicSeedOrBuilder()
Encrypted version of the seed
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;
java.util.List<java.lang.Integer> getAccountPathList()
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];
int getAccountPathCount()
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];
int getAccountPath(int index)
The path to the root. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
repeated uint32 account_path = 10 [packed = true];
boolean hasOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
optional .wallet.Key.OutputScriptType output_script_type = 11;
Protos.Key.OutputScriptType getOutputScriptType()
Type of addresses (aka output scripts) to generate for receiving.
optional .wallet.Key.OutputScriptType output_script_type = 11;