public enum ExtendedKeyUsage extends Enum<ExtendedKeyUsage>
| Enum Constant and Description |
|---|
CLIENT_AUTH |
CODE_SIGNING |
EMAIL_PROTECTION |
SERVER_AUTH |
TIMESTAMPING |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Get the value as a
String |
String |
toString() |
static ExtendedKeyUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtendedKeyUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtendedKeyUsage CLIENT_AUTH
public static final ExtendedKeyUsage SERVER_AUTH
public static final ExtendedKeyUsage CODE_SIGNING
public static final ExtendedKeyUsage EMAIL_PROTECTION
public static final ExtendedKeyUsage TIMESTAMPING
public static ExtendedKeyUsage[] values()
for (ExtendedKeyUsage c : ExtendedKeyUsage.values()) System.out.println(c);
public static ExtendedKeyUsage 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 getValue()
Stringpublic String toString()
toString in class Enum<ExtendedKeyUsage>