public enum ExtendedKeyUsage extends Enum<ExtendedKeyUsage>
Enum Constant and Description |
---|
CLIENT_AUTH
Client authentication.
|
CODE_SIGNING
Code signing.
|
EMAIL_PROTECTION
Email protection.
|
SERVER_AUTH
Server authentication.
|
TIMESTAMPING
Time stamping.
|
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()
String
.public String toString()
toString
in class Enum<ExtendedKeyUsage>