public static enum Protos.Key.Type extends java.lang.Enum<Protos.Key.Type> implements com.google.protobuf.Internal.EnumLite
wallet.Key.Type
Enum Constant and Description |
---|
DETERMINISTIC_KEY
A key that was derived deterministically.
|
DETERMINISTIC_MNEMONIC
Not really a key, but rather contains the mnemonic phrase for a deterministic key hierarchy in the private_key field.
|
ENCRYPTED_SCRYPT_AES
Encrypted with Scrypt and AES - Original bitcoin secp256k1 curve
|
ORIGINAL
Unencrypted - Original bitcoin secp256k1 curve
|
Modifier and Type | Field and Description |
---|---|
static int |
DETERMINISTIC_KEY_VALUE
A key that was derived deterministically.
|
static int |
DETERMINISTIC_MNEMONIC_VALUE
Not really a key, but rather contains the mnemonic phrase for a deterministic key hierarchy in the private_key field.
|
static int |
ENCRYPTED_SCRYPT_AES_VALUE
Encrypted with Scrypt and AES - Original bitcoin secp256k1 curve
|
static int |
ORIGINAL_VALUE
Unencrypted - Original bitcoin secp256k1 curve
|
Modifier and Type | Method and Description |
---|---|
static Protos.Key.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Protos.Key.Type> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static Protos.Key.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.Key.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Key.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Key.Type ORIGINAL
Unencrypted - Original bitcoin secp256k1 curve
ORIGINAL = 1;
public static final Protos.Key.Type ENCRYPTED_SCRYPT_AES
Encrypted with Scrypt and AES - Original bitcoin secp256k1 curve
ENCRYPTED_SCRYPT_AES = 2;
public static final Protos.Key.Type DETERMINISTIC_MNEMONIC
Not really a key, but rather contains the mnemonic phrase for a deterministic key hierarchy in the private_key field. The label and public_key fields are missing. Creation timestamp will exist.
DETERMINISTIC_MNEMONIC = 3;
public static final Protos.Key.Type DETERMINISTIC_KEY
A key that was derived deterministically. Note that the root seed that created it may NOT be present in the wallet, for the case of watching wallets. A deterministic key may or may not have the private key bytes present. However the public key bytes and the deterministic_key field are guaranteed to exist. In a wallet where there is a path from this key up to a key that has (possibly encrypted) private bytes, it's expected that the private key can be rederived on the fly.
DETERMINISTIC_KEY = 4;
public static final int ORIGINAL_VALUE
Unencrypted - Original bitcoin secp256k1 curve
ORIGINAL = 1;
public static final int ENCRYPTED_SCRYPT_AES_VALUE
Encrypted with Scrypt and AES - Original bitcoin secp256k1 curve
ENCRYPTED_SCRYPT_AES = 2;
public static final int DETERMINISTIC_MNEMONIC_VALUE
Not really a key, but rather contains the mnemonic phrase for a deterministic key hierarchy in the private_key field. The label and public_key fields are missing. Creation timestamp will exist.
DETERMINISTIC_MNEMONIC = 3;
public static final int DETERMINISTIC_KEY_VALUE
A key that was derived deterministically. Note that the root seed that created it may NOT be present in the wallet, for the case of watching wallets. A deterministic key may or may not have the private key bytes present. However the public key bytes and the deterministic_key field are guaranteed to exist. In a wallet where there is a path from this key up to a key that has (possibly encrypted) private bytes, it's expected that the private key can be rederived on the fly.
DETERMINISTIC_KEY = 4;
public static Protos.Key.Type[] values()
for (Protos.Key.Type c : Protos.Key.Type.values()) System.out.println(c);
public static Protos.Key.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
@Deprecated public static Protos.Key.Type valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Protos.Key.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protos.Key.Type> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()