Enum DigestAlgorithm
- java.lang.Object
-
- java.lang.Enum<DigestAlgorithm>
-
- io.quarkus.elytron.security.runtime.DigestAlgorithm
-
- All Implemented Interfaces:
Serializable,Comparable<DigestAlgorithm>
public enum DigestAlgorithm extends Enum<DigestAlgorithm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIGEST_MD5DIGEST_SHADIGEST_SHA_256DIGEST_SHA_384DIGEST_SHA_512DIGEST_SHA_512_256
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static DigestAlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static DigestAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIGEST_MD5
public static final DigestAlgorithm DIGEST_MD5
-
DIGEST_SHA
public static final DigestAlgorithm DIGEST_SHA
-
DIGEST_SHA_256
public static final DigestAlgorithm DIGEST_SHA_256
-
DIGEST_SHA_384
public static final DigestAlgorithm DIGEST_SHA_384
-
DIGEST_SHA_512
public static final DigestAlgorithm DIGEST_SHA_512
-
DIGEST_SHA_512_256
public static final DigestAlgorithm DIGEST_SHA_512_256
-
-
Method Detail
-
values
public static DigestAlgorithm[] 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 (DigestAlgorithm c : DigestAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DigestAlgorithm 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
-
getName
public String getName()
-
-