Enum Constant and Description |
---|
MD5 |
SHA1 |
SHA224 |
SHA256 |
SHA384 |
SHA512 |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hashType |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHashType() |
static HashType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashType SHA1
public static final HashType MD5
public static final HashType SHA256
public static final HashType SHA224
public static final HashType SHA512
public static final HashType SHA384
public static HashType[] values()
for (HashType c : HashType.values()) System.out.println(c);
public static HashType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getHashType()