Class Security.KeyStoreModel
java.lang.Object
org.forgerock.opendj.setup.model.Security.KeyStoreModel
- Enclosing class:
Security
Represents keystore data which will be used to secure the server instance to setup.
-
Method Summary
Modifier and TypeMethodDescriptionfinal Security.KeyStoreModeladdCertificateAliases(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.KeyStoreModel
-
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.
-