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 for
KeyManagers. The parameters are a list of
KeyStore.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
Modifier and Type Method Description List<KeyStore.Builder>getParameters()Returns the unmodifiable list ofKeyStore.Builders associated with this parameters instance.
-
Constructor Details
-
KeyStoreBuilderParameters
Creates a newKeyStoreBuilderParameterswith the specified key store builder.- Parameters:
builder- the key store builder.
-
KeyStoreBuilderParameters
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 Details
-
getParameters
Returns the unmodifiable list ofKeyStore.Builders associated with this parameters instance.- Returns:
- the unmodifiable list of
KeyStore.Builders.
-