diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-03-24 02:27:47 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-03-26 11:43:54 -0500 |
commit | 621d9e5c413e561293d7484b93882d985b3fe15f (patch) | |
tree | 638f3d75761c121d9a8fb50b52a12a6686c5ac5c /base/console/src/com/netscape/admin/certsrv/security/ICipherConstants.java | |
parent | 40d3643b8d91886bf210aa27f711731c81a11e49 (diff) | |
download | pki-621d9e5c413e561293d7484b93882d985b3fe15f.tar.gz pki-621d9e5c413e561293d7484b93882d985b3fe15f.tar.xz pki-621d9e5c413e561293d7484b93882d985b3fe15f.zip |
Removed unnecessary pki folder.
Previously the source code was located inside a pki folder.
This folder was created during svn migration and is no longer
needed. This folder has now been removed and the contents have
been moved up one level.
Ticket #131
Diffstat (limited to 'base/console/src/com/netscape/admin/certsrv/security/ICipherConstants.java')
-rw-r--r-- | base/console/src/com/netscape/admin/certsrv/security/ICipherConstants.java | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/base/console/src/com/netscape/admin/certsrv/security/ICipherConstants.java b/base/console/src/com/netscape/admin/certsrv/security/ICipherConstants.java new file mode 100644 index 000000000..42a43c7d5 --- /dev/null +++ b/base/console/src/com/netscape/admin/certsrv/security/ICipherConstants.java @@ -0,0 +1,76 @@ +// --- BEGIN COPYRIGHT BLOCK --- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +// +// (C) 2007 Red Hat, Inc. +// All rights reserved. +// --- END COPYRIGHT BLOCK --- +package com.netscape.admin.certsrv.security; + +/** + * This interface contains all the internal string constants for each + * cipher encrytion methods. + * + * @version 1.0 98/07/10 + * @author <A HREF="mailto:shihcm@netscape.com">shihcm@netscape.com</A> + * + */ +public interface ICipherConstants { + // export ssl2 cipher + /**SSL2 Export - RC4 with 40 bit encryption and MD5 message authentication*/ + public final static String RC4EXPORT = "rc4export"; + /**SSL2 Export - RC2 with 40 bit encryption and MD5 message authentication*/ + public final static String RC2EXPORT = "rc2export"; + + // domestic ssl2 cipher + /**SSL2 Domestic - RC4 with 128 bit encryption and MD5 message authentication*/ + public final static String RC4 = "rc4"; + /**SSL2 Domestic - RC2 with 128 bit encryption and MD5 message authentication*/ + public final static String RC2 = "rc2"; + /**SSL2 Domestic - DES with 56 bit encryption and MD5 message authentication*/ + public final static String DES = "des"; + /**SSL2 Domestic - Triple DES with 168 bit encryption and MD5 message authentication*/ + public final static String DES3 = "desede3"; + + // export ssl3 cipher + /**SSL3 Export - RC4 with 40 bit encryption and MD5 message authentication*/ + public final static String RSA_RC4_40_MD5 = "rsa_rc4_40_md5"; + /**SSL3 Export - RC2 with 40 bit encryption and MD5 message authentication*/ + public final static String RSA_RC2_40_MD5 = "rsa_rc2_40_md5"; + /**SSL3 Export - No encryption, only MD5 message authentication*/ + public final static String RSA_NULL_MD5 = "rsa_null_md5"; + /**SSL3 Export - TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA */ + public final static String TLS_RSA_DES_SHA = "tls_rsa_export1024_with_des_cbc_sha"; + /**SSL3 Export - TLS_RSA_EXPORT1024_WITH_RC4_56_SHA */ + public final static String TLS_RSA_RC4_SHA = "tls_rsa_export1024_with_rc4_56_sha"; + + // domestic ssl3 cipher + /**SSL3 Domestic - DES with 56 bit encryption and SHA message authentication*/ + public final static String RSA_DES_SHA = "rsa_des_sha"; + /**SSL3 Domestic - RC4 with 128 bit encryption and MD5 message authentication*/ + public final static String RSA_RC4_128_MD5 = "rsa_rc4_128_md5"; + /**SSL3 Domestic - Triple DES with 168 bit encryption and SHA message authentication*/ + public final static String RSA_3DES_SHA = "rsa_3des_sha"; + + // fortezza ciphers + /**SSL3 Domestic - Fortezza with 80 bit encryption and SHA message authentication */ + public final static String FORTEZZA = "fortezza"; + /**SSL3 Domestic - RC4 with 128 bit encryption and Fortezza/SHA message authentication */ + public final static String FORTEZZA_RC4_128_SHA = "fortezza_rc4_128_sha"; + /**SSL3 Domestic - No encryption, only Fortezza and SHA message authentication */ + public final static String FORTEZZA_NULL = "fortezza_null"; + + // FIPS ciphers + public final static String RSA_FIPS_DES_SHA = "rsa_fips_des_sha"; + public final static String RSA_FIPS_3DES_SHA = "rsa_fips_3des_sha"; +} |