KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > net > ssl > KeyStoreBuilderParameters


1 /*
2  * @(#)KeyStoreBuilderParameters.java 1.5 04/02/16
3  *
4  * Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7   
8 /*
9  * NOTE:
10  * Because of various external restrictions (i.e. US export
11  * regulations, etc.), the actual source code can not be provided
12  * at this time. This file represents the skeleton of the source
13  * file, so that javadocs of the API can be created.
14  */

15
16 package javax.net.ssl;
17
18 import java.util.*;
19 import java.security.*;
20
21 /**
22  * A parameters object for X509KeyManagers that encapsulates a List
23  * of KeyStore.Builders.
24  *
25  * @see java.security.KeyStore.Builder
26  * @see X509KeyManager
27  *
28  * @author Andreas Sterbenz
29  * @version 1.3, 12/09/03
30  * @since 1.5
31  */

32 public class KeyStoreBuilderParameters implements ManagerFactoryParameters
33 {
34
35     /**
36      * Construct new KeyStoreBuilderParameters from the specified
37      * {@linkplain java.security.KeyStore.Builder}.
38      *
39      * @param builder the Builder object
40      * @exception NullPointerException if builder is null
41      */

42     public KeyStoreBuilderParameters(KeyStore.Builder builder) { }
43
44     /**
45      * Construct new KeyStoreBuilderParameters from a List
46      * of {@linkplain java.security.KeyStore.Builder}s. Note that the list
47      * is cloned to protect against subsequent modification.
48      *
49      * @param parameters the List of Builder objects
50      * @exception NullPointerException if parameters is null
51      * @exception IllegalArgumentException if parameters is an empty list
52      */

53     public KeyStoreBuilderParameters(List parameters) { }
54
55     /**
56      * Return the unmodifiable List of the
57      * {@linkplain java.security.KeyStore.Builder}s
58      * encapsulated by this object.
59      *
60      * @return the unmodifiable List of the
61      * {@linkplain java.security.KeyStore.Builder}s
62      * encapsulated by this object.
63      */

64     public List getParameters() {
65         return null;
66     }
67 }
68
Popular Tags