APIdia Launch Partner
Top Description Fields Constructors Methods
javax.net.ssl

public Class KeyStoreBuilderParameters

extends Object
implements ManagerFactoryParameters
Class Inheritance
All Implemented Interfaces
javax.net.ssl.ManagerFactoryParameters
Imports
java.util.*, java.security.KeyStore.*

A parameters object for X509KeyManagers that encapsulates a List of KeyStore.Builders.
Author
Andreas Sterbenz
Since
1.5
See Also
java.security.KeyStore.Builder, X509KeyManager

Field Summary

Modifier and TypeField and Description
private final List<KeyStore.Builder>

Constructor Summary

AccessConstructor and Description
public
KeyStoreBuilderParameters(KeyStore.Builder
the Builder object
builder
)

Construct new KeyStoreBuilderParameters from the specified java.security.KeyStore.Builder.

public
KeyStoreBuilderParameters(List<KeyStore.Builder>
the List of Builder objects
parameters
)

Construct new KeyStoreBuilderParameters from a List of java.security.KeyStore.Builders.

Method Summary

Modifier and TypeMethod and Description
public List<KeyStore.Builder>

Returns:

the unmodifiable List of the java.security.KeyStore.Builders encapsulated by this object.
getParameters
()

Return the unmodifiable List of the java.security.KeyStore.Builders encapsulated by this object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parametersback to summary
private final List<KeyStore.Builder> parameters

Constructor Detail

KeyStoreBuilderParametersback to summary
public KeyStoreBuilderParameters(KeyStore.Builder builder)

Construct new KeyStoreBuilderParameters from the specified java.security.KeyStore.Builder.

Parameters
builder:KeyStore.Builder

the Builder object

Exceptions
NullPointerException:
if builder is null
KeyStoreBuilderParametersback to summary
public KeyStoreBuilderParameters(List<KeyStore.Builder> parameters)

Construct new KeyStoreBuilderParameters from a List of java.security.KeyStore.Builders. Note that the list is cloned to protect against subsequent modification.

Parameters
parameters:List<KeyStore.Builder>

the List of Builder objects

Exceptions
NullPointerException:
if parameters is null
IllegalArgumentException:
if parameters is an empty list

Method Detail

getParametersback to summary
public List<KeyStore.Builder> getParameters()

Return the unmodifiable List of the java.security.KeyStore.Builders encapsulated by this object.

Returns:List<KeyStore.Builder>

the unmodifiable List of the java.security.KeyStore.Builders encapsulated by this object.