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
 
public abstract static class Security.ExistingKeyStore extends Security.KeyStoreModel
Abstract class which represents an existing keystore to use to setup a server instance. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Security.ExistingKeyStoreaddCertificateAliases(String... aliases)Add provided certificate aliases to the list of aliases to use in the server.Security.ExistingKeyStoreaddCertificateAliases(List<String> aliases)Add provided certificate aliases to the list of aliases to use in the server.abstract List<String>validateAndListKeyStoreAliases()Returns the list of aliases contained in this key store. 
 - 
 
- 
- 
Method Detail
- 
addCertificateAliases
public final Security.ExistingKeyStore addCertificateAliases(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.ExistingKeyStore 
 
- 
addCertificateAliases
public final Security.ExistingKeyStore 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.ExistingKeyStore 
 
- 
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.
 
 - 
 
 -