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