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