Package org.forgerock.opendj.security
Enum X509CertificateBuilder.ExtendedKeyUsage
- java.lang.Object
-
- java.lang.Enum<X509CertificateBuilder.ExtendedKeyUsage>
-
- org.forgerock.opendj.security.X509CertificateBuilder.ExtendedKeyUsage
-
- All Implemented Interfaces:
Serializable
,Comparable<X509CertificateBuilder.ExtendedKeyUsage>
- Enclosing class:
- X509CertificateBuilder
public static enum X509CertificateBuilder.ExtendedKeyUsage extends Enum<X509CertificateBuilder.ExtendedKeyUsage>
An enumeration of extended key usages.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_AUTH
TLS WWW client authentication.CODE_SIGNING
Signing of downloadable executable code.EMAIL_PROTECTION
Email protection.FORGEROCK_WRITABLE_REPLICA
ForgeRock specific: updates from the replica are allowed.OCSPS_SIGNING
Signing online certificate status protocol responses.SERVER_AUTH
TLS WWW server authentication.TIME_STAMPING
Binding the hash of an object to a time.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static X509CertificateBuilder.ExtendedKeyUsage
valueOf(String name)
Returns the enum constant of this type with the specified name.static X509CertificateBuilder.ExtendedKeyUsage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVER_AUTH
public static final X509CertificateBuilder.ExtendedKeyUsage SERVER_AUTH
TLS WWW server authentication.
-
CLIENT_AUTH
public static final X509CertificateBuilder.ExtendedKeyUsage CLIENT_AUTH
TLS WWW client authentication.
-
CODE_SIGNING
public static final X509CertificateBuilder.ExtendedKeyUsage CODE_SIGNING
Signing of downloadable executable code.
-
EMAIL_PROTECTION
public static final X509CertificateBuilder.ExtendedKeyUsage EMAIL_PROTECTION
Email protection.
-
TIME_STAMPING
public static final X509CertificateBuilder.ExtendedKeyUsage TIME_STAMPING
Binding the hash of an object to a time.
-
OCSPS_SIGNING
public static final X509CertificateBuilder.ExtendedKeyUsage OCSPS_SIGNING
Signing online certificate status protocol responses.
-
FORGEROCK_WRITABLE_REPLICA
public static final X509CertificateBuilder.ExtendedKeyUsage FORGEROCK_WRITABLE_REPLICA
ForgeRock specific: updates from the replica are allowed.
-
-
Method Detail
-
values
public static X509CertificateBuilder.ExtendedKeyUsage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (X509CertificateBuilder.ExtendedKeyUsage c : X509CertificateBuilder.ExtendedKeyUsage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static X509CertificateBuilder.ExtendedKeyUsage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-