directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: rev 57035 - incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/crypto
Date Tue, 09 Nov 2004 13:12:08 GMT
Author: erodriguez
Date: Tue Nov  9 05:12:07 2004
New Revision: 57035

Modified:
   incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/crypto/CryptoService.java
Log:
Removed an unused method left over from the removal of the EncryptionKey.

Modified: incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/crypto/CryptoService.java
==============================================================================
--- incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/crypto/CryptoService.java
(original)
+++ incubator/directory/kerberos/trunk/kerberos/src/java/org/apache/kerberos/crypto/CryptoService.java
Tue Nov  9 05:12:07 2004
@@ -87,12 +87,6 @@
 		return new KerberosKey( principal, randomKey.getKey(), DES_KEY_TYPE, keyVersion );
     }
     
-	public EncryptionKey getEncryptionKey(String password, String realm, String username) {
-		DesStringToKey key = new DesStringToKey(password, realm, username);
-		byte[] keyBytes = key.getKey();
-		return new EncryptionKey(EncryptionType.DES_CBC_MD5, keyBytes);
-	}
-
 	public byte[] decrypt(EncryptionKey key, EncryptedData data) throws KerberosException {
 		// TODO - check for matching encryptionType and keyVersion
 		EncryptionEngine type = getInstance(key.getKeyType());

Mime
View raw message