public enum KeyAlgorithm extends Enum<KeyAlgorithm>
Enum Constant and Description |
---|
A128GCMKW |
A128KW |
A192GCMKW |
A192KW |
A256GCMKW |
A256KW |
DIRECT |
ECDH_ES_A128KW |
ECDH_ES_A192KW |
ECDH_ES_A256KW |
ECDH_ES_DIRECT |
PBES2_HS256_A128KW |
PBES2_HS384_A192KW |
PBES2_HS512_A256KW |
RSA_OAEP |
RSA_OAEP_256 |
RSA1_5 |
Modifier and Type | Method and Description |
---|---|
static KeyAlgorithm |
getAlgorithm(String algo) |
String |
getJavaAlgoName() |
String |
getJavaName() |
String |
getJwaName() |
int |
getKeySizeBits() |
static boolean |
isDirect(KeyAlgorithm algo) |
static KeyAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyAlgorithm RSA_OAEP
public static final KeyAlgorithm RSA_OAEP_256
public static final KeyAlgorithm RSA1_5
public static final KeyAlgorithm A128KW
public static final KeyAlgorithm A192KW
public static final KeyAlgorithm A256KW
public static final KeyAlgorithm A128GCMKW
public static final KeyAlgorithm A192GCMKW
public static final KeyAlgorithm A256GCMKW
public static final KeyAlgorithm PBES2_HS256_A128KW
public static final KeyAlgorithm PBES2_HS384_A192KW
public static final KeyAlgorithm PBES2_HS512_A256KW
public static final KeyAlgorithm ECDH_ES_A128KW
public static final KeyAlgorithm ECDH_ES_A192KW
public static final KeyAlgorithm ECDH_ES_A256KW
public static final KeyAlgorithm ECDH_ES_DIRECT
public static final KeyAlgorithm DIRECT
public static KeyAlgorithm[] values()
for (KeyAlgorithm c : KeyAlgorithm.values()) System.out.println(c);
public static KeyAlgorithm 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 KeyAlgorithm getAlgorithm(String algo)
public static boolean isDirect(KeyAlgorithm algo)
Apache CXF