Package org.forgerock.opendj.setup.model
Class Security.ExistingKeyStore
java.lang.Object
org.forgerock.opendj.setup.model.Security.KeyStoreModel
org.forgerock.opendj.setup.model.Security.ExistingKeyStore
- Enclosing class:
- Security
Abstract class which represents an existing keystore to use to setup a server instance.
-
Method Summary
Modifier and TypeMethodDescriptionaddCertificateAliases
(String... aliases) Add provided certificate aliases to the list of aliases to use in the server.addCertificateAliases
(List<String> aliases) Add provided certificate aliases to the list of aliases to use in the server.Returns the list of aliases contained in this key store.
-
Method Details
-
addCertificateAliases
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.ExistingKeyStore
-
addCertificateAliases
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.ExistingKeyStore
-
validateAndListKeyStoreAliases
public abstract List<String> validateAndListKeyStoreAliases() throws com.forgerock.opendj.cli.ArgumentExceptionReturns 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.
-