public enum HmacAlgorithm extends Enum<HmacAlgorithm>
Enum Constant and Description |
---|
HmacSHA1 |
HmacSHA256 |
Modifier and Type | Method and Description |
---|---|
String |
getJavaName() |
String |
getOAuthName() |
static HmacAlgorithm |
toHmacAlgorithm(String value) |
static HmacAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HmacAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HmacAlgorithm HmacSHA1
public static final HmacAlgorithm HmacSHA256
public static HmacAlgorithm[] values()
for (HmacAlgorithm c : HmacAlgorithm.values()) System.out.println(c);
public static HmacAlgorithm 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 String getOAuthName()
public String getJavaName()
public static HmacAlgorithm toHmacAlgorithm(String value)
Apache CXF