public enum ContentAlgorithm extends Enum<ContentAlgorithm>
Enum Constant and Description |
---|
A128CBC_HS256 |
A128GCM |
A192CBC_HS384 |
A192GCM |
A256CBC_HS512 |
A256GCM |
Modifier and Type | Method and Description |
---|---|
static ContentAlgorithm |
getAlgorithm(String algo) |
String |
getJavaAlgoName() |
String |
getJavaName() |
String |
getJwaName() |
int |
getKeySizeBits() |
static ContentAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentAlgorithm A128GCM
public static final ContentAlgorithm A192GCM
public static final ContentAlgorithm A256GCM
public static final ContentAlgorithm A128CBC_HS256
public static final ContentAlgorithm A192CBC_HS384
public static final ContentAlgorithm A256CBC_HS512
public static ContentAlgorithm[] values()
for (ContentAlgorithm c : ContentAlgorithm.values()) System.out.println(c);
public static ContentAlgorithm 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 getJwaName()
public String getJavaName()
public String getJavaAlgoName()
public int getKeySizeBits()
public static ContentAlgorithm getAlgorithm(String algo)
Apache CXF