CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Raif S. Naffah <raif> 06/06/04 06:57:26
Modified files: gnu/javax/crypto/jce/key: SquareSecretKeyFactoryImpl.java KhazadSecretKeyFactoryImpl.java BlowfishSecretKeyFactoryImpl.java TwofishSecretKeyFactoryImpl.java AnubisSecretKeyFactoryImpl.java RijndaelSecretKeyFactoryImpl.java Cast5SecretKeyFactoryImpl.java SerpentSecretKeyFactoryImpl.java gnu/javax/crypto/jce/spec: TMMHParameterSpec.java gnu/javax/crypto/keyring: CertPathEntry.java EncryptedEntry.java PublicKeyEntry.java AuthenticatedEntry.java CertificateEntry.java gnu/javax/crypto/pad: IPad.java PKCS7.java PKCS1_V1_5.java TBC.java TLS1.java gnu/javax/crypto/cipher: BaseCipher.java IBlockCipherSpi.java gnu/javax/crypto/jce/prng: CSPRNGSpi.java gnu/javax/crypto/assembly: Direction.java Transformer.java Cascade.java gnu/javax/crypto/sasl/srp: SRPRegistry.java PasswordFile.java gnu/javax/crypto/prng: CSPRNG.java . : ChangeLog gnu/javax/crypto/mac: OMAC.java gnu/javax/crypto/jce/cipher: CipherAdapter.java gnu/javax/crypto/mode: CTR.java BaseMode.java gnu/javax/crypto/jce/mac: OMacImpl.java gnu/javax/crypto/sasl: SaslUtil.java gnu/javax/crypto/key/dh: GnuDHPrivateKey.java Log message: 2006-06-04 Raif S. Naffah <[EMAIL PROTECTED]> * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import. * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link. * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import. * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see. (getSystemInstance): Fix javadoc @link. (counter): Increased visibility. * gnu/javax/crypto/pad/TLS1.java: Remove unused import. * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link. * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise. * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise. * gnu/javax/crypto/pad/TBC.java (TBC): Likewise. * gnu/javax/crypto/mode/CTR.java: Remove unused import. * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see. * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see. * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link. * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports. * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise. * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise. * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise. * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise. * gnu/javax/crypto/mac/OMAC.java: Likewise. * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise. * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise. * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise. * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise. * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise. * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise. * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise. * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise. * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise. * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise. * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link. * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise. * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import. * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link. * gnu/javax/crypto/assembly/Direction.java: Likewise. * gnu/javax/crypto/assembly/Transformer.java: Likewise. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/spec/TMMHParameterSpec.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/keyring/CertPathEntry.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/keyring/EncryptedEntry.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/keyring/PublicKeyEntry.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/keyring/AuthenticatedEntry.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/keyring/CertificateEntry.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/pad/IPad.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/pad/PKCS7.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/pad/PKCS1_V1_5.java?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/pad/TBC.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/pad/TLS1.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/cipher/BaseCipher.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/cipher/IBlockCipherSpi.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/prng/CSPRNGSpi.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/assembly/Direction.java?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/assembly/Transformer.java?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/assembly/Cascade.java?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/sasl/srp/SRPRegistry.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/sasl/srp/PasswordFile.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/prng/CSPRNG.java?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7644&r2=1.7645 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/mac/OMAC.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/mode/CTR.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/mode/BaseMode.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/jce/mac/OMacImpl.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/sasl/SaslUtil.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/crypto/key/dh/GnuDHPrivateKey.java?cvsroot=classpath&r1=1.2&r2=1.3 Patches: Index: jce/key/SquareSecretKeyFactoryImpl.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/key/SquareSecretKeyFactoryImpl.java 26 Jan 2006 02:25:08 -0000 1.1 +++ jce/key/SquareSecretKeyFactoryImpl.java 4 Jun 2006 06:57:24 -0000 1.2 @@ -37,13 +37,6 @@ package gnu.javax.crypto.jce.key; -import java.security.InvalidKeyException; -import java.security.spec.InvalidKeySpecException; - -import javax.crypto.SecretKey; -import javax.crypto.SecretKeyFactorySpi; -import javax.crypto.spec.SecretKeySpec; - public class SquareSecretKeyFactoryImpl extends SecretKeyFactoryImpl { public SquareSecretKeyFactoryImpl() Index: jce/key/KhazadSecretKeyFactoryImpl.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/key/KhazadSecretKeyFactoryImpl.java 26 Jan 2006 02:25:08 -0000 1.1 +++ jce/key/KhazadSecretKeyFactoryImpl.java 4 Jun 2006 06:57:24 -0000 1.2 @@ -37,13 +37,6 @@ package gnu.javax.crypto.jce.key; -import java.security.InvalidKeyException; -import java.security.spec.InvalidKeySpecException; - -import javax.crypto.SecretKey; -import javax.crypto.SecretKeyFactorySpi; -import javax.crypto.spec.SecretKeySpec; - public class KhazadSecretKeyFactoryImpl extends SecretKeyFactoryImpl { public KhazadSecretKeyFactoryImpl() Index: jce/key/BlowfishSecretKeyFactoryImpl.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/key/BlowfishSecretKeyFactoryImpl.java 26 Jan 2006 02:25:08 -0000 1.1 +++ jce/key/BlowfishSecretKeyFactoryImpl.java 4 Jun 2006 06:57:24 -0000 1.2 @@ -38,13 +38,6 @@ package gnu.javax.crypto.jce.key; -import java.security.InvalidKeyException; -import java.security.spec.InvalidKeySpecException; - -import javax.crypto.SecretKey; -import javax.crypto.SecretKeyFactorySpi; -import javax.crypto.spec.SecretKeySpec; - public class BlowfishSecretKeyFactoryImpl extends SecretKeyFactoryImpl { public BlowfishSecretKeyFactoryImpl() Index: jce/key/TwofishSecretKeyFactoryImpl.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/key/TwofishSecretKeyFactoryImpl.java 26 Jan 2006 02:25:08 -0000 1.1 +++ jce/key/TwofishSecretKeyFactoryImpl.java 4 Jun 2006 06:57:24 -0000 1.2 @@ -37,13 +37,6 @@ package gnu.javax.crypto.jce.key; -import java.security.InvalidKeyException; -import java.security.spec.InvalidKeySpecException; - -import javax.crypto.SecretKey; -import javax.crypto.SecretKeyFactorySpi; -import javax.crypto.spec.SecretKeySpec; - public class TwofishSecretKeyFactoryImpl extends SecretKeyFactoryImpl { public TwofishSecretKeyFactoryImpl() Index: jce/key/AnubisSecretKeyFactoryImpl.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/key/AnubisSecretKeyFactoryImpl.java 26 Jan 2006 02:25:08 -0000 1.1 +++ jce/key/AnubisSecretKeyFactoryImpl.java 4 Jun 2006 06:57:24 -0000 1.2 @@ -38,13 +38,6 @@ package gnu.javax.crypto.jce.key; -import java.security.InvalidKeyException; -import java.security.spec.InvalidKeySpecException; - -import javax.crypto.SecretKey; -import javax.crypto.SecretKeyFactorySpi; -import javax.crypto.spec.SecretKeySpec; - public class AnubisSecretKeyFactoryImpl extends SecretKeyFactoryImpl { public AnubisSecretKeyFactoryImpl() Index: jce/key/RijndaelSecretKeyFactoryImpl.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/key/RijndaelSecretKeyFactoryImpl.java 26 Jan 2006 02:25:08 -0000 1.1 +++ jce/key/RijndaelSecretKeyFactoryImpl.java 4 Jun 2006 06:57:24 -0000 1.2 @@ -37,13 +37,6 @@ package gnu.javax.crypto.jce.key; -import java.security.InvalidKeyException; -import java.security.spec.InvalidKeySpecException; - -import javax.crypto.SecretKey; -import javax.crypto.SecretKeyFactorySpi; -import javax.crypto.spec.SecretKeySpec; - public class RijndaelSecretKeyFactoryImpl extends SecretKeyFactoryImpl { public RijndaelSecretKeyFactoryImpl() Index: jce/key/Cast5SecretKeyFactoryImpl.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/key/Cast5SecretKeyFactoryImpl.java 26 Jan 2006 02:25:08 -0000 1.1 +++ jce/key/Cast5SecretKeyFactoryImpl.java 4 Jun 2006 06:57:24 -0000 1.2 @@ -38,13 +38,6 @@ package gnu.javax.crypto.jce.key; -import java.security.InvalidKeyException; -import java.security.spec.InvalidKeySpecException; - -import javax.crypto.SecretKey; -import javax.crypto.SecretKeyFactorySpi; -import javax.crypto.spec.SecretKeySpec; - public class Cast5SecretKeyFactoryImpl extends SecretKeyFactoryImpl { public Cast5SecretKeyFactoryImpl() Index: jce/key/SerpentSecretKeyFactoryImpl.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/key/SerpentSecretKeyFactoryImpl.java 26 Jan 2006 02:25:08 -0000 1.1 +++ jce/key/SerpentSecretKeyFactoryImpl.java 4 Jun 2006 06:57:24 -0000 1.2 @@ -37,13 +37,6 @@ package gnu.javax.crypto.jce.key; -import java.security.InvalidKeyException; -import java.security.spec.InvalidKeySpecException; - -import javax.crypto.SecretKey; -import javax.crypto.SecretKeyFactorySpi; -import javax.crypto.spec.SecretKeySpec; - public class SerpentSecretKeyFactoryImpl extends SecretKeyFactoryImpl { public SerpentSecretKeyFactoryImpl() Index: jce/spec/TMMHParameterSpec.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/spec/TMMHParameterSpec.java 26 Jan 2006 02:25:09 -0000 1.1 +++ jce/spec/TMMHParameterSpec.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -45,7 +45,7 @@ /** * This class represents the algorithm parameters for the Truncated * Multi-Modular Hash function for use with JCE-derived instances of - * [EMAIL PROTECTED] gnu.crypto.mac.TMMH16}. + * [EMAIL PROTECTED] gnu.javax.crypto.mac.TMMH16}. * * <p>This class is little more than a container for the key stream, tag * length, and prefix parameters for the TMMH algorithm. Index: keyring/CertPathEntry.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/keyring/CertPathEntry.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- keyring/CertPathEntry.java 26 Jan 2006 02:25:09 -0000 1.1 +++ keyring/CertPathEntry.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -40,14 +40,11 @@ import java.io.ByteArrayOutputStream; import java.io.DataInputStream; -import java.io.DataOutputStream; import java.io.IOException; - import java.security.cert.Certificate; import java.security.cert.CertificateEncodingException; import java.security.cert.CertificateException; import java.security.cert.CertificateFactory; - import java.util.Date; /** Index: keyring/EncryptedEntry.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/keyring/EncryptedEntry.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- keyring/EncryptedEntry.java 26 Jan 2006 02:25:09 -0000 1.1 +++ keyring/EncryptedEntry.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -38,21 +38,6 @@ package gnu.javax.crypto.keyring; -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import java.security.InvalidKeyException; - -import java.util.Arrays; -import java.util.Collections; -import java.util.Date; -import java.util.Iterator; -import java.util.HashMap; -import java.util.List; - import gnu.java.security.Registry; import gnu.javax.crypto.cipher.CipherFactory; import gnu.javax.crypto.cipher.IBlockCipher; @@ -62,6 +47,15 @@ import gnu.javax.crypto.pad.PadFactory; import gnu.javax.crypto.pad.WrongPaddingException; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.security.InvalidKeyException; +import java.util.HashMap; +import java.util.Iterator; + public class EncryptedEntry extends MaskableEnvelopeEntry implements Registry { Index: keyring/PublicKeyEntry.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/keyring/PublicKeyEntry.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- keyring/PublicKeyEntry.java 26 Jan 2006 02:25:09 -0000 1.1 +++ keyring/PublicKeyEntry.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -38,22 +38,19 @@ package gnu.javax.crypto.keyring; -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; - -import java.security.PublicKey; -import java.security.KeyFactory; -import java.security.spec.X509EncodedKeySpec; - -import java.util.Date; - import gnu.java.security.key.IKeyPairCodec; import gnu.java.security.key.KeyPairCodecFactory; import gnu.java.security.key.dss.DSSPublicKey; import gnu.java.security.key.rsa.GnuRSAPublicKey; import gnu.javax.crypto.key.dh.GnuDHPublicKey; +import java.io.DataInputStream; +import java.io.IOException; +import java.security.KeyFactory; +import java.security.PublicKey; +import java.security.spec.X509EncodedKeySpec; +import java.util.Date; + public final class PublicKeyEntry extends PrimitiveEntry { Index: keyring/AuthenticatedEntry.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/keyring/AuthenticatedEntry.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- keyring/AuthenticatedEntry.java 26 Jan 2006 02:25:09 -0000 1.1 +++ keyring/AuthenticatedEntry.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -38,25 +38,20 @@ package gnu.javax.crypto.keyring; +import gnu.java.security.Registry; +import gnu.javax.crypto.mac.IMac; +import gnu.javax.crypto.mac.MacFactory; +import gnu.javax.crypto.mac.MacOutputStream; + import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; - import java.security.InvalidKeyException; - import java.util.Arrays; -import java.util.Date; -import java.util.Iterator; import java.util.HashMap; -import java.util.List; - -import gnu.java.security.Registry; -import gnu.javax.crypto.mac.IMac; -import gnu.javax.crypto.mac.MacFactory; -import gnu.javax.crypto.mac.MacInputStream; -import gnu.javax.crypto.mac.MacOutputStream; +import java.util.Iterator; public final class AuthenticatedEntry extends MaskableEnvelopeEntry implements Registry Index: keyring/CertificateEntry.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/keyring/CertificateEntry.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- keyring/CertificateEntry.java 26 Jan 2006 02:25:09 -0000 1.1 +++ keyring/CertificateEntry.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -39,13 +39,11 @@ package gnu.javax.crypto.keyring; import java.io.DataInputStream; -import java.io.DataOutputStream; import java.io.IOException; import java.security.cert.Certificate; import java.security.cert.CertificateEncodingException; import java.security.cert.CertificateException; import java.security.cert.CertificateFactory; -import java.security.cert.X509Certificate; import java.util.Date; /** Index: pad/IPad.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/pad/IPad.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- pad/IPad.java 26 Jan 2006 02:25:09 -0000 1.1 +++ pad/IPad.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -44,7 +44,7 @@ * <p>Padding algorithms serve to <i>pad</i> and <i>unpad</i> byte arrays usually * as the last step in an <i>encryption</i> or respectively a <i>decryption</i> * operation. Their input buffers are usually those processed by instances of - * [EMAIL PROTECTED] gnu.crypto.mode.IMode} and/or [EMAIL PROTECTED] gnu.crypto.cipher.IBlockCipher}.</p> + * [EMAIL PROTECTED] gnu.javax.crypto.mode.IMode} and/or [EMAIL PROTECTED] gnu.javax.crypto.cipher.IBlockCipher}.</p> */ public interface IPad { Index: pad/PKCS7.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/pad/PKCS7.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- pad/PKCS7.java 26 Jan 2006 02:25:09 -0000 1.1 +++ pad/PKCS7.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -86,7 +86,7 @@ /** * Trivial package-private constructor for use by the <i>Factory</i> class.<p> * - * @see gnu.crypto.pad.PadFactory + * @see PadFactory */ PKCS7() { Index: pad/PKCS1_V1_5.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/pad/PKCS1_V1_5.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- pad/PKCS1_V1_5.java 3 Feb 2006 19:29:01 -0000 1.2 +++ pad/PKCS1_V1_5.java 4 Jun 2006 06:57:25 -0000 1.3 @@ -92,7 +92,7 @@ * <p>Trivial package-private constructor for use by the <i>Factory</i> class. * </p> * - * @see gnu.crypto.pad.PadFactory + * @see PadFactory */ PKCS1_V1_5() { Index: pad/TBC.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/pad/TBC.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- pad/TBC.java 26 Jan 2006 02:25:09 -0000 1.1 +++ pad/TBC.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -85,7 +85,7 @@ /** * Trivial package-private constructor for use by the <i>Factory</i> class.<p> * - * @see gnu.crypto.pad.PadFactory + * @see PadFactory */ TBC() { Index: pad/TLS1.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/pad/TLS1.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- pad/TLS1.java 26 Jan 2006 02:25:09 -0000 1.1 +++ pad/TLS1.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -38,8 +38,6 @@ package gnu.javax.crypto.pad; -import gnu.java.security.util.Util; - /** * The padding scheme used by the Transport Layer Security protocol, * version 1. This padding scheme is used in the block-ciphered struct, Index: cipher/BaseCipher.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/cipher/BaseCipher.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- cipher/BaseCipher.java 26 Jan 2006 02:25:08 -0000 1.1 +++ cipher/BaseCipher.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -38,8 +38,6 @@ package gnu.javax.crypto.cipher; -import gnu.java.security.util.Util; - import java.security.InvalidKeyException; import java.util.Arrays; import java.util.Iterator; Index: cipher/IBlockCipherSpi.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/cipher/IBlockCipherSpi.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- cipher/IBlockCipherSpi.java 26 Jan 2006 02:25:08 -0000 1.1 +++ cipher/IBlockCipherSpi.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -43,7 +43,7 @@ /** * <p>Package-private interface exposing mandatory methods to be implemented by - * concrete [EMAIL PROTECTED] gnu.crypto.cipher.BaseCipher} sub-classes.</p> + * concrete [EMAIL PROTECTED] gnu.javax.crypto.cipher.BaseCipher} sub-classes.</p> */ interface IBlockCipherSpi extends Cloneable { Index: jce/prng/CSPRNGSpi.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/prng/CSPRNGSpi.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/prng/CSPRNGSpi.java 26 Jan 2006 02:25:09 -0000 1.1 +++ jce/prng/CSPRNGSpi.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -38,10 +38,9 @@ package gnu.javax.crypto.jce.prng; -import gnu.java.security.Registry; -import gnu.javax.crypto.prng.CSPRNG; import gnu.java.security.prng.IRandom; import gnu.java.security.prng.LimitReachedException; +import gnu.javax.crypto.prng.CSPRNG; import java.net.MalformedURLException; import java.security.SecureRandomSpi; Index: assembly/Direction.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/assembly/Direction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- assembly/Direction.java 13 Apr 2006 21:07:02 -0000 1.2 +++ assembly/Direction.java 4 Jun 2006 06:57:25 -0000 1.3 @@ -45,9 +45,9 @@ * * <p>The possible values for this type are two:</p> * <ol> - * <li>FORWARD: equivalent to [EMAIL PROTECTED] gnu.crypto.mode.IMode#ENCRYPTION}, and + * <li>FORWARD: equivalent to [EMAIL PROTECTED] gnu.javax.crypto.mode.IMode#ENCRYPTION}, and * its inverse value</li> - * <li>REVERSED: equivalent to [EMAIL PROTECTED] gnu.crypto.mode.IMode#DECRYPTION}.</li> + * <li>REVERSED: equivalent to [EMAIL PROTECTED] gnu.javax.crypto.mode.IMode#DECRYPTION}.</li> * </ol> */ public final class Direction Index: assembly/Transformer.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/assembly/Transformer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- assembly/Transformer.java 13 Apr 2006 21:07:02 -0000 1.2 +++ assembly/Transformer.java 4 Jun 2006 06:57:25 -0000 1.3 @@ -47,7 +47,7 @@ * <p>A <code>Transformer</code> is an abstract representation of a two-way * <i>transformation</i> that can be chained together with other instances of * this type. Examples of such transformations in this library are: - * [EMAIL PROTECTED] Cascade} cipher, [EMAIL PROTECTED] gnu.crypto.pad.IPad} algorithm, and a + * [EMAIL PROTECTED] Cascade} cipher, [EMAIL PROTECTED] gnu.javax.crypto.pad.IPad} algorithm, and a * ZLib-based deflater/inflater algorithm. A special implementation of a * <code>Transformer</code> to close a chain is also provided.</p> * Index: assembly/Cascade.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/assembly/Cascade.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- assembly/Cascade.java 13 Apr 2006 21:07:02 -0000 1.2 +++ assembly/Cascade.java 4 Jun 2006 06:57:25 -0000 1.3 @@ -60,7 +60,7 @@ * of identical ciphers).</p> * * <p>The term "block ciphers" used above refers to implementations of - * [EMAIL PROTECTED] gnu.crypto.mode.IMode}, including the [EMAIL PROTECTED] gnu.crypto.mode.ECB} + * [EMAIL PROTECTED] gnu.javax.crypto.mode.IMode}, including the [EMAIL PROTECTED] gnu.javax.crypto.mode.ECB} * mode which basically exposes a symmetric-key block cipher algorithm as a * <i>Mode</i> of Operations.</p> * Index: sasl/srp/SRPRegistry.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/sasl/srp/SRPRegistry.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- sasl/srp/SRPRegistry.java 26 Jan 2006 02:25:10 -0000 1.1 +++ sasl/srp/SRPRegistry.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -140,7 +140,7 @@ /** * Name of the SRP password database property --a reference to - * [EMAIL PROTECTED] gnu.crypto.sasl.srp.PasswordFile} object. + * [EMAIL PROTECTED] PasswordFile} object. */ String PASSWORD_DB = "gnu.crypto.sasl.srp.password.db"; Index: sasl/srp/PasswordFile.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/sasl/srp/PasswordFile.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- sasl/srp/PasswordFile.java 26 Jan 2006 02:25:10 -0000 1.1 +++ sasl/srp/PasswordFile.java 4 Jun 2006 06:57:25 -0000 1.2 @@ -39,7 +39,6 @@ package gnu.javax.crypto.sasl.srp; import gnu.java.security.Registry; -import gnu.java.security.hash.IMessageDigest; import gnu.java.security.util.Util; import gnu.javax.crypto.key.srp6.SRPAlgorithm; import gnu.javax.crypto.sasl.NoSuchUserException; @@ -50,9 +49,9 @@ import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; +import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; -import java.io.IOException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.math.BigInteger; Index: prng/CSPRNG.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/prng/CSPRNG.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- prng/CSPRNG.java 21 Apr 2006 10:52:26 -0000 1.2 +++ prng/CSPRNG.java 4 Jun 2006 06:57:25 -0000 1.3 @@ -48,7 +48,6 @@ import gnu.java.security.prng.LimitReachedException; import gnu.java.security.util.SimpleList; import gnu.java.security.util.Util; - import gnu.javax.crypto.cipher.CipherFactory; import gnu.javax.crypto.cipher.IBlockCipher; @@ -56,15 +55,11 @@ import java.io.FileInputStream; import java.io.InputStream; import java.io.PrintStream; - import java.net.MalformedURLException; import java.net.URL; - import java.security.AccessController; import java.security.InvalidKeyException; import java.security.PrivilegedAction; - -import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; @@ -114,7 +109,7 @@ * <li>A [EMAIL PROTECTED] String}, indicating the path to the file.</li> * </ol> * - * @see gnu.crypto.util.SimpleList + * @see gnu.java.security.util.SimpleList */ public static final String FILE_SOURCES = "gnu.crypto.prng.pool.files"; @@ -332,7 +327,7 @@ * and its arguments.</p></dd> * * <dt>gnu.crypto.cspring.other</dt> - * <dd><p>These properties are other sources, passed as the [EMAIL PROTECTED] OTHER_SOURCES} + * <dd><p>These properties are other sources, passed as the [EMAIL PROTECTED] #OTHER_SOURCES} * parameter of the instance. The property value must be the full name * of a class that implements the [EMAIL PROTECTED] EntropySource} interface and has a * public no-argument constructor.</p></dd> @@ -994,7 +989,7 @@ // Field. // ----------------------------------------------------------------------- - private byte counter; + protected byte counter; // Constructor. // ----------------------------------------------------------------------- Index: mac/OMAC.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/mac/OMAC.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- mac/OMAC.java 26 Jan 2006 02:25:09 -0000 1.1 +++ mac/OMAC.java 4 Jun 2006 06:57:26 -0000 1.2 @@ -43,10 +43,8 @@ import gnu.javax.crypto.cipher.CipherFactory; import gnu.javax.crypto.cipher.IBlockCipher; import gnu.javax.crypto.mode.IMode; -import gnu.javax.crypto.mode.ModeFactory; import java.security.InvalidKeyException; - import java.util.Arrays; import java.util.HashMap; import java.util.Map; Index: jce/cipher/CipherAdapter.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- jce/cipher/CipherAdapter.java 13 Apr 2006 21:07:02 -0000 1.2 +++ jce/cipher/CipherAdapter.java 4 Jun 2006 06:57:26 -0000 1.3 @@ -118,9 +118,9 @@ /** * <p>Protected constructor to be called by subclasses. The cipher name - * argument should be the appropriate one listed in [EMAIL PROTECTED] gnu.crypto.Registry}. + * argument should be the appropriate one listed in [EMAIL PROTECTED] gnu.java.security.Registry}. * The basic cipher instance is created, along with an instance of the - * [EMAIL PROTECTED] gnu.crypto.mode.ECB} mode and no padding.</p> + * [EMAIL PROTECTED] gnu.javax.crypto.mode.ECB} mode and no padding.</p> * * @param cipherName The cipher to instantiate. * @param blockLen The block length to use. Index: mode/CTR.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/mode/CTR.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- mode/CTR.java 26 Jan 2006 02:25:09 -0000 1.1 +++ mode/CTR.java 4 Jun 2006 06:57:26 -0000 1.2 @@ -40,10 +40,8 @@ import gnu.java.security.Registry; import gnu.java.security.util.Sequence; - import gnu.javax.crypto.cipher.IBlockCipher; -import java.math.BigInteger; import java.util.Arrays; import java.util.Iterator; Index: mode/BaseMode.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/mode/BaseMode.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- mode/BaseMode.java 26 Jan 2006 02:25:09 -0000 1.1 +++ mode/BaseMode.java 4 Jun 2006 06:57:26 -0000 1.2 @@ -146,7 +146,7 @@ * of the method(s) available in the factory class.</p> * * @return the default value, in bytes, of the mode's block size. - * @see gnu.crypto.mode.ModeFactory + * @see ModeFactory */ public int defaultBlockSize() { Index: jce/mac/OMacImpl.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/jce/mac/OMacImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- jce/mac/OMacImpl.java 26 Jan 2006 02:25:09 -0000 1.1 +++ jce/mac/OMacImpl.java 4 Jun 2006 06:57:26 -0000 1.2 @@ -39,7 +39,6 @@ package gnu.javax.crypto.jce.mac; import gnu.java.security.Registry; -import javax.crypto.MacSpi; public abstract class OMacImpl extends MacAdapter { Index: sasl/SaslUtil.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/sasl/SaslUtil.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- sasl/SaslUtil.java 26 Jan 2006 02:25:09 -0000 1.1 +++ sasl/SaslUtil.java 4 Jun 2006 06:57:26 -0000 1.2 @@ -40,7 +40,6 @@ import gnu.java.security.util.Util; -import java.math.BigInteger; import java.security.MessageDigest; /** Index: key/dh/GnuDHPrivateKey.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- key/dh/GnuDHPrivateKey.java 12 Feb 2006 08:57:57 -0000 1.2 +++ key/dh/GnuDHPrivateKey.java 4 Jun 2006 06:57:26 -0000 1.3 @@ -154,7 +154,7 @@ * @return the byte sequence encoding this key according to the designated * format. * @exception IllegalArgumentException if the format is not supported. - * @see gnu.crypto.key.dh.DHKeyPairRawCodec + * @see DHKeyPairRawCodec */ public byte[] getEncoded(int format) {