public enum KeyAlgorithm extends Enum<KeyAlgorithm>
Enum Constant and Description |
---|
A128GCMKW |
A128KW |
A192GCMKW |
A192KW |
A256GCMKW |
A256KW |
ECDH_ES_A128KW |
ECDH_ES_A192KW |
ECDH_ES_A256KW |
PBES2_HS256_A128KW |
PBES2_HS384_A192KW |
PBES2_HS512_A256KW |
RSA_1_5 |
RSA_OAEP |
RSA_OAEP_256 |
Modifier and Type | Method and Description |
---|---|
static KeyAlgorithm |
getAlgorithm(String algo) |
String |
getJavaAlgoName() |
String |
getJavaName() |
String |
getJwaName() |
int |
getKeySizeBits() |
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 RSA_1_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 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)
Apache CXF