KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)CertPathTrustManagerParameters.java 1.4 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.security.cert.CertPathParameters;
19
20 /**
21  * A wrapper for CertPathParameters. This class is used to pass validation
22  * settings to CertPath based {@link TrustManager}s using the
23  * {@link TrustManagerFactory#init(ManagerFactoryParameters)
24  * TrustManagerFactory.init()} method.
25  *
26  * <p>Instances of this class are immutable.
27  *
28  * @see X509TrustManager
29  * @see TrustManagerFactory
30  * @see java.security.cert.CertPathParameters
31  *
32  * @since 1.5
33  * @version 1.2, 08/05/03
34  * @author Andreas Sterbenz
35  */

36 public class CertPathTrustManagerParameters implements ManagerFactoryParameters
37 {
38
39     /**
40      * Construct new CertPathTrustManagerParameters from the specified
41      * parameters. The parameters are cloned to protect against subsequent
42      * modification.
43      *
44      * @param parameters the CertPathParameters to be used
45      *
46      * @throws NullPointerException if parameters is null
47      */

48     public CertPathTrustManagerParameters(CertPathParameters parameters) { }
49
50     /**
51      * Return a clone of the CertPathParameters encapsulated by this class.
52      *
53      * @return a clone of the CertPathParameters encapsulated by this class.
54      */

55     public CertPathParameters getParameters() {
56         return null;
57     }
58 }
59
Popular Tags