Package art.cutils.security
Enum AES.Algorithm
- java.lang.Object
-
- java.lang.Enum<AES.Algorithm>
-
- art.cutils.security.AES.Algorithm
-
- All Implemented Interfaces:
Serializable
,Comparable<AES.Algorithm>
public static enum AES.Algorithm extends Enum<AES.Algorithm>
This holds validMessageDigest
algorithm types.- Since:
- 1.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AES.Algorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static AES.Algorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MD2
public static final AES.Algorithm MD2
MD2 algorithm type.
-
MD5
public static final AES.Algorithm MD5
MD5 algorithm type.
-
SHA1
public static final AES.Algorithm SHA1
SHA-1 algorithm type.
-
SHA224
public static final AES.Algorithm SHA224
SHA-224 algorithm type.
-
SHA256
public static final AES.Algorithm SHA256
SHA-256 algorithm type.
-
SHA384
public static final AES.Algorithm SHA384
SHA-384 algorithm type.
-
SHA512
public static final AES.Algorithm SHA512
SHA-512 algorithm type.
-
-
Method Detail
-
values
public static AES.Algorithm[] 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 (AES.Algorithm c : AES.Algorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AES.Algorithm 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
-
-