FileDocCategorySizeDatePackage
KeyStoreBuilderParameters.javaAPI DocAndroid 1.5 API2602Wed May 06 22:41:06 BST 2009javax.net.ssl

KeyStoreBuilderParameters

public class KeyStoreBuilderParameters extends Object implements ManagerFactoryParameters
The parameters for {@code KeyManager}s. The parameters are a list of {@code KeyStore.Builder}s.
since
Android 1.0

Fields Summary
private List
ksbuilders
Constructors Summary
public KeyStoreBuilderParameters(KeyStore$Builder builder)
Creates a new {@code KeyStoreBuilderParameters} with the specified key store builder.

param
builder the key store builder.
since
Android 1.0

        ksbuilders = new ArrayList();
        if (builder != null) {
            ksbuilders.add(builder);
        }
    
public KeyStoreBuilderParameters(List parameters)
Creates a new {@code KeyStoreBuilderParameters} with the specified list of {@code KeyStore.Builder}s.

param
parameters the list of key store builders
throws
IllegalArgumentException if the specified list is empty.
since
Android 1.0

        if (parameters == null) {
            throw new NullPointerException("Builders list is null");
        }
        if (parameters.isEmpty()) {
            throw new IllegalArgumentException("Builders list is empty");
        }
        ksbuilders = new ArrayList(parameters);
    
Methods Summary
public java.util.ListgetParameters()
Returns the unmodifiable list of {@code KeyStore.Builder}s associated with this parameters instance.

return
the unmodifiable list of {@code KeyStore.Builder}s.
since
Android 1.0

        return Collections.unmodifiableList(ksbuilders);