geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r651255 - /geronimo/server/branches/2.1/framework/modules/geronimo-crypto/src/main/java/org/apache/geronimo/crypto/SimpleEncryption.java
Date Thu, 24 Apr 2008 13:20:57 GMT
Author: dwoods
Date: Thu Apr 24 06:20:54 2008
New Revision: 651255

URL: http://svn.apache.org/viewvc?rev=651255&view=rev
Log:
merged in r651039 from trunk - Drop unused imports

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-crypto/src/main/java/org/apache/geronimo/crypto/SimpleEncryption.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-crypto/src/main/java/org/apache/geronimo/crypto/SimpleEncryption.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-crypto/src/main/java/org/apache/geronimo/crypto/SimpleEncryption.java?rev=651255&r1=651254&r2=651255&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-crypto/src/main/java/org/apache/geronimo/crypto/SimpleEncryption.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-crypto/src/main/java/org/apache/geronimo/crypto/SimpleEncryption.java
Thu Apr 24 06:20:54 2008
@@ -25,8 +25,6 @@
 import javax.crypto.Cipher;
 import javax.crypto.SealedObject;
 import org.apache.geronimo.crypto.encoders.Base64;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 
 /**
  * This class protects some value BY ENCRYPTING WITH A KNOWN KEY.  That is
@@ -44,8 +42,8 @@
 public final class SimpleEncryption extends AbstractEncryption {
 
     public final static SimpleEncryption INSTANCE = new SimpleEncryption();
-    private final static SecretKeySpec SECRET_KEY = new SecretKeySpec(new byte[]{(byte)-45,(byte)-15,(byte)100,(byte)-34,(byte)70,(byte)83,(byte)75,(byte)-100,(byte)-75,(byte)61,(byte)26,(byte)114,(byte)-20,(byte)-58,(byte)114,(byte)77},
"AES");
 
+    private final static SecretKeySpec SECRET_KEY = new SecretKeySpec(new byte[]{(byte)-45,(byte)-15,(byte)100,(byte)-34,(byte)70,(byte)83,(byte)75,(byte)-100,(byte)-75,(byte)61,(byte)26,(byte)114,(byte)-20,(byte)-58,(byte)114,(byte)77},
"AES");
 
     private SimpleEncryption() {
     }



Mime
View raw message