Package org.sqlite.mc
Enum CipherAlgorithm
- java.lang.Object
-
- java.lang.Enum<CipherAlgorithm>
-
- org.sqlite.mc.CipherAlgorithm
-
- All Implemented Interfaces:
Serializable
,Comparable<CipherAlgorithm>
public enum CipherAlgorithm extends Enum<CipherAlgorithm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHACHA20
RC4
SQL_CIPHER
WX_AES128
WX_AES256
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static CipherAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static 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 CipherAlgorithm SQL_CIPHER
-
RC4
public static final CipherAlgorithm RC4
-
CHACHA20
public static final CipherAlgorithm CHACHA20
-
WX_AES128
public static final CipherAlgorithm WX_AES128
-
WX_AES256
public static final CipherAlgorithm WX_AES256
-
-
Method Detail
-
values
public static CipherAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CipherAlgorithm c : CipherAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CipherAlgorithm valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
-