public static enum CryptoHelper.ALGORITHM extends java.lang.Enum<CryptoHelper.ALGORITHM>
Modifier and Type | Method and Description |
---|---|
static CryptoHelper.ALGORITHM |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CryptoHelper.ALGORITHM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoHelper.ALGORITHM NONE
public static final CryptoHelper.ALGORITHM SHA1
public static final CryptoHelper.ALGORITHM SHA256
public static final CryptoHelper.ALGORITHM SHA384
public static final CryptoHelper.ALGORITHM SHA512
public static CryptoHelper.ALGORITHM[] values()
for (CryptoHelper.ALGORITHM c : CryptoHelper.ALGORITHM.values()) System.out.println(c);
public static CryptoHelper.ALGORITHM 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 null