public enum ExtendedKeyUsage extends java.lang.Enum<ExtendedKeyUsage>
| Enum Constant and Description |
|---|
CLIENT_AUTH |
CODE_SIGNING |
EMAIL_PROTECTION |
SERVER_AUTH |
TIMESTAMPING |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Get the value as a
String |
java.lang.String |
toString() |
static ExtendedKeyUsage |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
Stringpublic java.lang.String toString()
toString in class java.lang.Enum<ExtendedKeyUsage>