public enum ExtendedKeyUsage extends java.lang.Enum<ExtendedKeyUsage>
Enum Constant and Description |
---|
CLIENT_AUTH |
CODE_SIGNING |
EMAIL_PROTECTION |
IPSEC_END_SYSTEM |
IPSEC_TUNNEL |
IPSEC_USER |
OCSP_SIGNING |
SERVER_AUTH |
TIME_STAMPING |
Modifier and Type | Method and Description |
---|---|
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 SERVER_AUTH
public static final ExtendedKeyUsage CLIENT_AUTH
public static final ExtendedKeyUsage CODE_SIGNING
public static final ExtendedKeyUsage EMAIL_PROTECTION
public static final ExtendedKeyUsage TIME_STAMPING
public static final ExtendedKeyUsage OCSP_SIGNING
public static final ExtendedKeyUsage IPSEC_END_SYSTEM
public static final ExtendedKeyUsage IPSEC_TUNNEL
public static final ExtendedKeyUsage IPSEC_USER
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 name
java.lang.NullPointerException
- if the argument is null