public enum AlgorithmMethod extends Enum<AlgorithmMethod>
Enum Constant and Description |
---|
RSA_RIPEMD160 |
RSA_SHA1 |
RSA_SHA256 |
RSA_SHA512 |
Modifier and Type | Method and Description |
---|---|
static AlgorithmMethod |
fromUrn(String urn) |
String |
toString() |
static AlgorithmMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlgorithmMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlgorithmMethod RSA_SHA1
public static final AlgorithmMethod RSA_SHA256
public static final AlgorithmMethod RSA_SHA512
public static final AlgorithmMethod RSA_RIPEMD160
public static AlgorithmMethod[] values()
for (AlgorithmMethod c : AlgorithmMethod.values()) System.out.println(c);
public static AlgorithmMethod 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 nullpublic static AlgorithmMethod fromUrn(String urn)
public String toString()
toString
in class Enum<AlgorithmMethod>