public static enum CommonsDigester.DigestAlgorithm extends Enum<CommonsDigester.DigestAlgorithm>
Enum Constant and Description |
---|
MD2 |
MD5 |
SHA1 |
SHA256 |
SHA384 |
SHA512 |
Modifier and Type | Method and Description |
---|---|
static CommonsDigester.DigestAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonsDigester.DigestAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonsDigester.DigestAlgorithm MD2
public static final CommonsDigester.DigestAlgorithm MD5
public static final CommonsDigester.DigestAlgorithm SHA1
public static final CommonsDigester.DigestAlgorithm SHA256
public static final CommonsDigester.DigestAlgorithm SHA384
public static final CommonsDigester.DigestAlgorithm SHA512
public static CommonsDigester.DigestAlgorithm[] values()
for (CommonsDigester.DigestAlgorithm c : CommonsDigester.DigestAlgorithm.values()) System.out.println(c);
public static CommonsDigester.DigestAlgorithm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.