mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
20.36.2016 2a3158aad80fc910b83336485b3e545dea50066c
opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java
@@ -12,7 +12,7 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2006-2010 Sun Microsystems, Inc.
 * Portions Copyright 2015 ForgeRock AS.
 * Portions Copyright 2015-2016 ForgeRock AS.
 */
package org.opends.quicksetup;
@@ -21,10 +21,7 @@
import java.util.Set;
import java.util.TreeSet;
/**
 * Class used to describe the Security Options specified by the user.
 *
 */
/** Class used to describe the Security Options specified by the user. */
public class SecurityOptions
{
  private boolean enableSSL;
@@ -37,34 +34,20 @@
  /** Alias of a self-signed certificate using elliptic curve. */
  public static final String SELF_SIGNED_EC_CERT_ALIAS = SELF_SIGNED_CERT_ALIAS + "-ec";
  /**
   * The different type of security options that we can have.
   */
  /** The different type of security options that we can have. */
  public enum CertificateType
  {
    /**
     * No certificate to be used (and so no SSL and no Start TLS).
     */
    /** No certificate to be used (and so no SSL and no Start TLS). */
    NO_CERTIFICATE,
    /**
     * Use a newly created Self Signed Certificate.
     */
    /** Use a newly created Self Signed Certificate. */
    SELF_SIGNED_CERTIFICATE,
    /**
     * Use an existing JKS key store.
     */
    /** Use an existing JKS key store. */
    JKS,
    /**
     * Use an existing JCEKS key store.
     */
    /** Use an existing JCEKS key store. */
    JCEKS,
    /**
     * Use an existing PKCS#11 key store.
     */
    /** Use an existing PKCS#11 key store. */
    PKCS11,
    /**
     * Use an existing PKCS#12 key store.
     */
    /** Use an existing PKCS#12 key store. */
    PKCS12
  }