Class Security.KeyStoreModel

java.lang.Object
org.forgerock.opendj.setup.model.Security.KeyStoreModel
Enclosing class:
Security

public abstract static class Security.KeyStoreModel extends Object
Represents keystore data which will be used to secure the server instance to setup.
  • Method Details

    • addCertificateAliases

      public final Security.KeyStoreModel addCertificateAliases(List<String> aliases)
      Add provided certificate aliases to the list of aliases to use in the server.

      Certificates must be in the keystore

      Parameters:
      aliases - List of aliases to use
      Returns:
      This Security.KeyStoreModel
    • validateAndListKeyStoreAliases

      public abstract List<String> validateAndListKeyStoreAliases() throws com.forgerock.opendj.cli.ArgumentException
      Returns the list of aliases contained in this key store.
      Returns:
      the list of aliases contained in this key store
      Throws:
      com.forgerock.opendj.cli.ArgumentException - If an error occurred while opening the key store to read aliases.