Enum AgileEncryptionConfig.Cipher
- java.lang.Object
-
- java.lang.Enum<AgileEncryptionConfig.Cipher>
-
- com.healthmarketscience.jackcess.crypt.AgileEncryptionConfig.Cipher
-
- All Implemented Interfaces:
Serializable,Comparable<AgileEncryptionConfig.Cipher>
- Enclosing class:
- AgileEncryptionConfig
public static enum AgileEncryptionConfig.Cipher extends Enum<AgileEncryptionConfig.Cipher>
The ciphers which can be written, with the name the descriptor uses.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBlockSize()Returns the cipher block size, which the descriptor also carries.StringgetXmlName()static AgileEncryptionConfig.CiphervalueOf(String name)Returns the enum constant of this type with the specified name.static AgileEncryptionConfig.Cipher[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AES
public static final AgileEncryptionConfig.Cipher AES
-
-
Method Detail
-
values
public static AgileEncryptionConfig.Cipher[] 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 (AgileEncryptionConfig.Cipher c : AgileEncryptionConfig.Cipher.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgileEncryptionConfig.Cipher 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
-
getXmlName
public String getXmlName()
-
getBlockSize
public int getBlockSize()
Returns the cipher block size, which the descriptor also carries.
-
-