public static enum Protos.Wallet.EncryptionType extends java.lang.Enum<Protos.Wallet.EncryptionType> implements com.google.protobuf.Internal.EnumLite
The encryption type of the wallet. The encryption type is UNENCRYPTED for wallets where the wallet does not support encryption - wallets prior to encryption support are grandfathered in as this wallet type. When a wallet is ENCRYPTED_SCRYPT_AES the keys are either encrypted with the wallet password or are unencrypted.Protobuf enum
wallet.Wallet.EncryptionType
Enum Constant and Description |
---|
ENCRYPTED_SCRYPT_AES
All keys are encrypted with a passphrase based KDF of scrypt and AES encryption
|
UNENCRYPTED
All keys in the wallet are unencrypted
|
Modifier and Type | Field and Description |
---|---|
static int |
ENCRYPTED_SCRYPT_AES_VALUE
All keys are encrypted with a passphrase based KDF of scrypt and AES encryption
|
static int |
UNENCRYPTED_VALUE
All keys in the wallet are unencrypted
|
Modifier and Type | Method and Description |
---|---|
static Protos.Wallet.EncryptionType |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Protos.Wallet.EncryptionType> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static Protos.Wallet.EncryptionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.Wallet.EncryptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Wallet.EncryptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Wallet.EncryptionType UNENCRYPTED
All keys in the wallet are unencrypted
UNENCRYPTED = 1;
public static final Protos.Wallet.EncryptionType ENCRYPTED_SCRYPT_AES
All keys are encrypted with a passphrase based KDF of scrypt and AES encryption
ENCRYPTED_SCRYPT_AES = 2;
public static final int UNENCRYPTED_VALUE
All keys in the wallet are unencrypted
UNENCRYPTED = 1;
public static final int ENCRYPTED_SCRYPT_AES_VALUE
All keys are encrypted with a passphrase based KDF of scrypt and AES encryption
ENCRYPTED_SCRYPT_AES = 2;
public static Protos.Wallet.EncryptionType[] values()
for (Protos.Wallet.EncryptionType c : Protos.Wallet.EncryptionType.values()) System.out.println(c);
public static Protos.Wallet.EncryptionType 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.Wallet.EncryptionType valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Protos.Wallet.EncryptionType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protos.Wallet.EncryptionType> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()