Package org.opends.quicksetup
Enum SecurityOptions.CertificateType
- java.lang.Object
-
- java.lang.Enum<SecurityOptions.CertificateType>
-
- org.opends.quicksetup.SecurityOptions.CertificateType
-
- All Implemented Interfaces:
Serializable,Comparable<SecurityOptions.CertificateType>
- Enclosing class:
- SecurityOptions
public static enum SecurityOptions.CertificateType extends Enum<SecurityOptions.CertificateType>
The different type of security options that we can have.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BCFKSUse an existing BCFKS key store.JCEKSUse an existing JCEKS key store.JKSUse an existing JKS key store.NO_CERTIFICATENo certificate to be used (and so no SSL and no Start TLS).PKCS11Use an existing PKCS#11 key store.PKCS12Use an existing PKCS#12 key store.SELF_SIGNED_CERTIFICATEUse a newly created Self Signed Certificate.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecurityOptions.CertificateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SecurityOptions.CertificateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CERTIFICATE
public static final SecurityOptions.CertificateType NO_CERTIFICATE
No certificate to be used (and so no SSL and no Start TLS).
-
SELF_SIGNED_CERTIFICATE
public static final SecurityOptions.CertificateType SELF_SIGNED_CERTIFICATE
Use a newly created Self Signed Certificate.
-
JKS
public static final SecurityOptions.CertificateType JKS
Use an existing JKS key store.
-
JCEKS
public static final SecurityOptions.CertificateType JCEKS
Use an existing JCEKS key store.
-
PKCS11
public static final SecurityOptions.CertificateType PKCS11
Use an existing PKCS#11 key store.
-
PKCS12
public static final SecurityOptions.CertificateType PKCS12
Use an existing PKCS#12 key store.
-
BCFKS
public static final SecurityOptions.CertificateType BCFKS
Use an existing BCFKS key store.
-
-
Method Detail
-
values
public static SecurityOptions.CertificateType[] 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 (SecurityOptions.CertificateType c : SecurityOptions.CertificateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecurityOptions.CertificateType 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
-
-