Enum CryptoParametersJ8.TYPES
- java.lang.Object
-
- java.lang.Enum<CryptoParametersJ8.TYPES>
-
- org.apache.fulcrum.jce.crypto.extended.CryptoParametersJ8.TYPES
-
- All Implemented Interfaces:
Serializable
,Comparable<CryptoParametersJ8.TYPES>
- Enclosing interface:
- CryptoParametersJ8
public static enum CryptoParametersJ8.TYPES extends Enum<CryptoParametersJ8.TYPES>
short names, exact names @seeCryptoParametersJ8.TYPES_IMPL
.
-
-
Method Summary
Modifier and Type Method Description String
getClearCode()
Clear code should be always 10 bytes.static CryptoParametersJ8.TYPES
valueOf(String name)
Returns the enum constant of this type with the specified name.static CryptoParametersJ8.TYPES[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PBE
public static final CryptoParametersJ8.TYPES PBE
PBE algorithm is kind of meta algorithm, uses AES, see above.
-
GCM
public static final CryptoParametersJ8.TYPES GCM
AES algorithm, but GCM is is actually the algorithm mode, but nevertheless used as a short name.
-
-
Method Detail
-
values
public static CryptoParametersJ8.TYPES[] 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 CryptoParametersJ8.TYPES 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
-
getClearCode
public String getClearCode()
Clear code should be always 10 bytes.CryptoParametersJ8.CLEAR_CODE_DEFAULT
- Returns:
- clear code
-
-