Package javax.net.ssl
Class KeyStoreBuilderParameters
- java.lang.Object
-
- javax.net.ssl.KeyStoreBuilderParameters
-
- All Implemented Interfaces:
ManagerFactoryParameters
public class KeyStoreBuilderParameters extends Object implements ManagerFactoryParameters
The parameters forKeyManagers. The parameters are a list ofKeyStore.Builders.- Since:
- 1.5
- See Also:
KeyStore.Builder
-
-
Constructor Summary
Constructors Constructor Description KeyStoreBuilderParameters(KeyStore.Builder builder)Creates a newKeyStoreBuilderParameterswith the specified key store builder.KeyStoreBuilderParameters(List<KeyStore.Builder> parameters)Creates a newKeyStoreBuilderParameterswith the specified list ofKeyStore.Builders.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<KeyStore.Builder>getParameters()Returns the unmodifiable list ofKeyStore.Builders associated with this parameters instance.
-
-
-
Constructor Detail
-
KeyStoreBuilderParameters
public KeyStoreBuilderParameters(KeyStore.Builder builder)
Creates a newKeyStoreBuilderParameterswith the specified key store builder.- Parameters:
builder- the key store builder.
-
KeyStoreBuilderParameters
public KeyStoreBuilderParameters(List<KeyStore.Builder> parameters)
Creates a newKeyStoreBuilderParameterswith the specified list ofKeyStore.Builders.- Parameters:
parameters- the list of key store builders- Throws:
IllegalArgumentException- if the specified list is empty.
-
-
Method Detail
-
getParameters
public List<KeyStore.Builder> getParameters()
Returns the unmodifiable list ofKeyStore.Builders associated with this parameters instance.- Returns:
- the unmodifiable list of
KeyStore.Builders.
-
-