KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > appserv > management > config > SSLConfigKeys


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23  
24 /*
25  * $Header: /cvs/glassfish/admin-core/mbeanapi/src/java/com/sun/appserv/management/config/SSLConfigKeys.java,v 1.4 2006/02/01 00:48:38 llc Exp $
26  * $Revision: 1.4 $
27  * $Date: 2006/02/01 00:48:38 $
28  */

29
30
31 package com.sun.appserv.management.config;
32
33
34 /**
35     Keys used by when creating a new {@link SSLConfig}.
36  */

37 public final class SSLConfigKeys
38 {
39     private SSLConfigKeys() {}
40     
41     /**
42         Value of class java.lang.Boolean
43      */

44     public static final String JavaDoc CLIENT_AUTH_ENABLED_KEY = "ClientAuthEnabled";
45     
46     /**
47         This key has a value which is a String containing cipher suite names.
48         It must be in comma-separated list. A "+" preceeding a cipher means
49         to enable it and a "-" means to not enable it. Candidates include:
50      */

51     public static final String JavaDoc SSL_2_CIPHERS_KEY = "SSL2Ciphers";
52     /**
53         This key has a value which is a String containing cipher suite names.
54         It must be in comma-separated list. A "+" preceeding a cipher means
55         to enable it and a "-" means to not enable it. Candidates include:
56      */

57     public static final String JavaDoc SSL_3_TLS_CIPHERS_KEY = "SSL3TLSCiphers";
58     
59     /**
60         Value of class java.lang.Boolean
61      */

62     public static final String JavaDoc SSL_3_ENABLED_KEY = "SSL3Enabled";
63     
64     /**
65         Value of class java.lang.Boolean
66      */

67     public static final String JavaDoc SSL_2_ENABLED_KEY = "SSL2Enabled";
68     
69     /**
70         Value of class java.lang.Boolean
71      */

72     public static final String JavaDoc TLS_ENABLED_KEY = "TLSEnabled";
73     
74     /**
75         Value of class java.lang.Boolean
76      */

77     public static final String JavaDoc TLS_ROLLBACK_ENABLED_KEY= "TLSRollbackEnabled";
78     
79     /**
80         This key has a value which is a String containing cipher suite names.
81         It must be in comma-separated list. A "+" preceeding a cipher means
82         to enable it and a "-" means to not enable it. Candidates include:
83         <ul>
84             <li>rsa_rc4_128_md5</li>
85             <li>rsa3des_sha</li>
86             <li>rsa_des_sha</li>
87             <li>rsa_rc4_40_md5</li>
88             <li>rsa_rc2_40_md5</li>
89             <li>rsa_null_md5</li>
90             <li>rsa_des_56_sha</li>
91             <li>rsa_rc4_56_sha</li>
92         </ul>
93      */

94     public final static String JavaDoc SSL3_TLS_CIPHERS_KEY = "ssl3-tls-ciphers";
95 }
96
97
Popular Tags