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 Details

    • KeyStoreBuilderParameters

      public KeyStoreBuilderParameters​(KeyStore.Builder builder)
      Creates a new KeyStoreBuilderParameters with the specified key store builder.
      Parameters:
      builder - the key store builder.
    • KeyStoreBuilderParameters

      public KeyStoreBuilderParameters​(List<KeyStore.Builder> parameters)
      Creates a new KeyStoreBuilderParameters with the specified list of KeyStore.Builders.
      Parameters:
      parameters - the list of key store builders
      Throws:
      IllegalArgumentException - if the specified list is empty.
  • Method Details

    • getParameters

      public List<KeyStore.Builder> getParameters()
      Returns the unmodifiable list of KeyStore.Builders associated with this parameters instance.
      Returns:
      the unmodifiable list of KeyStore.Builders.