public static enum X509Certificate.ExtendedKeyUsage extends java.lang.Enum<X509Certificate.ExtendedKeyUsage>
Enum Constant and Description |
---|
CLIENT_AUTH
TLS WWW client authentication.
|
CODE_SIGNING
Signing of downloadable executable code.
|
EMAIL_PROTECTION
Email protection.
|
OCSP_SIGNING
Signing OCSP responses.
|
SERVER_AUTH
TLS WWW server authentication.
|
TIME_STAMPING
Binding the hash of an object to a time.
|
Modifier and Type | Method and Description |
---|---|
static X509Certificate.ExtendedKeyUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static X509Certificate.ExtendedKeyUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final X509Certificate.ExtendedKeyUsage SERVER_AUTH
public static final X509Certificate.ExtendedKeyUsage CLIENT_AUTH
public static final X509Certificate.ExtendedKeyUsage CODE_SIGNING
public static final X509Certificate.ExtendedKeyUsage EMAIL_PROTECTION
public static final X509Certificate.ExtendedKeyUsage TIME_STAMPING
public static final X509Certificate.ExtendedKeyUsage OCSP_SIGNING
public static X509Certificate.ExtendedKeyUsage[] values()
for (X509Certificate.ExtendedKeyUsage c : X509Certificate.ExtendedKeyUsage.values()) System.out.println(c);
public static X509Certificate.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 nullCopyright (c) 2014, Oracle and/or its affiliates. All rights reserved.