You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by er...@apache.org on 2007/05/01 07:01:20 UTC
svn commit: r533942 -
/directory/apacheds/branches/kerberos-encryption-types/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherType.java
Author: erodriguez
Date: Mon Apr 30 22:01:19 2007
New Revision: 533942
URL: http://svn.apache.org/viewvc?view=rev&rev=533942
Log:
Updated cipher type enumerator with Java conventions for cipher names.
Modified:
directory/apacheds/branches/kerberos-encryption-types/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherType.java
Modified: directory/apacheds/branches/kerberos-encryption-types/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherType.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/kerberos-encryption-types/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherType.java?view=diff&rev=533942&r1=533941&r2=533942
==============================================================================
--- directory/apacheds/branches/kerberos-encryption-types/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherType.java (original)
+++ directory/apacheds/branches/kerberos-encryption-types/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/crypto/encryption/CipherType.java Mon Apr 30 22:01:19 2007
@@ -37,14 +37,15 @@
*/
public static final CipherType NULL = new CipherType( "NULL" );
public static final CipherType DES = new CipherType( "DES" );
- public static final CipherType DES3 = new CipherType( "DES3" );
- public static final CipherType AES128 = new CipherType( "AES128" );
+ public static final CipherType DES3 = new CipherType( "DESede" );
+ public static final CipherType AES = new CipherType( "AES" );
+ public static final CipherType ARCFOUR = new CipherType( "ARCFOUR" );
/**
* These two lines are all that's necessary to export a List of VALUES.
*/
private static final CipherType[] values =
- { NULL, DES, DES3, AES128 };
+ { NULL, DES, DES3, AES, ARCFOUR };
// VALUES needs to be located here, otherwise illegal forward reference
public static final List VALUES = Collections.unmodifiableList( Arrays.asList( values ) );