Package org.sqlite.mc
Enum SQLiteMCConfig.CipherAlgorithm
- java.lang.Object
-
- java.lang.Enum<SQLiteMCConfig.CipherAlgorithm>
-
- org.sqlite.mc.SQLiteMCConfig.CipherAlgorithm
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SQLiteMCConfig.CipherAlgorithm>
,java.lang.constant.Constable
- Enclosing class:
- SQLiteMCConfig
public static enum SQLiteMCConfig.CipherAlgorithm extends java.lang.Enum<SQLiteMCConfig.CipherAlgorithm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHACHA20
RC4
SQL_CIPHER
WX_AES128
WX_AES256
-
Method Summary
Modifier and Type Method Description java.lang.String
getValue()
static SQLiteMCConfig.CipherAlgorithm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SQLiteMCConfig.CipherAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SQL_CIPHER
public static final SQLiteMCConfig.CipherAlgorithm SQL_CIPHER
-
RC4
public static final SQLiteMCConfig.CipherAlgorithm RC4
-
CHACHA20
public static final SQLiteMCConfig.CipherAlgorithm CHACHA20
-
WX_AES128
public static final SQLiteMCConfig.CipherAlgorithm WX_AES128
-
WX_AES256
public static final SQLiteMCConfig.CipherAlgorithm WX_AES256
-
-
Method Detail
-
values
public static SQLiteMCConfig.CipherAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLiteMCConfig.CipherAlgorithm valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
-
-