diff options
author | Michael Koch <konqueror@gmx.de> | 2004-10-21 20:41:28 +0000 |
---|---|---|
committer | Michael Koch <konqueror@gmx.de> | 2004-10-21 20:41:28 +0000 |
commit | c35eb2c5c05fa4848c29cd7b15e1102678fdf9a6 (patch) | |
tree | 53ed0538fc66d616222d768580b606c1ba072467 | |
parent | 33d3b6b34ef93f29e5b7c3bdae46c5610577fcf0 (diff) | |
download | classpath-c35eb2c5c05fa4848c29cd7b15e1102678fdf9a6.tar.gz |
2004-10-21 Michael Koch <konqueror@gmx.de>
* javax/crypto/Cipher.java,
javax/crypto/EncryptedPrivateKeyInfo.java,
javax/crypto/ExemptionMechanism.java,
javax/crypto/KeyAgreement.java,
javax/crypto/KeyGenerator.java,
javax/crypto/Mac.java,
javax/crypto/SecretKeyFactory.java,
javax/crypto/SecretKeyFactorySpi.java,
javax/crypto/spec/SecretKeySpec.java:
Import cleanup.
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | javax/crypto/Cipher.java | 5 | ||||
-rw-r--r-- | javax/crypto/EncryptedPrivateKeyInfo.java | 6 | ||||
-rw-r--r-- | javax/crypto/ExemptionMechanism.java | 5 | ||||
-rw-r--r-- | javax/crypto/KeyAgreement.java | 5 | ||||
-rw-r--r-- | javax/crypto/KeyGenerator.java | 5 | ||||
-rw-r--r-- | javax/crypto/Mac.java | 5 | ||||
-rw-r--r-- | javax/crypto/SecretKeyFactory.java | 7 | ||||
-rw-r--r-- | javax/crypto/SecretKeyFactorySpi.java | 2 | ||||
-rw-r--r-- | javax/crypto/spec/SecretKeySpec.java | 1 |
10 files changed, 30 insertions, 24 deletions
@@ -1,5 +1,18 @@ 2004-10-21 Michael Koch <konqueror@gmx.de> + * javax/crypto/Cipher.java, + javax/crypto/EncryptedPrivateKeyInfo.java, + javax/crypto/ExemptionMechanism.java, + javax/crypto/KeyAgreement.java, + javax/crypto/KeyGenerator.java, + javax/crypto/Mac.java, + javax/crypto/SecretKeyFactory.java, + javax/crypto/SecretKeyFactorySpi.java, + javax/crypto/spec/SecretKeySpec.java: + Import cleanup. + +2004-10-21 Michael Koch <konqueror@gmx.de> + * java/security/AlgorithmParameterGenerator.java, java/security/AlgorithmParameters.java, java/security/AlgorithmParametersSpi.java, diff --git a/javax/crypto/Cipher.java b/javax/crypto/Cipher.java index af7f2f244..2e2d28f7f 100644 --- a/javax/crypto/Cipher.java +++ b/javax/crypto/Cipher.java @@ -38,6 +38,8 @@ exception statement from your version. */ package javax.crypto; +import gnu.java.security.Engine; + import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; @@ -50,11 +52,8 @@ import java.security.Security; import java.security.cert.Certificate; import java.security.cert.X509Certificate; import java.security.spec.AlgorithmParameterSpec; - import java.util.StringTokenizer; -import gnu.java.security.Engine; - /** * <p>This class implements a cryptographic cipher for transforming * data.</p> diff --git a/javax/crypto/EncryptedPrivateKeyInfo.java b/javax/crypto/EncryptedPrivateKeyInfo.java index b64fbd6af..2d565f118 100644 --- a/javax/crypto/EncryptedPrivateKeyInfo.java +++ b/javax/crypto/EncryptedPrivateKeyInfo.java @@ -44,14 +44,12 @@ import gnu.java.security.der.DERReader; import gnu.java.security.der.DERValue; import java.io.IOException; - -import java.util.ArrayList; -import java.util.List; - import java.security.AlgorithmParameters; import java.security.NoSuchAlgorithmException; import java.security.spec.InvalidKeySpecException; import java.security.spec.PKCS8EncodedKeySpec; +import java.util.ArrayList; +import java.util.List; /** * An implementation of the <code>EncryptedPrivateKeyInfo</code> ASN.1 diff --git a/javax/crypto/ExemptionMechanism.java b/javax/crypto/ExemptionMechanism.java index 7fa658e9e..2b2091e15 100644 --- a/javax/crypto/ExemptionMechanism.java +++ b/javax/crypto/ExemptionMechanism.java @@ -38,8 +38,9 @@ exception statement from your version. */ package javax.crypto; -import java.lang.reflect.InvocationTargetException; +import gnu.java.security.Engine; +import java.lang.reflect.InvocationTargetException; import java.security.AlgorithmParameters; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; @@ -50,8 +51,6 @@ import java.security.Provider; import java.security.Security; import java.security.spec.AlgorithmParameterSpec; -import gnu.java.security.Engine; - /** * An exemption mechanism, which will conditionally allow cryptography * where it is not normally allowed, implements things such as <i>key diff --git a/javax/crypto/KeyAgreement.java b/javax/crypto/KeyAgreement.java index 6f6ed34e0..884e0f918 100644 --- a/javax/crypto/KeyAgreement.java +++ b/javax/crypto/KeyAgreement.java @@ -38,8 +38,9 @@ exception statement from your version. */ package javax.crypto; -import java.lang.reflect.InvocationTargetException; +import gnu.java.security.Engine; +import java.lang.reflect.InvocationTargetException; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.Key; @@ -50,8 +51,6 @@ import java.security.SecureRandom; import java.security.Security; import java.security.spec.AlgorithmParameterSpec; -import gnu.java.security.Engine; - /** * Key agreement is a method in which two or more parties may agree on a * secret key for symmetric cryptography or message authentication diff --git a/javax/crypto/KeyGenerator.java b/javax/crypto/KeyGenerator.java index 35753b036..3deda21fe 100644 --- a/javax/crypto/KeyGenerator.java +++ b/javax/crypto/KeyGenerator.java @@ -38,8 +38,9 @@ exception statement from your version. */ package javax.crypto; -import java.lang.reflect.InvocationTargetException; +import gnu.java.security.Engine; +import java.lang.reflect.InvocationTargetException; import java.security.InvalidAlgorithmParameterException; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; @@ -48,8 +49,6 @@ import java.security.SecureRandom; import java.security.Security; import java.security.spec.AlgorithmParameterSpec; -import gnu.java.security.Engine; - /** * A generic producer of keys for symmetric cryptography. The keys * returned may be simple wrappers around byte arrays, or, if the diff --git a/javax/crypto/Mac.java b/javax/crypto/Mac.java index 55f5be61b..301ec327e 100644 --- a/javax/crypto/Mac.java +++ b/javax/crypto/Mac.java @@ -38,8 +38,9 @@ exception statement from your version. */ package javax.crypto; -import java.lang.reflect.InvocationTargetException; +import gnu.java.security.Engine; +import java.lang.reflect.InvocationTargetException; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.Key; @@ -49,8 +50,6 @@ import java.security.Provider; import java.security.Security; import java.security.spec.AlgorithmParameterSpec; -import gnu.java.security.Engine; - /** * This class implements a "message authentication code" (MAC), a method * to ensure the integrity of data transmitted between two parties who diff --git a/javax/crypto/SecretKeyFactory.java b/javax/crypto/SecretKeyFactory.java index d12e1b582..d543c57c7 100644 --- a/javax/crypto/SecretKeyFactory.java +++ b/javax/crypto/SecretKeyFactory.java @@ -38,17 +38,16 @@ exception statement from your version. */ package javax.crypto; -import java.lang.reflect.InvocationTargetException; +import gnu.java.security.Engine; +import java.lang.reflect.InvocationTargetException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.Provider; import java.security.Security; -import java.security.spec.KeySpec; import java.security.spec.InvalidKeySpecException; - -import gnu.java.security.Engine; +import java.security.spec.KeySpec; /** * A secret key factory translates {@link SecretKey} objects to and from diff --git a/javax/crypto/SecretKeyFactorySpi.java b/javax/crypto/SecretKeyFactorySpi.java index 7b4763dff..41c815270 100644 --- a/javax/crypto/SecretKeyFactorySpi.java +++ b/javax/crypto/SecretKeyFactorySpi.java @@ -39,8 +39,8 @@ exception statement from your version. */ package javax.crypto; import java.security.InvalidKeyException; -import java.security.spec.KeySpec; import java.security.spec.InvalidKeySpecException; +import java.security.spec.KeySpec; /** * The <i>Service Provider Interface</i> (<b>SPI</b>) for the {@link diff --git a/javax/crypto/spec/SecretKeySpec.java b/javax/crypto/spec/SecretKeySpec.java index 6d9f4b8fe..63c696840 100644 --- a/javax/crypto/spec/SecretKeySpec.java +++ b/javax/crypto/spec/SecretKeySpec.java @@ -39,6 +39,7 @@ exception statement from your version. */ package javax.crypto.spec; import java.security.spec.KeySpec; + import javax.crypto.SecretKey; /** |