You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by am...@apache.org on 2003/09/18 00:03:27 UTC

cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/encryption BaltimoreEncTest.java

amattheu    2003/09/17 15:03:27

  Modified:    src_unitTests/org/apache/xml/security/test/encryption
                        BaltimoreEncTest.java
  Log:
  Cleaned up imports.
  
  Revision  Changes    Path
  1.3       +10 -14    xml-security/src_unitTests/org/apache/xml/security/test/encryption/BaltimoreEncTest.java
  
  Index: BaltimoreEncTest.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/encryption/BaltimoreEncTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BaltimoreEncTest.java	21 Jul 2003 11:30:04 -0000	1.2
  +++ BaltimoreEncTest.java	17 Sep 2003 22:03:27 -0000	1.3
  @@ -61,34 +61,30 @@
   import java.io.ByteArrayOutputStream;
   import java.io.File;
   import java.io.IOException;
  -import java.security.Key;
  -import java.security.SecureRandom;
  -import javax.crypto.KeyGenerator;
  +
   import javax.crypto.SecretKey;
   import javax.crypto.SecretKeyFactory;
   import javax.crypto.spec.DESedeKeySpec;
  -import javax.crypto.spec.SecretKeySpec;
   import javax.xml.parsers.DocumentBuilder;
   import javax.xml.parsers.DocumentBuilderFactory;
  -import org.apache.xml.security.encryption.*;
  +
  +import junit.framework.Test;
  +import junit.framework.TestCase;
  +import junit.framework.TestSuite;
  +
  +import org.apache.xml.security.encryption.EncryptedData;
  +import org.apache.xml.security.encryption.XMLCipher;
  +import org.apache.xml.security.keys.KeyInfo;
  +import org.apache.xml.security.keys.content.KeyName;
   import org.apache.xml.security.utils.XMLUtils;
   import org.apache.xml.serialize.DOMSerializer;
   import org.apache.xml.serialize.Method;
   import org.apache.xml.serialize.OutputFormat;
   import org.apache.xml.serialize.XMLSerializer;
  -import org.apache.xml.security.keys.KeyInfo;
  -import org.apache.xml.security.keys.content.KeyName;
  -import org.apache.xml.security.test.interop.InteropTest;
   import org.apache.xpath.XPathAPI;
   import org.w3c.dom.Document;
  -import org.w3c.dom.DocumentFragment;
   import org.w3c.dom.Element;
   import org.w3c.dom.Node;
  -import org.w3c.dom.NodeList;
  -
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   
   /**
    * Interop test for XML Encryption