summaryrefslogtreecommitdiff
path: root/gnu/javax/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/javax/crypto')
-rw-r--r--gnu/javax/crypto/assembly/Assembly.java24
-rw-r--r--gnu/javax/crypto/assembly/Cascade.java24
-rw-r--r--gnu/javax/crypto/assembly/CascadeStage.java2
-rw-r--r--gnu/javax/crypto/assembly/CascadeTransformer.java2
-rw-r--r--gnu/javax/crypto/assembly/DeflateTransformer.java2
-rw-r--r--gnu/javax/crypto/assembly/Direction.java2
-rw-r--r--gnu/javax/crypto/assembly/LoopbackTransformer.java2
-rw-r--r--gnu/javax/crypto/assembly/ModeStage.java2
-rw-r--r--gnu/javax/crypto/assembly/Operation.java2
-rw-r--r--gnu/javax/crypto/assembly/PaddingTransformer.java2
-rw-r--r--gnu/javax/crypto/assembly/Stage.java20
-rw-r--r--gnu/javax/crypto/assembly/Transformer.java28
-rw-r--r--gnu/javax/crypto/assembly/TransformerException.java8
-rw-r--r--gnu/javax/crypto/cipher/Anubis.java4
-rw-r--r--gnu/javax/crypto/cipher/BaseCipher.java4
-rw-r--r--gnu/javax/crypto/cipher/Blowfish.java2
-rw-r--r--gnu/javax/crypto/cipher/Cast5.java2
-rw-r--r--gnu/javax/crypto/cipher/CipherFactory.java6
-rw-r--r--gnu/javax/crypto/cipher/DES.java4
-rw-r--r--gnu/javax/crypto/cipher/IBlockCipher.java24
-rw-r--r--gnu/javax/crypto/cipher/IBlockCipherSpi.java14
-rw-r--r--gnu/javax/crypto/cipher/Khazad.java4
-rw-r--r--gnu/javax/crypto/cipher/NullCipher.java2
-rw-r--r--gnu/javax/crypto/cipher/Rijndael.java6
-rw-r--r--gnu/javax/crypto/cipher/Serpent.java2
-rw-r--r--gnu/javax/crypto/cipher/Square.java8
-rw-r--r--gnu/javax/crypto/cipher/TripleDES.java10
-rw-r--r--gnu/javax/crypto/cipher/Twofish.java2
-rw-r--r--gnu/javax/crypto/cipher/WeakKeyException.java2
-rw-r--r--gnu/javax/crypto/jce/DiffieHellmanImpl.java2
-rw-r--r--gnu/javax/crypto/jce/GnuCrypto.java8
-rw-r--r--gnu/javax/crypto/jce/GnuSasl.java4
-rw-r--r--gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java4
-rw-r--r--gnu/javax/crypto/jce/cipher/AESSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/ARCFourSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/AnubisSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/BlowfishSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/Cast5Spi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/CipherAdapter.java12
-rw-r--r--gnu/javax/crypto/jce/cipher/DESSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java14
-rw-r--r--gnu/javax/crypto/jce/cipher/KhazadSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/NullCipherSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/PBES2.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/RijndaelSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/SerpentSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/SquareSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/TripleDESSpi.java2
-rw-r--r--gnu/javax/crypto/jce/cipher/TwofishSpi.java2
-rw-r--r--gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java2
-rw-r--r--gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java2
-rw-r--r--gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java2
-rw-r--r--gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java4
-rw-r--r--gnu/javax/crypto/jce/keyring/GnuKeyring.java8
-rw-r--r--gnu/javax/crypto/jce/mac/HMacHavalSpi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacMD2Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacMD4Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacMD5Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacSHA160Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacSHA256Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacSHA384Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacSHA512Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacTigerSpi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/MacAdapter.java6
-rw-r--r--gnu/javax/crypto/jce/mac/TMMH16Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/UHash32Spi.java2
-rw-r--r--gnu/javax/crypto/jce/mac/UMac32Spi.java2
-rw-r--r--gnu/javax/crypto/jce/params/BlockCipherParameters.java4
-rw-r--r--gnu/javax/crypto/jce/params/DEREncodingException.java2
-rw-r--r--gnu/javax/crypto/jce/params/DERReader.java2
-rw-r--r--gnu/javax/crypto/jce/params/DERWriter.java2
-rw-r--r--gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java2
-rw-r--r--gnu/javax/crypto/jce/prng/CSPRNGSpi.java2
-rw-r--r--gnu/javax/crypto/jce/prng/FortunaImpl.java4
-rw-r--r--gnu/javax/crypto/jce/prng/ICMRandomSpi.java2
-rw-r--r--gnu/javax/crypto/jce/prng/UMacRandomSpi.java2
-rw-r--r--gnu/javax/crypto/jce/sig/DHParameters.java8
-rw-r--r--gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java12
-rw-r--r--gnu/javax/crypto/jce/spec/TMMHParameterSpec.java12
-rw-r--r--gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java6
-rw-r--r--gnu/javax/crypto/key/BaseKeyAgreementParty.java4
-rw-r--r--gnu/javax/crypto/key/GnuPBEKey.java2
-rw-r--r--gnu/javax/crypto/key/GnuSecretKey.java12
-rw-r--r--gnu/javax/crypto/key/IKeyAgreementParty.java12
-rw-r--r--gnu/javax/crypto/key/IncomingMessage.java18
-rw-r--r--gnu/javax/crypto/key/KeyAgreementException.java14
-rw-r--r--gnu/javax/crypto/key/KeyAgreementFactory.java8
-rw-r--r--gnu/javax/crypto/key/OutgoingMessage.java14
-rw-r--r--gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java4
-rw-r--r--gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java6
-rw-r--r--gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java6
-rw-r--r--gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java4
-rw-r--r--gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java4
-rw-r--r--gnu/javax/crypto/key/dh/DiffieHellmanSender.java4
-rw-r--r--gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java2
-rw-r--r--gnu/javax/crypto/key/dh/ElGamalReceiver.java4
-rw-r--r--gnu/javax/crypto/key/dh/ElGamalSender.java4
-rw-r--r--gnu/javax/crypto/key/dh/GnuDHKey.java6
-rw-r--r--gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java4
-rw-r--r--gnu/javax/crypto/key/dh/GnuDHPrivateKey.java12
-rw-r--r--gnu/javax/crypto/key/dh/GnuDHPublicKey.java12
-rw-r--r--gnu/javax/crypto/key/dh/RFC2631.java2
-rw-r--r--gnu/javax/crypto/key/srp6/SRP6Host.java2
-rw-r--r--gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java14
-rw-r--r--gnu/javax/crypto/key/srp6/SRP6SaslClient.java6
-rw-r--r--gnu/javax/crypto/key/srp6/SRP6SaslServer.java6
-rw-r--r--gnu/javax/crypto/key/srp6/SRP6TLSClient.java2
-rw-r--r--gnu/javax/crypto/key/srp6/SRP6TLSServer.java2
-rw-r--r--gnu/javax/crypto/key/srp6/SRP6User.java2
-rw-r--r--gnu/javax/crypto/key/srp6/SRPAlgorithm.java2
-rw-r--r--gnu/javax/crypto/key/srp6/SRPKey.java12
-rw-r--r--gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java2
-rw-r--r--gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java6
-rw-r--r--gnu/javax/crypto/key/srp6/SRPPrivateKey.java18
-rw-r--r--gnu/javax/crypto/key/srp6/SRPPublicKey.java14
-rw-r--r--gnu/javax/crypto/keyring/AuthenticatedEntry.java6
-rw-r--r--gnu/javax/crypto/keyring/BaseKeyring.java2
-rw-r--r--gnu/javax/crypto/keyring/BinaryDataEntry.java8
-rw-r--r--gnu/javax/crypto/keyring/CertPathEntry.java2
-rw-r--r--gnu/javax/crypto/keyring/CertificateEntry.java6
-rw-r--r--gnu/javax/crypto/keyring/CompressedEntry.java2
-rw-r--r--gnu/javax/crypto/keyring/EncryptedEntry.java2
-rw-r--r--gnu/javax/crypto/keyring/Entry.java8
-rw-r--r--gnu/javax/crypto/keyring/EnvelopeEntry.java18
-rw-r--r--gnu/javax/crypto/keyring/GnuPrivateKeyring.java4
-rw-r--r--gnu/javax/crypto/keyring/GnuPublicKeyring.java2
-rw-r--r--gnu/javax/crypto/keyring/IKeyring.java18
-rw-r--r--gnu/javax/crypto/keyring/IPrivateKeyring.java20
-rw-r--r--gnu/javax/crypto/keyring/IPublicKeyring.java10
-rw-r--r--gnu/javax/crypto/keyring/MalformedKeyringException.java2
-rw-r--r--gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java6
-rw-r--r--gnu/javax/crypto/keyring/MeteredInputStream.java4
-rw-r--r--gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java2
-rw-r--r--gnu/javax/crypto/keyring/PasswordEncryptedEntry.java2
-rw-r--r--gnu/javax/crypto/keyring/PasswordProtectedEntry.java4
-rw-r--r--gnu/javax/crypto/keyring/PrimitiveEntry.java6
-rw-r--r--gnu/javax/crypto/keyring/PrivateKeyEntry.java6
-rw-r--r--gnu/javax/crypto/keyring/Properties.java18
-rw-r--r--gnu/javax/crypto/keyring/PublicKeyEntry.java4
-rw-r--r--gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java2
-rw-r--r--gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java12
-rw-r--r--gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java6
-rw-r--r--gnu/javax/crypto/kwa/TripleDESKeyWrap.java6
-rw-r--r--gnu/javax/crypto/mac/BaseMac.java6
-rw-r--r--gnu/javax/crypto/mac/HMac.java2
-rw-r--r--gnu/javax/crypto/mac/HMacFactory.java6
-rw-r--r--gnu/javax/crypto/mac/IMac.java18
-rw-r--r--gnu/javax/crypto/mac/MacFactory.java6
-rw-r--r--gnu/javax/crypto/mac/MacInputStream.java10
-rw-r--r--gnu/javax/crypto/mac/MacOutputStream.java10
-rw-r--r--gnu/javax/crypto/mac/OMAC.java2
-rw-r--r--gnu/javax/crypto/mac/TMMH16.java8
-rw-r--r--gnu/javax/crypto/mac/UHash32.java4
-rw-r--r--gnu/javax/crypto/mac/UMac32.java6
-rw-r--r--gnu/javax/crypto/mode/BaseMode.java12
-rw-r--r--gnu/javax/crypto/mode/CBC.java6
-rw-r--r--gnu/javax/crypto/mode/CFB.java6
-rw-r--r--gnu/javax/crypto/mode/CTR.java10
-rw-r--r--gnu/javax/crypto/mode/EAX.java2
-rw-r--r--gnu/javax/crypto/mode/ECB.java6
-rw-r--r--gnu/javax/crypto/mode/IAuthenticatedMode.java2
-rw-r--r--gnu/javax/crypto/mode/ICM.java6
-rw-r--r--gnu/javax/crypto/mode/IMode.java4
-rw-r--r--gnu/javax/crypto/mode/ModeFactory.java6
-rw-r--r--gnu/javax/crypto/mode/OFB.java6
-rw-r--r--gnu/javax/crypto/pad/BasePad.java8
-rw-r--r--gnu/javax/crypto/pad/IPad.java14
-rw-r--r--gnu/javax/crypto/pad/PKCS1_V1_5.java4
-rw-r--r--gnu/javax/crypto/pad/PKCS7.java4
-rw-r--r--gnu/javax/crypto/pad/PadFactory.java6
-rw-r--r--gnu/javax/crypto/pad/TBC.java4
-rw-r--r--gnu/javax/crypto/pad/WrongPaddingException.java2
-rw-r--r--gnu/javax/crypto/prng/ARCFour.java2
-rw-r--r--gnu/javax/crypto/prng/CSPRNG.java14
-rw-r--r--gnu/javax/crypto/prng/ICMGenerator.java6
-rw-r--r--gnu/javax/crypto/prng/IPBE.java2
-rw-r--r--gnu/javax/crypto/prng/PBKDF2.java4
-rw-r--r--gnu/javax/crypto/prng/PRNGFactory.java6
-rw-r--r--gnu/javax/crypto/prng/UMacGenerator.java2
-rw-r--r--gnu/javax/crypto/sasl/AuthInfo.java4
-rw-r--r--gnu/javax/crypto/sasl/AuthInfoProviderFactory.java2
-rw-r--r--gnu/javax/crypto/sasl/ClientFactory.java2
-rw-r--r--gnu/javax/crypto/sasl/ClientMechanism.java6
-rw-r--r--gnu/javax/crypto/sasl/ConfidentialityException.java6
-rw-r--r--gnu/javax/crypto/sasl/IAuthInfoProvider.java14
-rw-r--r--gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java4
-rw-r--r--gnu/javax/crypto/sasl/IllegalMechanismStateException.java6
-rw-r--r--gnu/javax/crypto/sasl/InputBuffer.java20
-rw-r--r--gnu/javax/crypto/sasl/IntegrityException.java6
-rw-r--r--gnu/javax/crypto/sasl/NoSuchMechanismException.java4
-rw-r--r--gnu/javax/crypto/sasl/NoSuchUserException.java4
-rw-r--r--gnu/javax/crypto/sasl/OutputBuffer.java16
-rw-r--r--gnu/javax/crypto/sasl/SaslEncodingException.java4
-rw-r--r--gnu/javax/crypto/sasl/SaslInputStream.java8
-rw-r--r--gnu/javax/crypto/sasl/SaslOutputStream.java2
-rw-r--r--gnu/javax/crypto/sasl/SaslUtil.java2
-rw-r--r--gnu/javax/crypto/sasl/ServerFactory.java2
-rw-r--r--gnu/javax/crypto/sasl/ServerMechanism.java6
-rw-r--r--gnu/javax/crypto/sasl/UserAlreadyExistsException.java4
-rw-r--r--gnu/javax/crypto/sasl/anonymous/AnonymousClient.java2
-rw-r--r--gnu/javax/crypto/sasl/anonymous/AnonymousServer.java2
-rw-r--r--gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java2
-rw-r--r--gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java2
-rw-r--r--gnu/javax/crypto/sasl/crammd5/CramMD5Client.java2
-rw-r--r--gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java2
-rw-r--r--gnu/javax/crypto/sasl/crammd5/CramMD5Server.java2
-rw-r--r--gnu/javax/crypto/sasl/crammd5/CramMD5Util.java2
-rw-r--r--gnu/javax/crypto/sasl/crammd5/PasswordFile.java2
-rw-r--r--gnu/javax/crypto/sasl/plain/PasswordFile.java2
-rw-r--r--gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java2
-rw-r--r--gnu/javax/crypto/sasl/plain/PlainClient.java2
-rw-r--r--gnu/javax/crypto/sasl/plain/PlainRegistry.java2
-rw-r--r--gnu/javax/crypto/sasl/plain/PlainServer.java2
-rw-r--r--gnu/javax/crypto/sasl/srp/CALG.java12
-rw-r--r--gnu/javax/crypto/sasl/srp/ClientStore.java12
-rw-r--r--gnu/javax/crypto/sasl/srp/IALG.java6
-rw-r--r--gnu/javax/crypto/sasl/srp/KDF.java8
-rw-r--r--gnu/javax/crypto/sasl/srp/PasswordFile.java12
-rw-r--r--gnu/javax/crypto/sasl/srp/SRP.java12
-rw-r--r--gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java2
-rw-r--r--gnu/javax/crypto/sasl/srp/SRPClient.java2
-rw-r--r--gnu/javax/crypto/sasl/srp/SRPRegistry.java2
-rw-r--r--gnu/javax/crypto/sasl/srp/SRPServer.java2
-rw-r--r--gnu/javax/crypto/sasl/srp/SecurityContext.java2
-rw-r--r--gnu/javax/crypto/sasl/srp/ServerStore.java14
-rw-r--r--gnu/javax/crypto/sasl/srp/StoreEntry.java4
230 files changed, 650 insertions, 650 deletions
diff --git a/gnu/javax/crypto/assembly/Assembly.java b/gnu/javax/crypto/assembly/Assembly.java
index 49770675b..f570d2012 100644
--- a/gnu/javax/crypto/assembly/Assembly.java
+++ b/gnu/javax/crypto/assembly/Assembly.java
@@ -1,4 +1,4 @@
-/* Assembly.java --
+/* Assembly.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -49,7 +49,7 @@ import java.util.Map;
* Once constructed, and correctly initialised, the bulk of the methods
* available on the <code>Assembly</code> are delegated to the <i>head</i> of
* the {@link Transformer} chain of the <code>Assembly</code>.
- *
+ *
* @see Transformer
*/
public class Assembly
@@ -79,7 +79,7 @@ public class Assembly
* in pre-processing mode; i.e. it should apply its internal transformation
* algorithm on the input data stream, <b>before</b> it passes that stream to
* the next element in the <i>chain</i>.
- *
+ *
* @param t the {@link Transformer} to add at the head of the current chain.
* @throws IllegalArgumentException if the designated {@link Transformer} has
* a non-null tail; i.e. it is already an element of a chain.
@@ -94,7 +94,7 @@ public class Assembly
* in post-processing mode; i.e. it should apply its internal transformation
* algorithm on the input data stream, <b>after</b> it passes that stream to
* the next element in the <i>chain</i>.
- *
+ *
* @param t the {@link Transformer} to add at the head of the current chain.
* @throws IllegalArgumentException if the designated {@link Transformer} has
* a non-null tail; i.e. it is already an element of a chain.
@@ -107,7 +107,7 @@ public class Assembly
/**
* Initialises the <code>Assembly</code> for operation with specific
* characteristics.
- *
+ *
* @param attributes a set of name-value pairs that describes the desired
* future behaviour of this instance.
* @throws IllegalStateException if the instance is already initialised.
@@ -138,7 +138,7 @@ public class Assembly
* Convenience method that calls the method with same name and three
* arguments, using a byte array of length <code>1</code> whose contents are
* the designated byte.
- *
+ *
* @param b the byte to process.
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
@@ -155,7 +155,7 @@ public class Assembly
* Convenience method that calls the method with same name and three
* arguments. All bytes in <code>in</code>, starting from index position
* <code>0</code> are considered.
- *
+ *
* @param in the input data bytes.
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
@@ -170,7 +170,7 @@ public class Assembly
/**
* Processes a designated number of bytes from a given byte array.
- *
+ *
* @param in the input data bytes.
* @param offset index of <code>in</code> from which to start considering
* data.
@@ -191,7 +191,7 @@ public class Assembly
/**
* Convenience method that calls the method with same name and three arguments
* using a 0-long byte array.
- *
+ *
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
* @throws TransformerException if a transformation-related exception occurs
@@ -207,7 +207,7 @@ public class Assembly
* Convenience method that calls the method with same name and three
* arguments, using a byte array of length <code>1</code> whose contents are
* the designated byte.
- *
+ *
* @param b the byte to process.
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
@@ -224,7 +224,7 @@ public class Assembly
* Convenience method that calls the method with same name and three
* arguments. All bytes in <code>in</code>, starting from index position
* <code>0</code> are considered.
- *
+ *
* @param in the input data bytes.
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
@@ -241,7 +241,7 @@ public class Assembly
* Processes a designated number of bytes from a given byte array and signals,
* at the same time, that this is the last <i>push</i> operation for this
* <code>Assembly</code>.
- *
+ *
* @param in the input data bytes.
* @param offset index of <code>in</code> from which to start considering
* data.
diff --git a/gnu/javax/crypto/assembly/Cascade.java b/gnu/javax/crypto/assembly/Cascade.java
index f790956a4..685cef5b2 100644
--- a/gnu/javax/crypto/assembly/Cascade.java
+++ b/gnu/javax/crypto/assembly/Cascade.java
@@ -1,4 +1,4 @@
-/* Cascade.java --
+/* Cascade.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -100,7 +100,7 @@ public class Cascade
/**
* Returns the Least Common Multiple of two integers.
- *
+ *
* @param a the first integer.
* @param b the second integer.
* @return the LCM of <code>abs(a)</code> and <code>abs(b)</code>.
@@ -114,7 +114,7 @@ public class Cascade
/**
* Adds to the end of the current chain, a designated {@link Stage}.
- *
+ *
* @param stage the {@link Stage} to append to the chain.
* @return a unique identifier for this stage, within this cascade.
* @throws IllegalStateException if the instance is already initialised.
@@ -129,7 +129,7 @@ public class Cascade
/**
* Adds to the begining of the current chain, a designated {@link Stage}.
- *
+ *
* @param stage the {@link Stage} to prepend to the chain.
* @return a unique identifier for this stage, within this cascade.
* @throws IllegalStateException if the instance is already initialised.
@@ -145,7 +145,7 @@ public class Cascade
/**
* Inserts a {@link Stage} into the current chain, at the specified index
* (zero-based) position.
- *
+ *
* @param stage the {@link Stage} to insert into the chain.
* @return a unique identifier for this stage, within this cascade.
* @throws IllegalArgumentException if the designated stage is already in the
@@ -187,7 +187,7 @@ public class Cascade
/**
* Returns the current number of stages in this chain.
- *
+ *
* @return the current count of stages in this chain.
*/
public int size()
@@ -199,7 +199,7 @@ public class Cascade
* Returns an {@link Iterator} over the stages contained in this instance.
* Each element of this iterator is a concrete implementation of a {@link
* Stage}.
- *
+ *
* @return an {@link Iterator} over the stages contained in this instance.
* Each element of the returned iterator is a concrete instance of a
* {@link Stage}.
@@ -216,7 +216,7 @@ public class Cascade
* Returns the {@link Set} of supported block sizes for this
* <code>Cascade</code> that are common to all of its chained stages. Each
* element in the returned {@link Set} is an instance of {@link Integer}.
- *
+ *
* @return a {@link Set} of supported block sizes common to all the stages of
* the chain.
*/
@@ -236,7 +236,7 @@ public class Cascade
/**
* Initialises the chain for operation with specific characteristics.
- *
+ *
* @param attributes a set of name-value pairs that describes the desired
* future behaviour of this instance.
* @throws IllegalStateException if the chain, or any of its stages, is
@@ -273,7 +273,7 @@ public class Cascade
/**
* Returns the currently set block size for the chain.
- *
+ *
* @return the current block size for the chain.
* @throws IllegalStateException if the instance is not initialised.
*/
@@ -302,7 +302,7 @@ public class Cascade
* Processes exactly one block of <i>plaintext</i> (if initialised in the
* {@link Direction#FORWARD} state) or <i>ciphertext</i> (if initialised in
* the {@link Direction#REVERSED} state).
- *
+ *
* @param in the plaintext.
* @param inOffset index of <code>in</code> from which to start considering
* data.
@@ -332,7 +332,7 @@ public class Cascade
* encryption / decryption test(s) for all supported block and key sizes of
* underlying block cipher(s) wrapped by Mode leafs. The test also includes
* one (1) variable key Known Answer Test (KAT) for each block cipher.
- *
+ *
* @return <code>true</code> if the implementation passes simple
* <i>correctness</i> tests. Returns <code>false</code> otherwise.
*/
diff --git a/gnu/javax/crypto/assembly/CascadeStage.java b/gnu/javax/crypto/assembly/CascadeStage.java
index b86f42e2a..196edafdf 100644
--- a/gnu/javax/crypto/assembly/CascadeStage.java
+++ b/gnu/javax/crypto/assembly/CascadeStage.java
@@ -1,4 +1,4 @@
-/* CascadeStage.java --
+/* CascadeStage.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/assembly/CascadeTransformer.java b/gnu/javax/crypto/assembly/CascadeTransformer.java
index 5fce51a15..8e3a9a5a1 100644
--- a/gnu/javax/crypto/assembly/CascadeTransformer.java
+++ b/gnu/javax/crypto/assembly/CascadeTransformer.java
@@ -1,4 +1,4 @@
-/* CascadeTransformer.java --
+/* CascadeTransformer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/assembly/DeflateTransformer.java b/gnu/javax/crypto/assembly/DeflateTransformer.java
index e5c0b7a57..97f9f0365 100644
--- a/gnu/javax/crypto/assembly/DeflateTransformer.java
+++ b/gnu/javax/crypto/assembly/DeflateTransformer.java
@@ -1,4 +1,4 @@
-/* DeflateTransformer.java --
+/* DeflateTransformer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/assembly/Direction.java b/gnu/javax/crypto/assembly/Direction.java
index 48c74ed1b..40ddfc429 100644
--- a/gnu/javax/crypto/assembly/Direction.java
+++ b/gnu/javax/crypto/assembly/Direction.java
@@ -1,4 +1,4 @@
-/* Direction.java --
+/* Direction.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/assembly/LoopbackTransformer.java b/gnu/javax/crypto/assembly/LoopbackTransformer.java
index bba1da778..5bcfe5ffc 100644
--- a/gnu/javax/crypto/assembly/LoopbackTransformer.java
+++ b/gnu/javax/crypto/assembly/LoopbackTransformer.java
@@ -1,4 +1,4 @@
-/* LoopbackTransformer.java --
+/* LoopbackTransformer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/assembly/ModeStage.java b/gnu/javax/crypto/assembly/ModeStage.java
index 253ab4ae6..8bdbef7c4 100644
--- a/gnu/javax/crypto/assembly/ModeStage.java
+++ b/gnu/javax/crypto/assembly/ModeStage.java
@@ -1,4 +1,4 @@
-/* ModeStage.java --
+/* ModeStage.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/assembly/Operation.java b/gnu/javax/crypto/assembly/Operation.java
index 28fdf9412..6861a1377 100644
--- a/gnu/javax/crypto/assembly/Operation.java
+++ b/gnu/javax/crypto/assembly/Operation.java
@@ -1,4 +1,4 @@
-/* Operation.java --
+/* Operation.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/assembly/PaddingTransformer.java b/gnu/javax/crypto/assembly/PaddingTransformer.java
index c11f4fe88..494ca34ca 100644
--- a/gnu/javax/crypto/assembly/PaddingTransformer.java
+++ b/gnu/javax/crypto/assembly/PaddingTransformer.java
@@ -1,4 +1,4 @@
-/* PaddingTransformer.java --
+/* PaddingTransformer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/assembly/Stage.java b/gnu/javax/crypto/assembly/Stage.java
index d023f6283..5d0ab5353 100644
--- a/gnu/javax/crypto/assembly/Stage.java
+++ b/gnu/javax/crypto/assembly/Stage.java
@@ -1,4 +1,4 @@
-/* Stage.java --
+/* Stage.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -56,7 +56,7 @@ import java.util.Set;
* the specification of how to wire the stage into the chain. The following
* diagrams may help understand the paradigme. The first shows two stages
* chained each with a {@link Direction#FORWARD} direction.
- *
+ *
* <pre>
* FORWARD FORWARD
* +------+ +-------+
@@ -67,12 +67,12 @@ import java.util.Set;
* | | | |
* +-------+ +------+
* </pre>
- *
+ *
* <p>
* The second diagram shows two stages, one in a {@link Direction#FORWARD}
* direction, while the other is wired in a {@link Direction#REVERSED}
* direction.
- *
+ *
* <pre>
* FORWARD REVERSED
* +------+ +------+
@@ -83,7 +83,7 @@ import java.util.Set;
* | |
* +---------------+
* </pre>
- *
+ *
* @see ModeStage
* @see CascadeStage
*/
@@ -118,14 +118,14 @@ public abstract class Stage
* Returns the {@link Set} of supported block sizes for this
* <code>Stage</code>. Each element in the returned {@link Set} is an
* instance of {@link Integer}.
- *
+ *
* @return a {@link Set} of supported block sizes.
*/
public abstract Set blockSizes();
/**
* Initialises the stage for operation with specific characteristics.
- *
+ *
* @param attributes a set of name-value pairs that describes the desired
* future behaviour of this instance.
* @throws IllegalStateException if the instance is already initialised.
@@ -147,7 +147,7 @@ public abstract class Stage
/**
* Returns the currently set block size for the stage.
- *
+ *
* @return the current block size for this stage.
* @throws IllegalStateException if the instance is not initialised.
*/
@@ -167,7 +167,7 @@ public abstract class Stage
* Processes exactly one block of <i>plaintext</i> (if initialised in the
* {@link Direction#FORWARD} state) or <i>ciphertext</i> (if initialised in
* the {@link Direction#REVERSED} state).
- *
+ *
* @param in the plaintext.
* @param inOffset index of <code>in</code> from which to start considering
* data.
@@ -187,7 +187,7 @@ public abstract class Stage
* encryption / decryption test(s) for all supported block and key sizes of
* underlying block cipher(s) wrapped by Mode leafs. The test also includes
* one (1) variable key Known Answer Test (KAT) for each block cipher.
- *
+ *
* @return <code>true</code> if the implementation passes simple
* <i>correctness</i> tests. Returns <code>false</code> otherwise.
*/
diff --git a/gnu/javax/crypto/assembly/Transformer.java b/gnu/javax/crypto/assembly/Transformer.java
index 58a991b93..1937f9950 100644
--- a/gnu/javax/crypto/assembly/Transformer.java
+++ b/gnu/javax/crypto/assembly/Transformer.java
@@ -1,4 +1,4 @@
-/* Transformer.java --
+/* Transformer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -73,7 +73,7 @@ import java.util.Map;
* buffering, from the previous element, is needed --which is independant of
* buffering the input if the <code>Transformer</code> implementation itself
* is block-based.
- *
+ *
* @see CascadeTransformer
* @see PaddingTransformer
* @see DeflateTransformer
@@ -117,7 +117,7 @@ public abstract class Transformer
/**
* Sets the operational mode of this <code>Transformer</code>.
- *
+ *
* @param mode the processing mode this <code>Transformer</code> is required
* to operate in.
* @throws IllegalStateException if this instance has already been assigned an
@@ -133,7 +133,7 @@ public abstract class Transformer
/**
* Returns <code>true</code> if this <code>Transformer</code> was wired in
* pre-processing mode; <code>false</code> otherwise.
- *
+ *
* @return <code>true</code> if this <code>Transformer</code> has been
* wired in pre-processing mode; <code>false</code> otherwise.
* @throws IllegalStateException if this instance has not yet been assigned an
@@ -149,7 +149,7 @@ public abstract class Transformer
/**
* Returns <code>true</code> if this <code>Transformer</code> was wired in
* post-processing mode; <code>false</code> otherwise.
- *
+ *
* @return <code>true</code> if this <code>Transformer</code> has been
* wired in post-processing mode; <code>false</code> otherwise.
* @throws IllegalStateException if this instance has not yet been assigned an
@@ -163,7 +163,7 @@ public abstract class Transformer
/**
* Initialises the <code>Transformer</code> for operation with specific
* characteristics.
- *
+ *
* @param attributes a set of name-value pairs that describes the desired
* future behaviour of this instance.
* @throws IllegalStateException if the instance is already initialised.
@@ -185,7 +185,7 @@ public abstract class Transformer
/**
* Returns the block-size of this <code>Transformer</code>. A value of
* <code>1</code> indicates that this instance is block-agnostic.
- *
+ *
* @return the current minimal required block size.
*/
public int currentBlockSize()
@@ -212,7 +212,7 @@ public abstract class Transformer
* Convenience method that calls the method with same name and three
* arguments, using a byte array of length <code>1</code> whose contents are
* the designated byte.
- *
+ *
* @param b the byte to process.
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
@@ -229,7 +229,7 @@ public abstract class Transformer
* Convenience method that calls the same method with three arguments. All
* bytes in <code>in</code>, starting from index position <code>0</code>
* are considered.
- *
+ *
* @param in the input data bytes.
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
@@ -244,7 +244,7 @@ public abstract class Transformer
/**
* Processes a designated number of bytes from a given byte array.
- *
+ *
* @param in the input data bytes.
* @param offset index of <code>in</code> from which to start considering
* data.
@@ -267,7 +267,7 @@ public abstract class Transformer
/**
* Convenience method that calls the same method with three arguments. A
* zero-long byte array is used.
- *
+ *
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
* @throws TransformerException if a transformation-related exception occurs
@@ -287,7 +287,7 @@ public abstract class Transformer
* Convenience method that calls the method with same name and three
* arguments, using a byte array of length <code>1</code> whose contents are
* the designated byte.
- *
+ *
* @param b the byte to process.
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
@@ -304,7 +304,7 @@ public abstract class Transformer
* Convenience method that calls the same method with three arguments. All
* bytes in <code>in</code>, starting from index position <code>0</code>
* are considered.
- *
+ *
* @param in the input data bytes.
* @return the result of transformation.
* @throws IllegalStateException if the instance is not initialised.
@@ -321,7 +321,7 @@ public abstract class Transformer
* Processes a designated number of bytes from a given byte array and signals,
* at the same time, that this is the last <i>push</i> operation on this
* <code>Transformer</code>.
- *
+ *
* @param in the input data bytes.
* @param offset index of <code>in</code> from which to start considering
* data.
diff --git a/gnu/javax/crypto/assembly/TransformerException.java b/gnu/javax/crypto/assembly/TransformerException.java
index 4e93322ef..295fded7b 100644
--- a/gnu/javax/crypto/assembly/TransformerException.java
+++ b/gnu/javax/crypto/assembly/TransformerException.java
@@ -1,4 +1,4 @@
-/* TransformerException.java --
+/* TransformerException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -95,7 +95,7 @@ public class TransformerException
* Prints this exception's stack trace to a print stream. If this exception
* has a root exception; the stack trace of the root exception is also printed
* to the print stream.
- *
+ *
* @param ps the non-null print stream to which to print.
*/
public void printStackTrace(PrintStream ps)
@@ -109,7 +109,7 @@ public class TransformerException
* Prints this exception's stack trace to a print writer. If this exception
* has a root exception; the stack trace of the root exception is also printed
* to the print writer.
- *
+ *
* @param pw the non-null print writer to use for output.
*/
public void printStackTrace(PrintWriter pw)
@@ -125,7 +125,7 @@ public class TransformerException
* and if it has a root exception, the string representation of the root
* exception. This string representation is meant for debugging and not meant
* to be interpreted programmatically.
- *
+ *
* @return the non-null string representation of this exception.
* @see Throwable#getMessage()
*/
diff --git a/gnu/javax/crypto/cipher/Anubis.java b/gnu/javax/crypto/cipher/Anubis.java
index 653957ec6..3526ad612 100644
--- a/gnu/javax/crypto/cipher/Anubis.java
+++ b/gnu/javax/crypto/cipher/Anubis.java
@@ -1,4 +1,4 @@
-/* Anubis.java --
+/* Anubis.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -315,7 +315,7 @@ public final class Anubis
/**
* Expands a user-supplied key material into a session key for a designated
* <i>block size</i>.
- *
+ *
* @param uk the 32N-bit user-supplied key material; 4 &lt;= N &lt;= 10.
* @param bs the desired block size in bytes.
* @return an Object encapsulating the session key.
diff --git a/gnu/javax/crypto/cipher/BaseCipher.java b/gnu/javax/crypto/cipher/BaseCipher.java
index bae142a63..45aa2d6fd 100644
--- a/gnu/javax/crypto/cipher/BaseCipher.java
+++ b/gnu/javax/crypto/cipher/BaseCipher.java
@@ -1,4 +1,4 @@
-/* BaseCipher.java --
+/* BaseCipher.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -72,7 +72,7 @@ public abstract class BaseCipher
/**
* Trivial constructor for use by concrete subclasses.
- *
+ *
* @param name the canonical name prefix of this instance.
* @param defaultBlockSize the default block size in bytes.
* @param defaultKeySize the default key size in bytes.
diff --git a/gnu/javax/crypto/cipher/Blowfish.java b/gnu/javax/crypto/cipher/Blowfish.java
index 68722e913..0c6d9b12b 100644
--- a/gnu/javax/crypto/cipher/Blowfish.java
+++ b/gnu/javax/crypto/cipher/Blowfish.java
@@ -1,4 +1,4 @@
-/* Blowfish.java --
+/* Blowfish.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/cipher/Cast5.java b/gnu/javax/crypto/cipher/Cast5.java
index a7521530c..47b29226f 100644
--- a/gnu/javax/crypto/cipher/Cast5.java
+++ b/gnu/javax/crypto/cipher/Cast5.java
@@ -1,4 +1,4 @@
-/* Cast5.java --
+/* Cast5.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/cipher/CipherFactory.java b/gnu/javax/crypto/cipher/CipherFactory.java
index d6bb42253..fc9023626 100644
--- a/gnu/javax/crypto/cipher/CipherFactory.java
+++ b/gnu/javax/crypto/cipher/CipherFactory.java
@@ -1,4 +1,4 @@
-/* CipherFactory.java --
+/* CipherFactory.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -58,7 +58,7 @@ public class CipherFactory
/**
* Returns an instance of a block cipher given its name.
- *
+ *
* @param name the case-insensitive name of the symmetric-key block cipher
* algorithm.
* @return an instance of the designated cipher algorithm, or
@@ -107,7 +107,7 @@ public class CipherFactory
/**
* Returns a {@link Set} of symmetric key block cipher implementation names
* supported by this <i>Factory</i>.
- *
+ *
* @return a {@link Set} of block cipher names (Strings).
*/
public static final Set getNames()
diff --git a/gnu/javax/crypto/cipher/DES.java b/gnu/javax/crypto/cipher/DES.java
index 3ced62c3f..ce538b75a 100644
--- a/gnu/javax/crypto/cipher/DES.java
+++ b/gnu/javax/crypto/cipher/DES.java
@@ -1,4 +1,4 @@
-/* DES.java --
+/* DES.java --
Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -204,7 +204,7 @@ public class DES
/**
* Weak keys (parity adjusted): If all the bits in each half are either 0
* or 1, then the key used for any cycle of the algorithm is the same as
- * all other cycles.
+ * all other cycles.
*/
public static final byte[][] WEAK_KEYS = {
Util.toBytesFromString("0101010101010101"),
diff --git a/gnu/javax/crypto/cipher/IBlockCipher.java b/gnu/javax/crypto/cipher/IBlockCipher.java
index d1e32ef65..86f8b34e0 100644
--- a/gnu/javax/crypto/cipher/IBlockCipher.java
+++ b/gnu/javax/crypto/cipher/IBlockCipher.java
@@ -1,4 +1,4 @@
-/* IBlockCipher.java --
+/* IBlockCipher.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -88,21 +88,21 @@ public interface IBlockCipher
/**
* Returns the canonical name of this instance.
- *
+ *
* @return the canonical name of this instance.
*/
String name();
/**
* Returns the default value, in bytes, of the algorithm's block size.
- *
+ *
* @return the default value, in bytes, of the algorithm's block size.
*/
int defaultBlockSize();
/**
* Returns the default value, in bytes, of the algorithm's key size.
- *
+ *
* @return the default value, in bytes, of the algorithm's key size.
*/
int defaultKeySize();
@@ -110,7 +110,7 @@ public interface IBlockCipher
/**
* Returns an {@link Iterator} over the supported block sizes. Each element
* returned by this object is an {@link Integer}.
- *
+ *
* @return an {@link Iterator} over the supported block sizes.
*/
Iterator blockSizes();
@@ -118,14 +118,14 @@ public interface IBlockCipher
/**
* Returns an {@link Iterator} over the supported key sizes. Each element
* returned by this object is an {@link Integer}.
- *
+ *
* @return an {@link Iterator} over the supported key sizes.
*/
Iterator keySizes();
/**
* Returns a clone of this instance.
- *
+ *
* @return a clone copy of this instance.
*/
Object clone();
@@ -133,7 +133,7 @@ public interface IBlockCipher
/**
* Initialises the algorithm with designated attributes. Permissible names and
* values are described in the class documentation above.
- *
+ *
* @param attributes a set of name-value pairs that describes the desired
* future behaviour of this instance.
* @exception InvalidKeyException if the key data is invalid.
@@ -145,7 +145,7 @@ public interface IBlockCipher
/**
* Returns the currently set block size for this instance.
- *
+ *
* @return the current block size for this instance.
* @exception IllegalStateException if the instance is not initialised.
*/
@@ -159,7 +159,7 @@ public interface IBlockCipher
/**
* Encrypts exactly one block of plaintext.
- *
+ *
* @param in the plaintext.
* @param inOffset index of <code>in</code> from which to start considering
* data.
@@ -172,7 +172,7 @@ public interface IBlockCipher
/**
* Decrypts exactly one block of ciphertext.
- *
+ *
* @param in the plaintext.
* @param inOffset index of <code>in</code> from which to start considering
* data.
@@ -187,7 +187,7 @@ public interface IBlockCipher
* A <i>correctness</i> test that consists of basic symmetric encryption /
* decryption test(s) for all supported block and key sizes, as well as one
* (1) variable key Known Answer Test (KAT).
- *
+ *
* @return <code>true</code> if the implementation passes simple
* <i>correctness</i> tests. Returns <code>false</code> otherwise.
*/
diff --git a/gnu/javax/crypto/cipher/IBlockCipherSpi.java b/gnu/javax/crypto/cipher/IBlockCipherSpi.java
index 1023b12d8..9b2172158 100644
--- a/gnu/javax/crypto/cipher/IBlockCipherSpi.java
+++ b/gnu/javax/crypto/cipher/IBlockCipherSpi.java
@@ -1,4 +1,4 @@
-/* IBlockCipherSpi.java --
+/* IBlockCipherSpi.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -51,7 +51,7 @@ interface IBlockCipherSpi
/**
* Returns an {@link Iterator} over the supported block sizes. Each element
* returned by this object is a {@link java.lang.Integer}.
- *
+ *
* @return an <code>Iterator</code> over the supported block sizes.
*/
Iterator blockSizes();
@@ -59,7 +59,7 @@ interface IBlockCipherSpi
/**
* Returns an {@link Iterator} over the supported key sizes. Each element
* returned by this object is a {@link java.lang.Integer}.
- *
+ *
* @return an <code>Iterator</code> over the supported key sizes.
*/
Iterator keySizes();
@@ -67,7 +67,7 @@ interface IBlockCipherSpi
/**
* Expands a user-supplied key material into a session key for a designated
* <i>block size</i>.
- *
+ *
* @param k the user-supplied key material.
* @param bs the desired block size in bytes.
* @return an Object encapsulating the session key.
@@ -78,7 +78,7 @@ interface IBlockCipherSpi
/**
* Encrypts exactly one block of plaintext.
- *
+ *
* @param in the plaintext.
* @param inOffset index of <code>in</code> from which to start considering
* data.
@@ -96,7 +96,7 @@ interface IBlockCipherSpi
/**
* Decrypts exactly one block of ciphertext.
- *
+ *
* @param in the ciphertext.
* @param inOffset index of <code>in</code> from which to start considering
* data.
@@ -116,7 +116,7 @@ interface IBlockCipherSpi
* A <i>correctness</i> test that consists of basic symmetric encryption /
* decryption test(s) for all supported block and key sizes, as well as one
* (1) variable key Known Answer Test (KAT).
- *
+ *
* @return <code>true</code> if the implementation passes simple
* <i>correctness</i> tests. Returns <code>false</code> otherwise.
*/
diff --git a/gnu/javax/crypto/cipher/Khazad.java b/gnu/javax/crypto/cipher/Khazad.java
index 491301f5a..55e42628b 100644
--- a/gnu/javax/crypto/cipher/Khazad.java
+++ b/gnu/javax/crypto/cipher/Khazad.java
@@ -1,4 +1,4 @@
-/* Khazad.java --
+/* Khazad.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -317,7 +317,7 @@ public final class Khazad
/**
* Expands a user-supplied key material into a session key for a designated
* <i>block size</i>.
- *
+ *
* @param uk the 128-bit user-supplied key material.
* @param bs the desired block size in bytes.
* @return an Object encapsulating the session key.
diff --git a/gnu/javax/crypto/cipher/NullCipher.java b/gnu/javax/crypto/cipher/NullCipher.java
index 451555954..f23ea489f 100644
--- a/gnu/javax/crypto/cipher/NullCipher.java
+++ b/gnu/javax/crypto/cipher/NullCipher.java
@@ -1,4 +1,4 @@
-/* NullCipher.java --
+/* NullCipher.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/cipher/Rijndael.java b/gnu/javax/crypto/cipher/Rijndael.java
index d1bc958c3..0463fe51d 100644
--- a/gnu/javax/crypto/cipher/Rijndael.java
+++ b/gnu/javax/crypto/cipher/Rijndael.java
@@ -1,4 +1,4 @@
-/* Rijndael.java --
+/* Rijndael.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -305,7 +305,7 @@ public final class Rijndael
/**
* Returns the number of rounds for a given Rijndael's key and block sizes.
- *
+ *
* @param ks the size of the user key material in bytes.
* @param bs the desired block size in bytes.
* @return the number of rounds for a given Rijndael's key and block sizes.
@@ -591,7 +591,7 @@ public final class Rijndael
/**
* Expands a user-supplied key material into a session key for a designated
* <i>block size</i>.
- *
+ *
* @param k the 128/192/256-bit user-key to use.
* @param bs the block size in bytes of this Rijndael.
* @return an Object encapsulating the session key.
diff --git a/gnu/javax/crypto/cipher/Serpent.java b/gnu/javax/crypto/cipher/Serpent.java
index 636e311e7..1175fcfd2 100644
--- a/gnu/javax/crypto/cipher/Serpent.java
+++ b/gnu/javax/crypto/cipher/Serpent.java
@@ -1,4 +1,4 @@
-/* Serpent.java --
+/* Serpent.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/cipher/Square.java b/gnu/javax/crypto/cipher/Square.java
index af738da04..231df0a47 100644
--- a/gnu/javax/crypto/cipher/Square.java
+++ b/gnu/javax/crypto/cipher/Square.java
@@ -1,4 +1,4 @@
-/* Square.java --
+/* Square.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -271,7 +271,7 @@ public final class Square
/**
* Left rotate a 32-bit chunk.
- *
+ *
* @param x the 32-bit data to rotate
* @param s number of places to left-rotate by
* @return the newly permutated value.
@@ -283,7 +283,7 @@ public final class Square
/**
* Right rotate a 32-bit chunk.
- *
+ *
* @param x the 32-bit data to rotate
* @param s number of places to right-rotate by
* @return the newly permutated value.
@@ -299,7 +299,7 @@ public final class Square
* Field in GF(2**8).
* <p>
* For best performance call it with abs(b) &lt; abs(a).
- *
+ *
* @param a operand for multiply.
* @param b operand for multiply.
* @return the result of (a * b) % ROOT.
diff --git a/gnu/javax/crypto/cipher/TripleDES.java b/gnu/javax/crypto/cipher/TripleDES.java
index 1e98bfc83..1d684c20a 100644
--- a/gnu/javax/crypto/cipher/TripleDES.java
+++ b/gnu/javax/crypto/cipher/TripleDES.java
@@ -1,4 +1,4 @@
-/* TripleDES.java --
+/* TripleDES.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -96,7 +96,7 @@ public class TripleDES
/**
* Convenience method which calls the method with same name and three
* arguments, passing <code>3</code> as the value of the first parameter.
- *
+ *
* @param kb The key bytes to adjust.
* @param offset The starting offset into the key bytes.
*/
@@ -108,7 +108,7 @@ public class TripleDES
/**
* Adjusts, in-situ, the parity of the designated bytes, so they can be used
* as DES keys for a 3-DES 1-, 2- or 3-key cipher.
- *
+ *
* @param keyCount the number of independent DES keys. Can be either
* <code>1</code>, <code>2</code> or <code>3</code>. Any other value
* will cause an {@link IllegalArgumentException} to be raised.
@@ -133,7 +133,7 @@ public class TripleDES
/**
* Convenience method which calls the method with same name and three
* arguments, passing <code>3</code> as the value of the first parameter.
- *
+ *
* @param kb The key bytes to test.
* @param offset The starting offset into the key bytes.
* @return <code>true</code> if the bytes in <i>kb</i> starting at
@@ -150,7 +150,7 @@ public class TripleDES
* Tests if enough bytes, expected to be used as DES keys for a 3-DES 1-, 2-
* or 3-key cipher, located in a designated byte array, has already been
* parity adjusted.
- *
+ *
* @param keyCount the number of independent DES keys. Can be either
* <code>1</code>, <code>2</code> or <code>3</code>. Any other value
* will cause an {@link IllegalArgumentException} to be raised.
diff --git a/gnu/javax/crypto/cipher/Twofish.java b/gnu/javax/crypto/cipher/Twofish.java
index b69324428..c9789a699 100644
--- a/gnu/javax/crypto/cipher/Twofish.java
+++ b/gnu/javax/crypto/cipher/Twofish.java
@@ -1,4 +1,4 @@
-/* Twofish.java --
+/* Twofish.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/cipher/WeakKeyException.java b/gnu/javax/crypto/cipher/WeakKeyException.java
index f89ff54d1..e12f899e4 100644
--- a/gnu/javax/crypto/cipher/WeakKeyException.java
+++ b/gnu/javax/crypto/cipher/WeakKeyException.java
@@ -1,4 +1,4 @@
-/* WeakKeyException.java --
+/* WeakKeyException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/DiffieHellmanImpl.java b/gnu/javax/crypto/jce/DiffieHellmanImpl.java
index 6a65437d6..205b5ed57 100644
--- a/gnu/javax/crypto/jce/DiffieHellmanImpl.java
+++ b/gnu/javax/crypto/jce/DiffieHellmanImpl.java
@@ -54,7 +54,7 @@ import javax.crypto.spec.SecretKeySpec;
/**
* The JCE implementation of a 2-party Diffie-Hellman key agreement.
- *
+ *
* @author Casey Marshall (csm@gnu.org)
*/
public final class DiffieHellmanImpl
diff --git a/gnu/javax/crypto/jce/GnuCrypto.java b/gnu/javax/crypto/jce/GnuCrypto.java
index 8099fd13d..ec335b735 100644
--- a/gnu/javax/crypto/jce/GnuCrypto.java
+++ b/gnu/javax/crypto/jce/GnuCrypto.java
@@ -1,4 +1,4 @@
-/* GnuCrypto.java --
+/* GnuCrypto.java --
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -51,7 +51,7 @@ import java.util.Set;
/**
* The additional GNU algorithm implementation as a Java Cryptographic Extension
* (JCE) Provider.
- *
+ *
* @see java.security.Provider
*/
public final class GnuCrypto
@@ -574,7 +574,7 @@ public final class GnuCrypto
/**
* Returns a {@link Set} of names of symmetric key block cipher algorithms
* available from this {@link Provider}.
- *
+ *
* @return a {@link Set} of cipher names (Strings).
*/
public static final Set getCipherNames()
@@ -588,7 +588,7 @@ public final class GnuCrypto
/**
* Returns a {@link Set} of names of MAC algorithms available from this
* {@link Provider}.
- *
+ *
* @return a {@link Set} of MAC names (Strings).
*/
public static final Set getMacNames()
diff --git a/gnu/javax/crypto/jce/GnuSasl.java b/gnu/javax/crypto/jce/GnuSasl.java
index 923b40a5f..6ab89e2fa 100644
--- a/gnu/javax/crypto/jce/GnuSasl.java
+++ b/gnu/javax/crypto/jce/GnuSasl.java
@@ -103,7 +103,7 @@ public final class GnuSasl
/**
* Returns a {@link Set} of names of SASL Client mechanisms available from
* this {@link Provider}.
- *
+ *
* @return a {@link Set} of SASL Client mechanisms (Strings).
*/
public static final Set getSaslClientMechanismNames()
@@ -114,7 +114,7 @@ public final class GnuSasl
/**
* Returns a {@link Set} of names of SASL Server mechanisms available from
* this {@link Provider}.
- *
+ *
* @return a {@link Set} of SASL Server mechanisms (Strings).
*/
public static final Set getSaslServerMechanismNames()
diff --git a/gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java b/gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java
index be7fb18b0..cda8f34e8 100644
--- a/gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java
+++ b/gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java
@@ -1,4 +1,4 @@
-/* PBKDF2SecretKeyFactory.java --
+/* PBKDF2SecretKeyFactory.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java b/gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java
index 973f5890b..08f4e7820 100644
--- a/gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java
+++ b/gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java
@@ -56,7 +56,7 @@ abstract class AESKeyWrapSpi
* <p>
* In wrapping, the number of 8-byte output blocks is ALWAYS one block longer
* than the input.
- *
+ *
* @param inputLength the size of the plain text.
* @return the size in bytes of <code>n + 1</code> 8-byte blocks where
* <code>n</code> is the smallest number of 8-byte blocks that contain the
@@ -74,7 +74,7 @@ abstract class AESKeyWrapSpi
* <p>
* In unwrapping, the number of 8-byte output blocks is ALWAYS one block
* shorter than the input.
- *
+ *
* @param inputLength the size of the cipher text.
* @return the size in bytes of <code>n - 1</code> 8-byte blocks where
* <code>n</code> is the smallest number of 8-byte blocks that contain the
diff --git a/gnu/javax/crypto/jce/cipher/AESSpi.java b/gnu/javax/crypto/jce/cipher/AESSpi.java
index 1322e5e8a..4c3e1aecc 100644
--- a/gnu/javax/crypto/jce/cipher/AESSpi.java
+++ b/gnu/javax/crypto/jce/cipher/AESSpi.java
@@ -1,4 +1,4 @@
-/* AESSpi.java --
+/* AESSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/ARCFourSpi.java b/gnu/javax/crypto/jce/cipher/ARCFourSpi.java
index abcb486b5..2e1422e6b 100644
--- a/gnu/javax/crypto/jce/cipher/ARCFourSpi.java
+++ b/gnu/javax/crypto/jce/cipher/ARCFourSpi.java
@@ -1,4 +1,4 @@
-/* ARCFourSpi.java --
+/* ARCFourSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/AnubisSpi.java b/gnu/javax/crypto/jce/cipher/AnubisSpi.java
index e35e4e724..ab0c64867 100644
--- a/gnu/javax/crypto/jce/cipher/AnubisSpi.java
+++ b/gnu/javax/crypto/jce/cipher/AnubisSpi.java
@@ -1,4 +1,4 @@
-/* AnubisSpi.java --
+/* AnubisSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/BlowfishSpi.java b/gnu/javax/crypto/jce/cipher/BlowfishSpi.java
index fec200ca6..55d71dbf5 100644
--- a/gnu/javax/crypto/jce/cipher/BlowfishSpi.java
+++ b/gnu/javax/crypto/jce/cipher/BlowfishSpi.java
@@ -1,4 +1,4 @@
-/* BlowfishSpi.java --
+/* BlowfishSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/Cast5Spi.java b/gnu/javax/crypto/jce/cipher/Cast5Spi.java
index bf0803400..95a663e2f 100644
--- a/gnu/javax/crypto/jce/cipher/Cast5Spi.java
+++ b/gnu/javax/crypto/jce/cipher/Cast5Spi.java
@@ -1,4 +1,4 @@
-/* Cast5Spi.java --
+/* Cast5Spi.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/CipherAdapter.java b/gnu/javax/crypto/jce/cipher/CipherAdapter.java
index 0863b1f1c..0871c5402 100644
--- a/gnu/javax/crypto/jce/cipher/CipherAdapter.java
+++ b/gnu/javax/crypto/jce/cipher/CipherAdapter.java
@@ -1,4 +1,4 @@
-/* CipherAdapter.java --
+/* CipherAdapter.java --
Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -110,7 +110,7 @@ class CipherAdapter
* should be the appropriate one listed in {@link Registry}. The basic cipher
* instance is created, along with an instance of the
* {@link gnu.javax.crypto.mode.ECB} mode and no padding.
- *
+ *
* @param cipherName The cipher to instantiate.
* @param blockLen The block length to use.
*/
@@ -125,7 +125,7 @@ class CipherAdapter
/**
* Creates a new cipher adapter with the default block size.
- *
+ *
* @param cipherName The cipher to instantiate.
*/
protected CipherAdapter(String cipherName)
@@ -236,7 +236,7 @@ class CipherAdapter
/**
* Executes initialization logic after all parameters have been handled by the
* engineInit()s.
- *
+ *
* @param opmode the desired mode of operation for this instance.
* @param key the key material to use for initialization.
* @param random a source of randmoness to use if/when needed.
@@ -288,7 +288,7 @@ class CipherAdapter
// cipher, that is less than or equal to the length of the kb array.
// set keyLen to kbLength. either the cipher implementation will throw
// an InvalidKeyException, or it is implemented in a way which can deal
- // with an unsupported key-size.
+ // with an unsupported key-size.
keyLen = kbLength;
}
if (keyLen < kbLength)
@@ -348,7 +348,7 @@ class CipherAdapter
{
throw new InvalidAlgorithmParameterException();
}
-
+
attributes.put(IMode.IV, ((IvParameterSpec) params).getIV());
blockLen = cipher.defaultBlockSize();
attributes.put(IBlockCipher.CIPHER_BLOCK_SIZE, Integer.valueOf(blockLen));
diff --git a/gnu/javax/crypto/jce/cipher/DESSpi.java b/gnu/javax/crypto/jce/cipher/DESSpi.java
index 21f62b4f0..0da913a44 100644
--- a/gnu/javax/crypto/jce/cipher/DESSpi.java
+++ b/gnu/javax/crypto/jce/cipher/DESSpi.java
@@ -1,4 +1,4 @@
-/* DESSpi.java --
+/* DESSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java b/gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java
index 03356a236..97fdd5331 100644
--- a/gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java
+++ b/gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java
@@ -94,7 +94,7 @@ abstract class KeyWrappingAlgorithmAdapter
/**
* Creates a new JCE Adapter for the designated Key Wrapping Algorithm name.
- *
+ *
* @param name the canonical name of the key-wrapping algorithm.
* @param blockSize the block size in bytes of the underlying symmetric-key
* block cipher algorithm.
@@ -116,7 +116,7 @@ abstract class KeyWrappingAlgorithmAdapter
/**
* Wraps the encoded form of a designated {@link Key}.
- *
+ *
* @param key the key-material to wrap.
* @return the wrapped key.
* @throws InvalidKeyException If the key cannot be wrapped.
@@ -131,7 +131,7 @@ abstract class KeyWrappingAlgorithmAdapter
/**
* Unwraps a previously-wrapped key-material.
- *
+ *
* @param wrappedKey the wrapped key-material to unwrap.
* @param wrappedKeyAlgorithm the canonical name of the algorithm, which the
* unwrapped key-material represents. This name is used to
@@ -286,7 +286,7 @@ abstract class KeyWrappingAlgorithmAdapter
ivBytes = ((BlockCipherParameterSpec) params).getIV();
else if (params instanceof IvParameterSpec)
ivBytes = ((IvParameterSpec) params).getIV();
-
+
initAlgorithm(opmode, kekBytes, ivBytes, random);
}
@@ -341,7 +341,7 @@ abstract class KeyWrappingAlgorithmAdapter
* <code>kwaBlockSize</code> --passed to this method through its
* constructor-- greater than or equal to the designated
* <code>inputLength</code>.
- *
+ *
* @param inputLength the size of a plain text.
* @return an estimate of the size, in bytes, of the place holder to receive
* the resulting bytes of a wrap method.
@@ -360,7 +360,7 @@ abstract class KeyWrappingAlgorithmAdapter
* <code>paddingBlockSize</code> --passed to this method through its
* constructor-- greater than or equal to the designated
* <code>inputLength</code>.
- *
+ *
* @param inputLength the size of a cipher text.
* @return an estimate of the size, in bytes, of the place holder to receive
* the resulting bytes of an uwrap method.
@@ -383,7 +383,7 @@ abstract class KeyWrappingAlgorithmAdapter
/**
* Returns the key bytes, iff it was in RAW format.
- *
+ *
* @param key the opaque JCE secret key to use as the KEK.
* @return the bytes of the encoded form of the designated kek, iff it was in
* RAW format.
diff --git a/gnu/javax/crypto/jce/cipher/KhazadSpi.java b/gnu/javax/crypto/jce/cipher/KhazadSpi.java
index 6e744a2f2..df0833fb5 100644
--- a/gnu/javax/crypto/jce/cipher/KhazadSpi.java
+++ b/gnu/javax/crypto/jce/cipher/KhazadSpi.java
@@ -1,4 +1,4 @@
-/* KhazadSpi.java --
+/* KhazadSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/NullCipherSpi.java b/gnu/javax/crypto/jce/cipher/NullCipherSpi.java
index e50e00c8e..70ff575da 100644
--- a/gnu/javax/crypto/jce/cipher/NullCipherSpi.java
+++ b/gnu/javax/crypto/jce/cipher/NullCipherSpi.java
@@ -1,4 +1,4 @@
-/* NullCipherSpi.java --
+/* NullCipherSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/PBES2.java b/gnu/javax/crypto/jce/cipher/PBES2.java
index 26a6a2c2d..9961c15b1 100644
--- a/gnu/javax/crypto/jce/cipher/PBES2.java
+++ b/gnu/javax/crypto/jce/cipher/PBES2.java
@@ -1,4 +1,4 @@
-/* PBES2.java --
+/* PBES2.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/RijndaelSpi.java b/gnu/javax/crypto/jce/cipher/RijndaelSpi.java
index ad61bca59..f25aca028 100644
--- a/gnu/javax/crypto/jce/cipher/RijndaelSpi.java
+++ b/gnu/javax/crypto/jce/cipher/RijndaelSpi.java
@@ -1,4 +1,4 @@
-/* RijndaelSpi.java --
+/* RijndaelSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/SerpentSpi.java b/gnu/javax/crypto/jce/cipher/SerpentSpi.java
index fa65d34a9..1f17b18c8 100644
--- a/gnu/javax/crypto/jce/cipher/SerpentSpi.java
+++ b/gnu/javax/crypto/jce/cipher/SerpentSpi.java
@@ -1,4 +1,4 @@
-/* SerpentSpi.java --
+/* SerpentSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/SquareSpi.java b/gnu/javax/crypto/jce/cipher/SquareSpi.java
index bdc656eae..d08aa2cd3 100644
--- a/gnu/javax/crypto/jce/cipher/SquareSpi.java
+++ b/gnu/javax/crypto/jce/cipher/SquareSpi.java
@@ -1,4 +1,4 @@
-/* SquareSpi.java --
+/* SquareSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/TripleDESSpi.java b/gnu/javax/crypto/jce/cipher/TripleDESSpi.java
index b9ec12b51..c22409020 100644
--- a/gnu/javax/crypto/jce/cipher/TripleDESSpi.java
+++ b/gnu/javax/crypto/jce/cipher/TripleDESSpi.java
@@ -1,4 +1,4 @@
-/* TripleDESSpi.java --
+/* TripleDESSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/cipher/TwofishSpi.java b/gnu/javax/crypto/jce/cipher/TwofishSpi.java
index 206e0d9f8..a1bbe4b71 100644
--- a/gnu/javax/crypto/jce/cipher/TwofishSpi.java
+++ b/gnu/javax/crypto/jce/cipher/TwofishSpi.java
@@ -1,4 +1,4 @@
-/* TwofishSpi.java --
+/* TwofishSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java b/gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java
index bea65a6c6..dc99b332b 100644
--- a/gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java
+++ b/gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java
@@ -1,4 +1,4 @@
-/* AnubisSecretKeyFactoryImpl.java --
+/* AnubisSecretKeyFactoryImpl.java --
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java b/gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java
index 53fe8b0b4..8d964bb96 100644
--- a/gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java
+++ b/gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java
@@ -1,4 +1,4 @@
-/* BlowfishSecretKeyFactoryImpl.java --
+/* BlowfishSecretKeyFactoryImpl.java --
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java b/gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java
index fcebb528e..f2681eda1 100644
--- a/gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java
+++ b/gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java
@@ -1,4 +1,4 @@
-/* Cast5SecretKeyFactoryImpl.java --
+/* Cast5SecretKeyFactoryImpl.java --
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java b/gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java
index 257c0a243..d2acf8716 100644
--- a/gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java
+++ b/gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java
@@ -97,8 +97,8 @@ public class SecretKeyGeneratorImpl
{
keySize >>>= 3; // Use bytes.
if (! keySizes.contains(Integer.valueOf(keySize)))
- throw new InvalidParameterException("unsupported key size: " + keySize
- + ", valid sizes are: " + keySizes);
+ throw new InvalidParameterException("unsupported key size: " + keySize
+ + ", valid sizes are: " + keySizes);
currentKeySize = keySize;
this.random = random;
init = true;
diff --git a/gnu/javax/crypto/jce/keyring/GnuKeyring.java b/gnu/javax/crypto/jce/keyring/GnuKeyring.java
index 4fcf2fde7..c30da69a2 100644
--- a/gnu/javax/crypto/jce/keyring/GnuKeyring.java
+++ b/gnu/javax/crypto/jce/keyring/GnuKeyring.java
@@ -263,7 +263,7 @@ public class GnuKeyring
result = privateKR.getPublicKey(alias);
}
else if (privateKR.containsPrivateKey(alias))
- result = privateKR.getPrivateKey(alias, password);
+ result = privateKR.getPrivateKey(alias, password);
if (Configuration.DEBUG)
log.exiting(this.getClass().getName(), "engineGetKey",
@@ -400,7 +400,7 @@ public class GnuKeyring
/**
* Load the private keyring from the designated input stream.
- *
+ *
* @param in the input stream to process.
* @param password the password protecting the keyring.
* @throws MalformedKeyringException if the keyring is not a private one.
@@ -433,7 +433,7 @@ public class GnuKeyring
/**
* Load the public keyring from the designated input stream.
- *
+ *
* @param in the input stream to process.
* @param password the password protecting the keyring.
* @throws MalformedKeyringException if the keyring is not a public one.
@@ -466,7 +466,7 @@ public class GnuKeyring
/**
* Return the creation date of a named alias in a designated keyring.
- *
+ *
* @param alias the alias to look for.
* @param keyring the keyring to search.
* @return the creattion date of the entry named <code>alias</code>. Return
diff --git a/gnu/javax/crypto/jce/mac/HMacHavalSpi.java b/gnu/javax/crypto/jce/mac/HMacHavalSpi.java
index 2967ee900..fc5f3b578 100644
--- a/gnu/javax/crypto/jce/mac/HMacHavalSpi.java
+++ b/gnu/javax/crypto/jce/mac/HMacHavalSpi.java
@@ -1,4 +1,4 @@
-/* HMacHavalSpi.java --
+/* HMacHavalSpi.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacMD2Spi.java b/gnu/javax/crypto/jce/mac/HMacMD2Spi.java
index dd6485866..c50feb8cf 100644
--- a/gnu/javax/crypto/jce/mac/HMacMD2Spi.java
+++ b/gnu/javax/crypto/jce/mac/HMacMD2Spi.java
@@ -1,4 +1,4 @@
-/* HMacMD2Spi.java --
+/* HMacMD2Spi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacMD4Spi.java b/gnu/javax/crypto/jce/mac/HMacMD4Spi.java
index 939851ff5..c0eae5b22 100644
--- a/gnu/javax/crypto/jce/mac/HMacMD4Spi.java
+++ b/gnu/javax/crypto/jce/mac/HMacMD4Spi.java
@@ -1,4 +1,4 @@
-/* HMacMD4Spi.java --
+/* HMacMD4Spi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacMD5Spi.java b/gnu/javax/crypto/jce/mac/HMacMD5Spi.java
index e89fbfdba..78e884761 100644
--- a/gnu/javax/crypto/jce/mac/HMacMD5Spi.java
+++ b/gnu/javax/crypto/jce/mac/HMacMD5Spi.java
@@ -1,4 +1,4 @@
-/* HMacMD5Spi.java --
+/* HMacMD5Spi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java b/gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java
index 834ec849a..b5835177c 100644
--- a/gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java
+++ b/gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java
@@ -1,4 +1,4 @@
-/* HMacRipeMD128Spi.java --
+/* HMacRipeMD128Spi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java b/gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java
index b973ea186..4d7c6caec 100644
--- a/gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java
+++ b/gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java
@@ -1,4 +1,4 @@
-/* HMacRipeMD160Spi.java --
+/* HMacRipeMD160Spi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacSHA160Spi.java b/gnu/javax/crypto/jce/mac/HMacSHA160Spi.java
index 524aa8233..1c7c9443d 100644
--- a/gnu/javax/crypto/jce/mac/HMacSHA160Spi.java
+++ b/gnu/javax/crypto/jce/mac/HMacSHA160Spi.java
@@ -1,4 +1,4 @@
-/* HMacSHA160Spi.java --
+/* HMacSHA160Spi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacSHA256Spi.java b/gnu/javax/crypto/jce/mac/HMacSHA256Spi.java
index 4b0493bc6..7d7c91de6 100644
--- a/gnu/javax/crypto/jce/mac/HMacSHA256Spi.java
+++ b/gnu/javax/crypto/jce/mac/HMacSHA256Spi.java
@@ -1,4 +1,4 @@
-/* HMacSHA256Spi.java --
+/* HMacSHA256Spi.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacSHA384Spi.java b/gnu/javax/crypto/jce/mac/HMacSHA384Spi.java
index 92a5c9d2c..b66b0f0f3 100644
--- a/gnu/javax/crypto/jce/mac/HMacSHA384Spi.java
+++ b/gnu/javax/crypto/jce/mac/HMacSHA384Spi.java
@@ -1,4 +1,4 @@
-/* HMacSHA384Spi.java --
+/* HMacSHA384Spi.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacSHA512Spi.java b/gnu/javax/crypto/jce/mac/HMacSHA512Spi.java
index f1ecd02e5..c825a14e9 100644
--- a/gnu/javax/crypto/jce/mac/HMacSHA512Spi.java
+++ b/gnu/javax/crypto/jce/mac/HMacSHA512Spi.java
@@ -1,4 +1,4 @@
-/* HMacSHA512Spi.java --
+/* HMacSHA512Spi.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacTigerSpi.java b/gnu/javax/crypto/jce/mac/HMacTigerSpi.java
index 2d417ef4c..0d979f08f 100644
--- a/gnu/javax/crypto/jce/mac/HMacTigerSpi.java
+++ b/gnu/javax/crypto/jce/mac/HMacTigerSpi.java
@@ -1,4 +1,4 @@
-/* HMacTigerSpi.java --
+/* HMacTigerSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java b/gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java
index 1b936d71a..6dde69b7e 100644
--- a/gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java
+++ b/gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java
@@ -1,4 +1,4 @@
-/* HMacWhirlpoolSpi.java --
+/* HMacWhirlpoolSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/MacAdapter.java b/gnu/javax/crypto/jce/mac/MacAdapter.java
index d8c800ac7..cb3d934fa 100644
--- a/gnu/javax/crypto/jce/mac/MacAdapter.java
+++ b/gnu/javax/crypto/jce/mac/MacAdapter.java
@@ -1,4 +1,4 @@
-/* MacAdapter.java --
+/* MacAdapter.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -69,7 +69,7 @@ class MacAdapter
/**
* Creates a new Mac instance for the given name.
- *
+ *
* @param name The name of the mac to create.
*/
protected MacAdapter(String name)
@@ -80,7 +80,7 @@ class MacAdapter
/**
* Private constructor for cloning purposes.
- *
+ *
* @param mac a clone of the internal {@link IMac} instance.
* @param attributes a clone of the current {@link Map} of attributes.
*/
diff --git a/gnu/javax/crypto/jce/mac/TMMH16Spi.java b/gnu/javax/crypto/jce/mac/TMMH16Spi.java
index 8a40f6e70..d610cc0c2 100644
--- a/gnu/javax/crypto/jce/mac/TMMH16Spi.java
+++ b/gnu/javax/crypto/jce/mac/TMMH16Spi.java
@@ -1,4 +1,4 @@
-/* TMMH16Spi.java --
+/* TMMH16Spi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/UHash32Spi.java b/gnu/javax/crypto/jce/mac/UHash32Spi.java
index 825edc173..c6784d633 100644
--- a/gnu/javax/crypto/jce/mac/UHash32Spi.java
+++ b/gnu/javax/crypto/jce/mac/UHash32Spi.java
@@ -1,4 +1,4 @@
-/* UHash32Spi.java --
+/* UHash32Spi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/mac/UMac32Spi.java b/gnu/javax/crypto/jce/mac/UMac32Spi.java
index fc05e5321..85c859c38 100644
--- a/gnu/javax/crypto/jce/mac/UMac32Spi.java
+++ b/gnu/javax/crypto/jce/mac/UMac32Spi.java
@@ -1,4 +1,4 @@
-/* UMac32Spi.java --
+/* UMac32Spi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/params/BlockCipherParameters.java b/gnu/javax/crypto/jce/params/BlockCipherParameters.java
index a85c96223..fde83b1f3 100644
--- a/gnu/javax/crypto/jce/params/BlockCipherParameters.java
+++ b/gnu/javax/crypto/jce/params/BlockCipherParameters.java
@@ -1,4 +1,4 @@
-/* BlockCipherParameters.java --
+/* BlockCipherParameters.java --
Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -74,7 +74,7 @@ public class BlockCipherParameters
* keySize INTEGER,
* initializationVector OCTET STRING OPTIONAL }
* </pre>
- *
+ *
* @return The parameters, encoded an an ASN.1 DER sequence.
* @throws java.io.IOException If encoding these parameters fails.
*/
diff --git a/gnu/javax/crypto/jce/params/DEREncodingException.java b/gnu/javax/crypto/jce/params/DEREncodingException.java
index b89ceda9f..436f5d4cd 100644
--- a/gnu/javax/crypto/jce/params/DEREncodingException.java
+++ b/gnu/javax/crypto/jce/params/DEREncodingException.java
@@ -1,4 +1,4 @@
-/* DEREncodingException.java --
+/* DEREncodingException.java --
Copyright (C) 1999, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/params/DERReader.java b/gnu/javax/crypto/jce/params/DERReader.java
index 68c680279..9fc1e2cd7 100644
--- a/gnu/javax/crypto/jce/params/DERReader.java
+++ b/gnu/javax/crypto/jce/params/DERReader.java
@@ -1,4 +1,4 @@
-/* DERReader.java --
+/* DERReader.java --
Copyright (C) 1999, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/params/DERWriter.java b/gnu/javax/crypto/jce/params/DERWriter.java
index 7bdea10c5..7553e20d2 100644
--- a/gnu/javax/crypto/jce/params/DERWriter.java
+++ b/gnu/javax/crypto/jce/params/DERWriter.java
@@ -1,4 +1,4 @@
-/* DERWriter.java --
+/* DERWriter.java --
Copyright (C) 1999, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java b/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java
index 1129d5dfb..3816fb648 100644
--- a/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java
+++ b/gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java
@@ -1,4 +1,4 @@
-/* ARCFourRandomSpi.java --
+/* ARCFourRandomSpi.java --
Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/prng/CSPRNGSpi.java b/gnu/javax/crypto/jce/prng/CSPRNGSpi.java
index 96d66f052..9a893af9d 100644
--- a/gnu/javax/crypto/jce/prng/CSPRNGSpi.java
+++ b/gnu/javax/crypto/jce/prng/CSPRNGSpi.java
@@ -1,4 +1,4 @@
-/* CSPRNGSpi.java --
+/* CSPRNGSpi.java --
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/prng/FortunaImpl.java b/gnu/javax/crypto/jce/prng/FortunaImpl.java
index b18410c09..d2073b98d 100644
--- a/gnu/javax/crypto/jce/prng/FortunaImpl.java
+++ b/gnu/javax/crypto/jce/prng/FortunaImpl.java
@@ -62,8 +62,8 @@ public final class FortunaImpl
{
synchronized (adaptee)
{
- if (virgin)
- {
+ if (virgin)
+ {
adaptee.init (Collections.singletonMap (Fortuna.SEED, seed));
virgin = false;
}
diff --git a/gnu/javax/crypto/jce/prng/ICMRandomSpi.java b/gnu/javax/crypto/jce/prng/ICMRandomSpi.java
index a02fd147e..bbd5d4768 100644
--- a/gnu/javax/crypto/jce/prng/ICMRandomSpi.java
+++ b/gnu/javax/crypto/jce/prng/ICMRandomSpi.java
@@ -1,4 +1,4 @@
-/* ICMRandomSpi.java --
+/* ICMRandomSpi.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/prng/UMacRandomSpi.java b/gnu/javax/crypto/jce/prng/UMacRandomSpi.java
index 2faebe8eb..910e65c70 100644
--- a/gnu/javax/crypto/jce/prng/UMacRandomSpi.java
+++ b/gnu/javax/crypto/jce/prng/UMacRandomSpi.java
@@ -1,4 +1,4 @@
-/* UMacRandomSpi.java --
+/* UMacRandomSpi.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/jce/sig/DHParameters.java b/gnu/javax/crypto/jce/sig/DHParameters.java
index a917e2230..cc656d2c8 100644
--- a/gnu/javax/crypto/jce/sig/DHParameters.java
+++ b/gnu/javax/crypto/jce/sig/DHParameters.java
@@ -92,8 +92,8 @@ public class DHParameters
/**
* Decodes the set of DH parameters as per RFC-2459; i.e. the DER-encoded
- * form of the following ASN.1 construct:
- *
+ * form of the following ASN.1 construct:
+ *
* <pre>
* DhParams ::= SEQUENCE {
* p INTEGER, -- odd prime, p=jq +1
@@ -151,8 +151,8 @@ public class DHParameters
/**
* Encodes the set of DH parameters as per RFC-2459; i.e. as the DER-encoded
- * form of the following ASN.1 construct:
- *
+ * form of the following ASN.1 construct:
+ *
* <pre>
* DhParams ::= SEQUENCE {
* p INTEGER, -- odd prime, p=jq +1
diff --git a/gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java b/gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java
index 321b47795..b17fa3497 100644
--- a/gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java
+++ b/gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java
@@ -1,4 +1,4 @@
-/* BlockCipherParameterSpec.java --
+/* BlockCipherParameterSpec.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -58,7 +58,7 @@ public class BlockCipherParameterSpec
/**
* Create a new parameter specification.
- *
+ *
* @param iv The initialization vector, or <code>null</code> if there is no
* IV.
* @param blockSize The cipher's block size, in bytes.
@@ -73,7 +73,7 @@ public class BlockCipherParameterSpec
/**
* Create a new parameter specification with no IV.
- *
+ *
* @param blockSize The cipher's block size, in bytes.
* @param keySize The cipher's key size, in bytes.
*/
@@ -85,7 +85,7 @@ public class BlockCipherParameterSpec
/**
* Get the initialization vector for the cipher, or <code>null</code> if
* there is no IV.
- *
+ *
* @return The IV.
*/
public byte[] getIV()
@@ -95,7 +95,7 @@ public class BlockCipherParameterSpec
/**
* Get the block size of the cipher these parameters are for.
- *
+ *
* @return The block size.
*/
public int getBlockSize()
@@ -105,7 +105,7 @@ public class BlockCipherParameterSpec
/**
* Get the key size of the cipher these parameters are for.
- *
+ *
* @return The block size.
*/
public int getKeySize()
diff --git a/gnu/javax/crypto/jce/spec/TMMHParameterSpec.java b/gnu/javax/crypto/jce/spec/TMMHParameterSpec.java
index 356437288..31199538c 100644
--- a/gnu/javax/crypto/jce/spec/TMMHParameterSpec.java
+++ b/gnu/javax/crypto/jce/spec/TMMHParameterSpec.java
@@ -1,4 +1,4 @@
-/* TMMHParameterSpec.java --
+/* TMMHParameterSpec.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -62,7 +62,7 @@ public class TMMHParameterSpec
/**
* Create a new parameter specification.
- *
+ *
* @param keystream The (PRNG) key stream.
* @param tagLength The tag length.
* @param prefix The prefix.
@@ -76,7 +76,7 @@ public class TMMHParameterSpec
/**
* Create a new parameter specification with no prefix.
- *
+ *
* @param keystream The (PRNG) key stream.
* @param tagLength The tag length.
*/
@@ -87,7 +87,7 @@ public class TMMHParameterSpec
/**
* Return the key stream this specification was initialized with.
- *
+ *
* @return The key stream.
*/
public IRandom getKeystream()
@@ -97,7 +97,7 @@ public class TMMHParameterSpec
/**
* Return the tag length this specification was initialized with.
- *
+ *
* @return The tag length.
*/
public Integer getTagLength()
@@ -107,7 +107,7 @@ public class TMMHParameterSpec
/**
* Return the prefix, or <code>null</code> if no prefix was specified.
- *
+ *
* @return The prefix.
*/
public byte[] getPrefix()
diff --git a/gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java b/gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java
index 0990cc6d4..3c13faf04 100644
--- a/gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java
+++ b/gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java
@@ -1,4 +1,4 @@
-/* UMac32ParameterSpec.java --
+/* UMac32ParameterSpec.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -53,7 +53,7 @@ public class UMac32ParameterSpec
/**
* Create a new parameter instance.
- *
+ *
* @param nonce The nonce material.
*/
public UMac32ParameterSpec(byte[] nonce)
@@ -63,7 +63,7 @@ public class UMac32ParameterSpec
/**
* Return the nonce material.
- *
+ *
* @return The nonce material.
*/
public byte[] getNonce()
diff --git a/gnu/javax/crypto/key/BaseKeyAgreementParty.java b/gnu/javax/crypto/key/BaseKeyAgreementParty.java
index fc5ddb714..3f4e0a22c 100644
--- a/gnu/javax/crypto/key/BaseKeyAgreementParty.java
+++ b/gnu/javax/crypto/key/BaseKeyAgreementParty.java
@@ -1,4 +1,4 @@
-/* BaseKeyAgreementParty.java --
+/* BaseKeyAgreementParty.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -137,7 +137,7 @@ public abstract class BaseKeyAgreementParty
/**
* Fills the designated byte array with random data.
- *
+ *
* @param buffer the byte array to fill with random data.
*/
protected void nextRandomBytes(byte[] buffer)
diff --git a/gnu/javax/crypto/key/GnuPBEKey.java b/gnu/javax/crypto/key/GnuPBEKey.java
index 6f4bcb1b3..5642e59ed 100644
--- a/gnu/javax/crypto/key/GnuPBEKey.java
+++ b/gnu/javax/crypto/key/GnuPBEKey.java
@@ -43,7 +43,7 @@ import javax.crypto.spec.PBEKeySpec;
/**
* An implementation of a password-based encryption key.
- *
+ *
* @author Casey Marshall (csm@gnu.org)
*/
public class GnuPBEKey
diff --git a/gnu/javax/crypto/key/GnuSecretKey.java b/gnu/javax/crypto/key/GnuSecretKey.java
index 3063fe406..c8ca1edab 100644
--- a/gnu/javax/crypto/key/GnuSecretKey.java
+++ b/gnu/javax/crypto/key/GnuSecretKey.java
@@ -1,4 +1,4 @@
-/* GnuSecretKey.java --
+/* GnuSecretKey.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -55,7 +55,7 @@ public class GnuSecretKey
/**
* Creates a new secret key. The supplied byte array is copied by this
* constructor.
- *
+ *
* @param key The raw, secret key.
* @param algorithm The algorithm name, which can be null or empty.
*/
@@ -66,7 +66,7 @@ public class GnuSecretKey
/**
* Creates a new secret key from a portion of a byte array.
- *
+ *
* @param key The raw, secret key.
* @param offset The offset at which the key begins.
* @param length The number of bytes that comprise the key.
@@ -81,7 +81,7 @@ public class GnuSecretKey
/**
* Returns the algorithm name, if any.
- *
+ *
* @return The algorithm name.
*/
public String getAlgorithm()
@@ -93,7 +93,7 @@ public class GnuSecretKey
* Returns the encoded key, which is merely the byte array this class was
* created with. A reference to the internal byte array is returned, so the
* caller can delete this key from memory by modifying the returned array.
- *
+ *
* @return The raw key.
*/
public byte[] getEncoded()
@@ -103,7 +103,7 @@ public class GnuSecretKey
/**
* Returns the string "RAW".
- *
+ *
* @return The string "RAW".
*/
public String getFormat()
diff --git a/gnu/javax/crypto/key/IKeyAgreementParty.java b/gnu/javax/crypto/key/IKeyAgreementParty.java
index 280f3f33d..64434212f 100644
--- a/gnu/javax/crypto/key/IKeyAgreementParty.java
+++ b/gnu/javax/crypto/key/IKeyAgreementParty.java
@@ -1,4 +1,4 @@
-/* IKeyAgreementParty.java --
+/* IKeyAgreementParty.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -47,14 +47,14 @@ public interface IKeyAgreementParty
{
/**
* Returns the canonical name of the key agreement protocol.
- *
+ *
* @return the canonical name of the key agreement protocol.
*/
String name();
/**
* Sets up the instance to operate with specific attributes.
- *
+ *
* @param attributes a map of name-values used by concrete implementations.
* @throws KeyAgreementException if an exception occurs during the setup.
*/
@@ -63,7 +63,7 @@ public interface IKeyAgreementParty
/**
* Processes an incoming message at one end, generating a message that will be
* processed by the other party(ies).
- *
+ *
* @param in the incoming message.
* @return an outgoing message, or <code>null</code> if this is an
* intermediary step that does not cause any output.
@@ -79,7 +79,7 @@ public interface IKeyAgreementParty
* exchange has completed its part of the exchange. If this is the case an
* {@link IllegalStateException} is thrown for any method invocation except
* <code>init()</code> or <code>reset()</code>.
- *
+ *
* @return <code>true</code> if this party has completed its part of the key
* agreement protocol exchange; <code>false</code> otherwise.
*/
@@ -88,7 +88,7 @@ public interface IKeyAgreementParty
/**
* Returns the byte array containing the shared secret as generated by this
* party.
- *
+ *
* @return the generated shared secret.
* @throws KeyAgreementException if the key agreement is not yet initialised,
* or is initialised but the exchange is still in progress.
diff --git a/gnu/javax/crypto/key/IncomingMessage.java b/gnu/javax/crypto/key/IncomingMessage.java
index 9701d80a7..3b68392d6 100644
--- a/gnu/javax/crypto/key/IncomingMessage.java
+++ b/gnu/javax/crypto/key/IncomingMessage.java
@@ -1,4 +1,4 @@
-/* IncomingMessage.java --
+/* IncomingMessage.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -71,7 +71,7 @@ public class IncomingMessage
/**
* Constructs an incoming message given the message's encoded form, including
* its header bytes.
- *
+ *
* @param b the encoded form, including the header bytes, of an incoming
* message.
* @throws KeyAgreementException if the buffer is malformed.
@@ -103,7 +103,7 @@ public class IncomingMessage
* <p>
* Calls the method with the same name and three arguments as:
* <code>getInstance(raw, 0, raw.length)</code>.
- *
+ *
* @param raw the encoded form, excluding the header bytes.
* @return a new instance of <code>IncomingMessage</code>.
*/
@@ -115,7 +115,7 @@ public class IncomingMessage
/**
* Returns an instance of a message given its encoded contents, excluding the
* message's header bytes.
- *
+ *
* @param raw the encoded form, excluding the header bytes.
* @param offset offset where to start using raw bytes from.
* @param len number of bytes to use.
@@ -130,7 +130,7 @@ public class IncomingMessage
/**
* Converts two octets into the number that they represent.
- *
+ *
* @param b the two octets.
* @return the length.
*/
@@ -144,7 +144,7 @@ public class IncomingMessage
/**
* Converts four octets into the number that they represent.
- *
+ *
* @param b the four octets.
* @return the length.
*/
@@ -169,7 +169,7 @@ public class IncomingMessage
* <p>
* See {@link OutgoingMessage#writePublicKey(java.security.PublicKey)} for
* more details on the internal format.
- *
+ *
* @throws KeyAgreementException if an encoding size constraint is violated or
* a mismatch was detected in the encoding.
*/
@@ -196,7 +196,7 @@ public class IncomingMessage
* <p>
* See {@link OutgoingMessage#writePrivateKey(java.security.PrivateKey)} for
* more details.
- *
+ *
* @throws KeyAgreementException if an encoding size constraint is violated or
* a mismatch was detected in the encoding.
*/
@@ -220,7 +220,7 @@ public class IncomingMessage
/**
* Decodes an MPI from the current message's contents.
- *
+ *
* @return a native representation of an MPI.
* @throws KeyAgreementException if an encoding exception occurs during the
* operation.
diff --git a/gnu/javax/crypto/key/KeyAgreementException.java b/gnu/javax/crypto/key/KeyAgreementException.java
index 405f011ad..06a7db70b 100644
--- a/gnu/javax/crypto/key/KeyAgreementException.java
+++ b/gnu/javax/crypto/key/KeyAgreementException.java
@@ -1,4 +1,4 @@
-/* KeyAgreementException.java --
+/* KeyAgreementException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -68,7 +68,7 @@ public class KeyAgreementException
/**
* Constructs a new instance of <code>KeyAgreementException</code> with a
* detailed message. The <i>root</i> exception is <code>null</code>.
- *
+ *
* @param detail a possibly <code>null</code> string containing details of
* the exception.
* @see Throwable#getMessage()
@@ -81,7 +81,7 @@ public class KeyAgreementException
/**
* Constructs a new instance of <code>KeyAgreementException</code> with a
* detailed message and a <i>root</i> exception.
- *
+ *
* @param detail a possibly <code>null</code> string containing details of
* the exception.
* @param cause a possibly <code>null</code> root exception that caused this
@@ -99,7 +99,7 @@ public class KeyAgreementException
* Returns the cause of this throwable or <code>null</code> if the cause is
* nonexistent or unknown. The <i>cause</i> is the throwable that caused this
* exception to be thrown.
- *
+ *
* @return the possibly <code>null</code> exception that caused this one.
*/
public Throwable getCause()
@@ -123,7 +123,7 @@ public class KeyAgreementException
* Prints this exception's stack trace to a print stream. If this exception
* has a <i>root</i> exception; the stack trace of the <i>root</i> exception
* is also printed to the print stream.
- *
+ *
* @param ps the non-null print stream to which to print.
*/
public void printStackTrace(PrintStream ps)
@@ -137,7 +137,7 @@ public class KeyAgreementException
* Prints this exception's stack trace to a print writer. If this exception
* has a <i>root</i> exception; the stack trace of the <i>root</i> exception
* is also printed to the print writer.
- *
+ *
* @param pw the non-null print writer to use for output.
*/
public void printStackTrace(PrintWriter pw)
@@ -153,7 +153,7 @@ public class KeyAgreementException
* and if it has a <i>root</i> exception, the string representation of the
* root exception. This string representation is meant for debugging and is
* not meant to be interpreted programmatically.
- *
+ *
* @return the non-null string representation of this exception.
* @see Throwable#getMessage()
*/
diff --git a/gnu/javax/crypto/key/KeyAgreementFactory.java b/gnu/javax/crypto/key/KeyAgreementFactory.java
index ae9bf36ff..a4e14bc69 100644
--- a/gnu/javax/crypto/key/KeyAgreementFactory.java
+++ b/gnu/javax/crypto/key/KeyAgreementFactory.java
@@ -1,4 +1,4 @@
-/* KeyAgreementFactory.java --
+/* KeyAgreementFactory.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -71,7 +71,7 @@ public class KeyAgreementFactory
* <code>A</code> in a two-party <code>A..B</code> exchange, given the
* canonical name of this protocol. Party <code>A</code> is usually the
* initiator of the exchange.
- *
+ *
* @param name the case-insensitive key agreement protocol name.
* @return an instance of the key agreement protocol handler for party
* <code>A</code>, or <code>null</code> if none found.
@@ -99,7 +99,7 @@ public class KeyAgreementFactory
* Returns an instance of a key agreeent protocol handler, for party
* <code>B</code> in a two-party <code>A..B</code> exchange, given the
* canonical name of this protocol.
- *
+ *
* @param name the case-insensitive key agreement protocol name.
* @return an instance of the key agreement protocol handler for party
* <code>B</code>, or <code>null</code> if none found.
@@ -126,7 +126,7 @@ public class KeyAgreementFactory
/**
* Returns a {@link Set} of key agreement protocol names supported by this
* <i>Factory</i>.
- *
+ *
* @return a {@link Set} of key agreement protocol names (Strings).
*/
public static final Set getNames()
diff --git a/gnu/javax/crypto/key/OutgoingMessage.java b/gnu/javax/crypto/key/OutgoingMessage.java
index 563b3ef5a..e011330fe 100644
--- a/gnu/javax/crypto/key/OutgoingMessage.java
+++ b/gnu/javax/crypto/key/OutgoingMessage.java
@@ -1,4 +1,4 @@
-/* OutgoingMessage.java --
+/* OutgoingMessage.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -70,7 +70,7 @@ public class OutgoingMessage
/**
* Returns the encoded form of the current message including the 4-byte length
* header.
- *
+ *
* @throws KeyAgreementException if an encoding size constraint is violated.
*/
public byte[] toByteArray() throws KeyAgreementException
@@ -89,7 +89,7 @@ public class OutgoingMessage
/**
* Returns the encoded form of the current message excluding the 4-byte length
* header.
- *
+ *
* @throws KeyAgreementException if an encoding size constraint is violated.
*/
public byte[] wrap() throws KeyAgreementException
@@ -114,7 +114,7 @@ public class OutgoingMessage
* <pre>
* key --&gt; 4-byte-length || 1-byte-type-and-format || encoded-key-bytes
* </pre>
- *
+ *
* @param k the public key to encode.
* @throws KeyAgreementException if an encoding size constraint is violated.
*/
@@ -137,7 +137,7 @@ public class OutgoingMessage
* <pre>
* key --&gt; 4-byte-length || 1-byte-type-and-format || encoded-key-bytes
* </pre>
- *
+ *
* @param k the private key to encode.
* @throws KeyAgreementException if an encoding size constraint is violated.
*/
@@ -148,7 +148,7 @@ public class OutgoingMessage
/**
* Encodes an MPI into the message.
- *
+ *
* @param val the MPI to encode.
* @throws KeyAgreementException if an encoding size constraint is violated.
*/
@@ -165,7 +165,7 @@ public class OutgoingMessage
/**
* Encodes a string into the message.
- *
+ *
* @param s the string to encode.
* @throws KeyAgreementException if the UTF8 encoding is not supported on this
* platform, or if an encoding size constraint is violated.
diff --git a/gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java b/gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
index 98ea47653..8c03cbb00 100644
--- a/gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
+++ b/gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
@@ -79,7 +79,7 @@ public class DHKeyPairPKCS8Codec
/**
* Returns the DER-encoded form of the PKCS#8 ASN.1 <i>PrivateKeyInfo</i>
* representation of a DH private key. The ASN.1 specification is as follows:
- *
+ *
* <pre>
* PrivateKeyInfo ::= SEQUENCE {
* version INTEGER, -- MUST be 0
@@ -105,7 +105,7 @@ public class DHKeyPairPKCS8Codec
* parameter. RFC-2631 DOES NOT allow for an <i>optional</i> value for that
* parameter, hence we replace such null values with <code>0</code>, and do
* the reverse in the corresponding decode method.
- *
+ *
* @return the DER encoded form of the ASN.1 representation of the
* <i>PrivateKeyInfo</i> field in an X.509 certificate.
* @throw InvalidParameterException if an error occurs during the marshalling
diff --git a/gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java b/gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java
index aefcd5ff4..4275389ce 100644
--- a/gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java
+++ b/gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java
@@ -1,4 +1,4 @@
-/* DHKeyPairRawCodec.java --
+/* DHKeyPairRawCodec.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -89,7 +89,7 @@ public class DHKeyPairRawCodec
* the <code>toByteArray()</code> method on the DH parameter <code>y</code>,
* </li>
* </ol>
- *
+ *
* @param key the key to encode.
* @return the <i>Raw</i> format encoding of the designated key.
* @throws IllegalArgumentException if the designated key is not a DH one.
@@ -227,7 +227,7 @@ public class DHKeyPairRawCodec
* the <code>toByteArray()</code> method on the DH parameter <code>x</code>,
* </li>
* </ol>
- *
+ *
* @param key the key to encode.
* @return the <i>Raw</i> format encoding of the designated key.
* @throws IllegalArgumentException if the designated key is not a DH one.
diff --git a/gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java b/gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
index 5da396a1d..893716eef 100644
--- a/gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
+++ b/gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
@@ -90,10 +90,10 @@ public class DHKeyPairX509Codec
* q INTEGER -- factor of p-1
* }
* </pre>
- *
+ *
* <p>The <i>subjectPublicKey</i> field, which is a BIT STRING, contains the
* DER-encoded form of the DH public key as an INTEGER.</p>
- *
+ *
* <pre>
* DHPublicKey ::= INTEGER -- public key, y = g^x mod p
* </pre>
@@ -104,7 +104,7 @@ public class DHKeyPairX509Codec
* parameter. RFC-2631 DOES NOT allow for an <i>optional</i> value for that
* parameter, hence we replace such null values with <code>0</code>, and do
* the reverse in the corresponding decode method.
- *
+ *
* @param key the {@link PublicKey} instance to encode. MUST be an instance of
* {@link GnuDHPublicKey}.
* @return the DER-encoded form of the ASN.1 representation of the
diff --git a/gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java b/gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java
index 244395054..893d84d32 100644
--- a/gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java
+++ b/gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java
@@ -1,4 +1,4 @@
-/* DiffieHellmanKeyAgreement.java --
+/* DiffieHellmanKeyAgreement.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -77,7 +77,7 @@ import javax.crypto.interfaces.DHPrivateKey;
* message) in order to ensure that different messages use different
* KEKs. Implementations MAY implement Static-Static mode.&quot;
* </pre>
- *
+ *
* <p>
* Reference:
* <ol>
diff --git a/gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java b/gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java
index ab1023ad3..3194f682d 100644
--- a/gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java
+++ b/gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java
@@ -1,4 +1,4 @@
-/* DiffieHellmanReceiver.java --
+/* DiffieHellmanReceiver.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -53,7 +53,7 @@ import javax.crypto.interfaces.DHPrivateKey;
/**
* This implementation is the receiver's part of the basic version of the
* Diffie-Hellman key agreement exchange (B in [HAC]).
- *
+ *
* @see DiffieHellmanKeyAgreement
*/
public class DiffieHellmanReceiver
diff --git a/gnu/javax/crypto/key/dh/DiffieHellmanSender.java b/gnu/javax/crypto/key/dh/DiffieHellmanSender.java
index 52a030d67..7fc997354 100644
--- a/gnu/javax/crypto/key/dh/DiffieHellmanSender.java
+++ b/gnu/javax/crypto/key/dh/DiffieHellmanSender.java
@@ -1,4 +1,4 @@
-/* DiffieHellmanSender.java --
+/* DiffieHellmanSender.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -53,7 +53,7 @@ import javax.crypto.interfaces.DHPrivateKey;
/**
* This implementation is the sender's part of the basic version of the
* Diffie-Hellman key agreement exchange (A in [HAC]).
- *
+ *
* @see DiffieHellmanKeyAgreement
*/
public class DiffieHellmanSender
diff --git a/gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java b/gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java
index 967eda3f5..4283dc59b 100644
--- a/gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java
+++ b/gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java
@@ -1,4 +1,4 @@
-/* ElGamalKeyAgreement.java --
+/* ElGamalKeyAgreement.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/key/dh/ElGamalReceiver.java b/gnu/javax/crypto/key/dh/ElGamalReceiver.java
index bf9b4fb1f..ad606f6c9 100644
--- a/gnu/javax/crypto/key/dh/ElGamalReceiver.java
+++ b/gnu/javax/crypto/key/dh/ElGamalReceiver.java
@@ -1,4 +1,4 @@
-/* ElGamalReceiver.java --
+/* ElGamalReceiver.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -51,7 +51,7 @@ import javax.crypto.interfaces.DHPrivateKey;
/**
* This implementation is the receiver's part of the ElGamal key agreement
* exchange (B in [HAC]).
- *
+ *
* @see ElGamalKeyAgreement
*/
public class ElGamalReceiver
diff --git a/gnu/javax/crypto/key/dh/ElGamalSender.java b/gnu/javax/crypto/key/dh/ElGamalSender.java
index cdd1ef0da..bc9643500 100644
--- a/gnu/javax/crypto/key/dh/ElGamalSender.java
+++ b/gnu/javax/crypto/key/dh/ElGamalSender.java
@@ -1,4 +1,4 @@
-/* ElGamalSender.java --
+/* ElGamalSender.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -51,7 +51,7 @@ import javax.crypto.interfaces.DHPublicKey;
/**
* This implementation is the sender's part of the ElGamal key agreement
* exchange (A in [HAC]).
- *
+ *
* @see ElGamalKeyAgreement
*/
public class ElGamalSender
diff --git a/gnu/javax/crypto/key/dh/GnuDHKey.java b/gnu/javax/crypto/key/dh/GnuDHKey.java
index 1066830c3..03a18c310 100644
--- a/gnu/javax/crypto/key/dh/GnuDHKey.java
+++ b/gnu/javax/crypto/key/dh/GnuDHKey.java
@@ -1,4 +1,4 @@
-/* GnuDHKey.java --
+/* GnuDHKey.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -86,7 +86,7 @@ public abstract class GnuDHKey
/**
* Trivial protected constructor.
- *
+ *
* @param defaultFormat the identifier of the encoding format to use by
* default when externalizing the key.
* @param q a prime divisor of p-1.
@@ -135,7 +135,7 @@ public abstract class GnuDHKey
/**
* Returns <code>true</code> if the designated object is an instance of
* {@link DHKey} and has the same Diffie-Hellman parameter values as this one.
- *
+ *
* @param obj the other non-null DH key to compare to.
* @return <code>true</code> if the designated object is of the same type
* and value as this one.
diff --git a/gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java b/gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
index 13cfd9014..89e9c4c80 100644
--- a/gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
+++ b/gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
@@ -1,4 +1,4 @@
-/* GnuDHKeyPairGenerator.java --
+/* GnuDHKeyPairGenerator.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -214,7 +214,7 @@ public class GnuDHKeyPairGenerator
/**
* Fills the designated byte array with random data.
- *
+ *
* @param buffer the byte array to fill with random data.
*/
private void nextRandomBytes(byte[] buffer)
diff --git a/gnu/javax/crypto/key/dh/GnuDHPrivateKey.java b/gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
index d8150dcdf..881421a74 100644
--- a/gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
+++ b/gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
@@ -1,4 +1,4 @@
-/* GnuDHPrivateKey.java --
+/* GnuDHPrivateKey.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -70,7 +70,7 @@ public class GnuDHPrivateKey
/**
* Convenience constructor. Calls the constructor with five arguments passing
* {@link Registry#RAW_ENCODING_ID} as the value of its first argument.
- *
+ *
* @param q a prime divisor of p-1.
* @param p the public prime.
* @param g the generator of the group.
@@ -84,7 +84,7 @@ public class GnuDHPrivateKey
/**
* Constructs a new instance of <code>GnuDHPrivateKey</code> given the
* designated parameters.
- *
+ *
* @param preferredFormat the identifier of the encoding format to use by
* default when externalizing the key.
* @param q a prime divisor of p-1.
@@ -106,7 +106,7 @@ public class GnuDHPrivateKey
* method of a DH keypair codec object (an instance implementing
* {@link IKeyPairCodec} for DH keys, and re-constructs an instance of this
* object.
- *
+ *
* @param k the contents of a previously encoded instance of this object.
* @exception ArrayIndexOutOfBoundsException if there is not enough bytes, in
* <code>k</code>, to represent a valid encoding of an
@@ -137,7 +137,7 @@ public class GnuDHPrivateKey
/**
* Returns the encoded form of this private key according to the designated
* format.
- *
+ *
* @param format the desired format identifier of the resulting encoding.
* @return the byte sequence encoding this key according to the designated
* format.
@@ -165,7 +165,7 @@ public class GnuDHPrivateKey
/**
* Returns <code>true</code> if the designated object is an instance of
* {@link DHPrivateKey} and has the same parameter values as this one.
- *
+ *
* @param obj the other non-null DH key to compare to.
* @return <code>true</code> if the designated object is of the same type
* and value as this one.
diff --git a/gnu/javax/crypto/key/dh/GnuDHPublicKey.java b/gnu/javax/crypto/key/dh/GnuDHPublicKey.java
index 5fb31f383..5f1771bb0 100644
--- a/gnu/javax/crypto/key/dh/GnuDHPublicKey.java
+++ b/gnu/javax/crypto/key/dh/GnuDHPublicKey.java
@@ -1,4 +1,4 @@
-/* GnuDHPublicKey.java --
+/* GnuDHPublicKey.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -68,7 +68,7 @@ public class GnuDHPublicKey
/**
* Convenience constructor. Calls the constructor with five arguments passing
* {@link Registry#RAW_ENCODING_ID} as the value of its first argument.
- *
+ *
* @param q a prime divisor of p-1.
* @param p the public prime.
* @param g the generator of the group.
@@ -82,7 +82,7 @@ public class GnuDHPublicKey
/**
* Constructs a new instance of <code>GnuDHPublicKey</code> given the
* designated parameters.
- *
+ *
* @param preferredFormat the identifier of the encoding format to use by
* default when externalizing the key.
* @param q a prime divisor of p-1.
@@ -104,7 +104,7 @@ public class GnuDHPublicKey
* method of a DH keypair codec object (an instance implementing
* {@link IKeyPairCodec} for DSS keys, and re-constructs an instance of this
* object.
- *
+ *
* @param k the contents of a previously encoded instance of this object.
* @exception ArrayIndexOutOfBoundsException if there is not enough bytes, in
* <code>k</code>, to represent a valid encoding of an
@@ -135,7 +135,7 @@ public class GnuDHPublicKey
/**
* Returns the encoded form of this public key according to the designated
* format.
- *
+ *
* @param format the desired format identifier of the resulting encoding.
* @return the byte sequence encoding this key according to the designated
* format.
@@ -162,7 +162,7 @@ public class GnuDHPublicKey
/**
* Returns <code>true</code> if the designated object is an instance of
* {@link DHPublicKey} and has the same parameter values as this one.
- *
+ *
* @param obj the other non-null DH key to compare to.
* @return <code>true</code> if the designated object is of the same type
* and value as this one.
diff --git a/gnu/javax/crypto/key/dh/RFC2631.java b/gnu/javax/crypto/key/dh/RFC2631.java
index a814d2c0b..60ef49409 100644
--- a/gnu/javax/crypto/key/dh/RFC2631.java
+++ b/gnu/javax/crypto/key/dh/RFC2631.java
@@ -1,4 +1,4 @@
-/* RFC2631.java --
+/* RFC2631.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/key/srp6/SRP6Host.java b/gnu/javax/crypto/key/srp6/SRP6Host.java
index 44f994673..2c8e66fa2 100644
--- a/gnu/javax/crypto/key/srp6/SRP6Host.java
+++ b/gnu/javax/crypto/key/srp6/SRP6Host.java
@@ -1,4 +1,4 @@
-/* SRP6Host.java --
+/* SRP6Host.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java b/gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java
index b4264184e..d3d27b381 100644
--- a/gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java
+++ b/gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java
@@ -1,4 +1,4 @@
-/* SRP6KeyAgreement.java --
+/* SRP6KeyAgreement.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -66,23 +66,23 @@ import java.math.BigInteger;
* A,B Public ephemeral values
* x Private key (derived from p and s)
* v Password verifier
- *
+ *
* The host stores passwords using the following formula:
* x = H(s | H(I &quot;:&quot; p)) (s is chosen randomly)
* v = g&circ;x (computes password verifier)
- *
+ *
* The host then keeps {I, s, v} in its password database.
- *
+ *
* The authentication protocol itself goes as follows:
* User -&gt; Host: I, A = g&circ;a (identifies self, a = random number)
* Host -&gt; User: s, B = 3v + g&circ;b (sends salt, b = random number)
- *
+ *
* Both: u = H(A, B)
- *
+ *
* User: x = H(s, p) (user enters password)
* User: S = (B - 3g&circ;x) &circ; (a + ux) (computes session key)
* User: K = H(S)
- *
+ *
* Host: S = (Av&circ;u) &circ; b (computes session key)
* Host: K = H(S)
* </pre>
diff --git a/gnu/javax/crypto/key/srp6/SRP6SaslClient.java b/gnu/javax/crypto/key/srp6/SRP6SaslClient.java
index f5969f0c1..ec5cd7f17 100644
--- a/gnu/javax/crypto/key/srp6/SRP6SaslClient.java
+++ b/gnu/javax/crypto/key/srp6/SRP6SaslClient.java
@@ -1,4 +1,4 @@
-/* SRP6SaslClient.java --
+/* SRP6SaslClient.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -52,13 +52,13 @@ import java.math.BigInteger;
* User (client side).
* <p>
* In this alternative, the exchange goes as follows:
- *
+ *
* <pre>
* C -&gt; S: I (identifies self)
* S -&gt; C: N, g, s, B = 3v + g&circ;b (sends salt, b = random number)
* C -&gt; S: A = g&circ;a (a = random number)
* </pre>
- *
+ *
* <p>
* All elements are computed the same way as in the standard version.
* <p>
diff --git a/gnu/javax/crypto/key/srp6/SRP6SaslServer.java b/gnu/javax/crypto/key/srp6/SRP6SaslServer.java
index 7e68c99c4..a4313f4d3 100644
--- a/gnu/javax/crypto/key/srp6/SRP6SaslServer.java
+++ b/gnu/javax/crypto/key/srp6/SRP6SaslServer.java
@@ -1,4 +1,4 @@
-/* SRP6SaslServer.java --
+/* SRP6SaslServer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -52,13 +52,13 @@ import java.math.BigInteger;
* Host (server side).
* <p>
* In this alternative, the exchange goes as follows:
- *
+ *
* <pre>
* C -&gt; S: I (identifies self)
* S -&gt; C: N, g, s, B = 3v + g&circ;b (sends salt, b = random number)
* C -&gt; S: A = g&circ;a (a = random number)
* </pre>
- *
+ *
* <p>
* All elements are computed the same way as in the standard version.
* <p>
diff --git a/gnu/javax/crypto/key/srp6/SRP6TLSClient.java b/gnu/javax/crypto/key/srp6/SRP6TLSClient.java
index af0be02df..c2459f620 100644
--- a/gnu/javax/crypto/key/srp6/SRP6TLSClient.java
+++ b/gnu/javax/crypto/key/srp6/SRP6TLSClient.java
@@ -1,4 +1,4 @@
-/* SRP6TLSClient.java --
+/* SRP6TLSClient.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/key/srp6/SRP6TLSServer.java b/gnu/javax/crypto/key/srp6/SRP6TLSServer.java
index f91cffd00..42e3d9cb1 100644
--- a/gnu/javax/crypto/key/srp6/SRP6TLSServer.java
+++ b/gnu/javax/crypto/key/srp6/SRP6TLSServer.java
@@ -1,4 +1,4 @@
-/* SRP6TLSServer.java --
+/* SRP6TLSServer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/key/srp6/SRP6User.java b/gnu/javax/crypto/key/srp6/SRP6User.java
index 7c97e7697..4a1e8dda9 100644
--- a/gnu/javax/crypto/key/srp6/SRP6User.java
+++ b/gnu/javax/crypto/key/srp6/SRP6User.java
@@ -1,4 +1,4 @@
-/* SRP6User.java --
+/* SRP6User.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/key/srp6/SRPAlgorithm.java b/gnu/javax/crypto/key/srp6/SRPAlgorithm.java
index 85b3b1139..fb8249e05 100644
--- a/gnu/javax/crypto/key/srp6/SRPAlgorithm.java
+++ b/gnu/javax/crypto/key/srp6/SRPAlgorithm.java
@@ -1,4 +1,4 @@
-/* SRPAlgorithm.java --
+/* SRPAlgorithm.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/key/srp6/SRPKey.java b/gnu/javax/crypto/key/srp6/SRPKey.java
index 06ba47a9f..72ce8d2cf 100644
--- a/gnu/javax/crypto/key/srp6/SRPKey.java
+++ b/gnu/javax/crypto/key/srp6/SRPKey.java
@@ -1,4 +1,4 @@
-/* SRPKey.java --
+/* SRPKey.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -80,7 +80,7 @@ public abstract class SRPKey
/**
* Returns the standard algorithm name for this key.
- *
+ *
* @return the standard algorithm name for this key.
*/
public String getAlgorithm()
@@ -97,7 +97,7 @@ public abstract class SRPKey
/**
* Returns {@link Registry#RAW_ENCODING_SHORT_NAME} which is the sole format
* supported for this type of keys.
- *
+ *
* @return {@link Registry#RAW_ENCODING_SHORT_NAME} ALWAYS.
*/
public String getFormat()
@@ -107,7 +107,7 @@ public abstract class SRPKey
/**
* Returns the public shared modulus.
- *
+ *
* @return <code>N</code>.
*/
public BigInteger getN()
@@ -117,7 +117,7 @@ public abstract class SRPKey
/**
* Returns the generator.
- *
+ *
* @return <code>g</code>.
*/
public BigInteger getG()
@@ -128,7 +128,7 @@ public abstract class SRPKey
/**
* Returns <code>true</code> if the designated object is an instance of
* <code>SRPKey</code> and has the same SRP parameter values as this one.
- *
+ *
* @param obj the other non-null SRP key to compare to.
* @return <code>true</code> if the designated object is of the same type
* and value as this one.
diff --git a/gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java b/gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java
index 8d50c9b71..59e5bc943 100644
--- a/gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java
+++ b/gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java
@@ -1,4 +1,4 @@
-/* SRPKeyPairGenerator.java --
+/* SRPKeyPairGenerator.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java b/gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java
index 555dc23cf..b7cc53693 100644
--- a/gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java
+++ b/gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java
@@ -1,4 +1,4 @@
-/* SRPKeyPairRawCodec.java --
+/* SRPKeyPairRawCodec.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -92,7 +92,7 @@ public class SRPKeyPairRawCodec
* the <code>toByteArray()</code> method on the SRP parameter <code>y</code>,
* </li>
* </ol>
- *
+ *
* @param key the key to encode.
* @return the <i>Raw</i> format encoding of the designated key.
* @throws IllegalArgumentException if the designated key is not an SRP one.
@@ -215,7 +215,7 @@ public class SRPKeyPairRawCodec
* the <code>toByteArray()</code> method on the SRP parameter <code>v</code>,
* </li>
* </ol>
- *
+ *
* @param key the key to encode.
* @return the <i>Raw</i> format encoding of the designated key.
* @throws IllegalArgumentException if the designated key is not an SRP one.
diff --git a/gnu/javax/crypto/key/srp6/SRPPrivateKey.java b/gnu/javax/crypto/key/srp6/SRPPrivateKey.java
index d5ade07d7..c2e13be82 100644
--- a/gnu/javax/crypto/key/srp6/SRPPrivateKey.java
+++ b/gnu/javax/crypto/key/srp6/SRPPrivateKey.java
@@ -1,4 +1,4 @@
-/* SRPPrivateKey.java --
+/* SRPPrivateKey.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -71,7 +71,7 @@ public class SRPPrivateKey
/**
* Public constructor for use from outside this package.
- *
+ *
* @param N the public shared modulus.
* @param g the generator.
* @param x the private exponent of the ephemeral key.
@@ -83,7 +83,7 @@ public class SRPPrivateKey
/**
* Public constructor for use from outside this package.
- *
+ *
* @param N the public shared modulus.
* @param g the generator.
* @param x the private exponent of the ephemeral key.
@@ -100,7 +100,7 @@ public class SRPPrivateKey
/**
* Default constructor. Assumes N and g are already validated.
- *
+ *
* @param params an array of either 3 or 4 values representing N, g, and
* either v and X for the server, or just X for the client. Those
* values represent the following:
@@ -133,7 +133,7 @@ public class SRPPrivateKey
* method of an SRP keypair codec object (an instance implementing
* {@link IKeyPairCodec} for DSS keys, and re-constructs an instance of this
* object.
- *
+ *
* @param k the contents of a previously encoded instance of this object.
* @throws ArrayIndexOutOfBoundsException if there is not enough bytes, in
* <code>k</code>, to represent a valid encoding of an instance
@@ -160,7 +160,7 @@ public class SRPPrivateKey
/**
* Returns the private exponent of the key as a {@link BigInteger}.
- *
+ *
* @return the private exponent of the key as a {@link BigInteger}.
*/
public BigInteger getX()
@@ -170,7 +170,7 @@ public class SRPPrivateKey
/**
* Returns the user's verifier as a {@link BigInteger}.
- *
+ *
* @return the user's verifier as a {@link BigInteger} if this is an SRP
* private key of a Host, or <code>null</code> if this is a private
* SRP key for a User.
@@ -183,7 +183,7 @@ public class SRPPrivateKey
/**
* Returns the encoded form of this private key according to the designated
* format.
- *
+ *
* @param format the desired format identifier of the resulting encoding.
* @return the byte sequence encoding this key according to the designated
* format.
@@ -207,7 +207,7 @@ public class SRPPrivateKey
* Returns <code>true</code> if the designated object is an instance of
* <code>SRPPrivateKey</code> and has the same SRP parameter values as this
* one.
- *
+ *
* @param obj the other non-null SRP key to compare to.
* @return <code>true</code> if the designated object is of the same type
* and value as this one.
diff --git a/gnu/javax/crypto/key/srp6/SRPPublicKey.java b/gnu/javax/crypto/key/srp6/SRPPublicKey.java
index 04a949211..2db13ff4c 100644
--- a/gnu/javax/crypto/key/srp6/SRPPublicKey.java
+++ b/gnu/javax/crypto/key/srp6/SRPPublicKey.java
@@ -1,4 +1,4 @@
-/* SRPPublicKey.java --
+/* SRPPublicKey.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -65,7 +65,7 @@ public class SRPPublicKey
/**
* Public constructor for use from outside this package.
- *
+ *
* @param N the public shared modulus.
* @param g the generator.
* @param Y the public exponent of the ephemeral key.
@@ -80,7 +80,7 @@ public class SRPPublicKey
/**
* Default constructor. Assumes that N and g are already validated.
- *
+ *
* @param params an array of 3 values representing N, g and Y; the latter
* being the client's or server's public exponent.
*/
@@ -96,7 +96,7 @@ public class SRPPublicKey
* method of an SRP keypair codec object (an instance implementing
* {@link IKeyPairCodec} for SRP keys, and re-constructs an instance of this
* object.
- *
+ *
* @param k the contents of a previously encoded instance of this object.
* @throws ArrayIndexOutOfBoundsException if there is not enough bytes, in
* <code>k</code>, to represent a valid encoding of an instance
@@ -123,7 +123,7 @@ public class SRPPublicKey
/**
* Returns the public exponent of the key as a {@link BigInteger}.
- *
+ *
* @return the public exponent of the key as a {@link BigInteger}.
*/
public BigInteger getY()
@@ -134,7 +134,7 @@ public class SRPPublicKey
/**
* Returns the encoded form of this public key according to the designated
* format.
- *
+ *
* @param format the desired format identifier of the resulting encoding.
* @return the byte sequence encoding this key according to the designated
* format.
@@ -158,7 +158,7 @@ public class SRPPublicKey
* Returns <code>true</code> if the designated object is an instance of
* <code>SRPPublicKey</code>and has the same SRP parameter values as this
* one.
- *
+ *
* @param obj the other non-null SRP key to compare to.
* @return <code>true</code> if the designated object is of the same type
* and value as this one.
diff --git a/gnu/javax/crypto/keyring/AuthenticatedEntry.java b/gnu/javax/crypto/keyring/AuthenticatedEntry.java
index cd2e5868d..91c3bc6e2 100644
--- a/gnu/javax/crypto/keyring/AuthenticatedEntry.java
+++ b/gnu/javax/crypto/keyring/AuthenticatedEntry.java
@@ -1,4 +1,4 @@
-/* AuthenticatedEntry.java --
+/* AuthenticatedEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -90,7 +90,7 @@ public final class AuthenticatedEntry
/**
* Computes the mac over this envelope's data. This method <b>must</b> be
* called before this entry in encoded.
- *
+ *
* @param key The key to authenticate with.
* @throws IOException If encoding fails.
* @throws InvalidKeyException If the supplied key is bad.
@@ -115,7 +115,7 @@ public final class AuthenticatedEntry
/**
* Verifies this entry's payload. This method will unmask this entry, thus it
* must be called before accessing its contents.
- *
+ *
* @param key The key to use to authenticate.
* @throws InvalidKeyException If the given key is improper.
*/
diff --git a/gnu/javax/crypto/keyring/BaseKeyring.java b/gnu/javax/crypto/keyring/BaseKeyring.java
index 369507d4c..e93ca8fa3 100644
--- a/gnu/javax/crypto/keyring/BaseKeyring.java
+++ b/gnu/javax/crypto/keyring/BaseKeyring.java
@@ -1,4 +1,4 @@
-/* BaseKeyring.java --
+/* BaseKeyring.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/keyring/BinaryDataEntry.java b/gnu/javax/crypto/keyring/BinaryDataEntry.java
index e694487e1..8fb1e0f39 100644
--- a/gnu/javax/crypto/keyring/BinaryDataEntry.java
+++ b/gnu/javax/crypto/keyring/BinaryDataEntry.java
@@ -1,4 +1,4 @@
-/* BinaryDataEntry.java --
+/* BinaryDataEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -53,7 +53,7 @@ public class BinaryDataEntry
/**
* Creates a new binary data entry.
- *
+ *
* @param contentType The content type of this entry. This parameter can be
* <code>null</code> if no content type is needed.
* @param data The data.
@@ -86,7 +86,7 @@ public class BinaryDataEntry
/**
* Returns the content type of this entry, or <code>null</code> if this
* property is not set.
- *
+ *
* @return The content type.
*/
public String getContentType()
@@ -96,7 +96,7 @@ public class BinaryDataEntry
/**
* Returns this object's data field.
- *
+ *
* @return The data.
*/
public byte[] getData()
diff --git a/gnu/javax/crypto/keyring/CertPathEntry.java b/gnu/javax/crypto/keyring/CertPathEntry.java
index 32b86084f..e798a93ce 100644
--- a/gnu/javax/crypto/keyring/CertPathEntry.java
+++ b/gnu/javax/crypto/keyring/CertPathEntry.java
@@ -1,4 +1,4 @@
-/* CertPathEntry.java --
+/* CertPathEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/keyring/CertificateEntry.java b/gnu/javax/crypto/keyring/CertificateEntry.java
index 661758442..f574a4fe4 100644
--- a/gnu/javax/crypto/keyring/CertificateEntry.java
+++ b/gnu/javax/crypto/keyring/CertificateEntry.java
@@ -1,4 +1,4 @@
-/* CertificateEntry.java --
+/* CertificateEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -58,7 +58,7 @@ public final class CertificateEntry
/**
* Creates a new certificate entry.
- *
+ *
* @param certificate The certificate.
* @param creationDate The creation date.
* @param properties The alias.
@@ -106,7 +106,7 @@ public final class CertificateEntry
/**
* Returns this entry's certificate.
- *
+ *
* @return The certificate.
*/
public Certificate getCertificate()
diff --git a/gnu/javax/crypto/keyring/CompressedEntry.java b/gnu/javax/crypto/keyring/CompressedEntry.java
index b24c6715a..8949a41e9 100644
--- a/gnu/javax/crypto/keyring/CompressedEntry.java
+++ b/gnu/javax/crypto/keyring/CompressedEntry.java
@@ -1,4 +1,4 @@
-/* CompressedEntry.java --
+/* CompressedEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/keyring/EncryptedEntry.java b/gnu/javax/crypto/keyring/EncryptedEntry.java
index f0693cc91..68a6c2c8a 100644
--- a/gnu/javax/crypto/keyring/EncryptedEntry.java
+++ b/gnu/javax/crypto/keyring/EncryptedEntry.java
@@ -1,4 +1,4 @@
-/* EncryptedEntry.java --
+/* EncryptedEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/keyring/Entry.java b/gnu/javax/crypto/keyring/Entry.java
index ef225db95..d45924940 100644
--- a/gnu/javax/crypto/keyring/Entry.java
+++ b/gnu/javax/crypto/keyring/Entry.java
@@ -1,4 +1,4 @@
-/* Entry.java --
+/* Entry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -71,7 +71,7 @@ public abstract class Entry
/**
* Creates a new Entry.
- *
+ *
* @param type This entry's type.
* @param properties This entry's properties.
* @throws IllegalArgumentException If the properties argument is null, or if
@@ -101,7 +101,7 @@ public abstract class Entry
/**
* Returns this entry's properties object. The properties are cloned before
* being returned.
- *
+ *
* @return The properties.
*/
public Properties getProperties()
@@ -122,7 +122,7 @@ public abstract class Entry
/**
* This method is called when this entry needs to be written to an output
* stream.
- *
+ *
* @param out The stream to write to.
* @throws IOException If an I/O exception occurs.
*/
diff --git a/gnu/javax/crypto/keyring/EnvelopeEntry.java b/gnu/javax/crypto/keyring/EnvelopeEntry.java
index fe39091b0..76aba7d7b 100644
--- a/gnu/javax/crypto/keyring/EnvelopeEntry.java
+++ b/gnu/javax/crypto/keyring/EnvelopeEntry.java
@@ -1,4 +1,4 @@
-/* EnvelopeEntry.java --
+/* EnvelopeEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -80,7 +80,7 @@ public abstract class EnvelopeEntry
/**
* Adds an entry to this envelope.
- *
+ *
* @param entry The entry to add.
*/
public void add(Entry entry)
@@ -102,7 +102,7 @@ public abstract class EnvelopeEntry
/**
* Tests if this envelope contains a primitive entry with the given alias.
- *
+ *
* @param alias The alias to test.
* @return True if this envelope (or one of the contained envelopes) contains
* a primitive entry with the given alias.
@@ -133,7 +133,7 @@ public abstract class EnvelopeEntry
/**
* Tests if this envelope contains the given entry.
- *
+ *
* @param entry The entry to test.
* @return True if this envelope contains the given entry.
*/
@@ -156,7 +156,7 @@ public abstract class EnvelopeEntry
/**
* Returns a copy of all entries this envelope contains.
- *
+ *
* @return All contained entries.
*/
public List getEntries()
@@ -167,7 +167,7 @@ public abstract class EnvelopeEntry
/**
* Gets all primitive entries that have the given alias. If there are any
* masked entries that contain the given alias, they will be returned as well.
- *
+ *
* @param alias The alias of the entries to get.
* @return A list of all primitive entries that have the given alias.
*/
@@ -214,7 +214,7 @@ public abstract class EnvelopeEntry
/**
* Returns the list of all aliases contained by this envelope, separated by a
* semicolon (';').
- *
+ *
* @return The list of aliases.
*/
public String getAliasList()
@@ -228,7 +228,7 @@ public abstract class EnvelopeEntry
/**
* Removes the specified entry.
- *
+ *
* @param entry The entry.
* @return True if an entry was removed.
*/
@@ -280,7 +280,7 @@ public abstract class EnvelopeEntry
/**
* Removes all primitive entries that have the specified alias.
- *
+ *
* @param alias The alias of the entries to remove.
* @return <code>true</code> if <code>alias</code> was present and was
* successfully trmoved. Returns <code>false</code> if
diff --git a/gnu/javax/crypto/keyring/GnuPrivateKeyring.java b/gnu/javax/crypto/keyring/GnuPrivateKeyring.java
index 2ccdad6b3..ab3933972 100644
--- a/gnu/javax/crypto/keyring/GnuPrivateKeyring.java
+++ b/gnu/javax/crypto/keyring/GnuPrivateKeyring.java
@@ -1,4 +1,4 @@
-/* GnuPrivateKeyring.java --
+/* GnuPrivateKeyring.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -56,7 +56,7 @@ import java.util.logging.Level;
import java.util.logging.Logger;
/**
- *
+ *
*/
public class GnuPrivateKeyring
extends BaseKeyring
diff --git a/gnu/javax/crypto/keyring/GnuPublicKeyring.java b/gnu/javax/crypto/keyring/GnuPublicKeyring.java
index 5243919c3..d7387f892 100644
--- a/gnu/javax/crypto/keyring/GnuPublicKeyring.java
+++ b/gnu/javax/crypto/keyring/GnuPublicKeyring.java
@@ -1,4 +1,4 @@
-/* GnuPublicKeyring.java --
+/* GnuPublicKeyring.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/keyring/IKeyring.java b/gnu/javax/crypto/keyring/IKeyring.java
index 44d537700..141f2dcd4 100644
--- a/gnu/javax/crypto/keyring/IKeyring.java
+++ b/gnu/javax/crypto/keyring/IKeyring.java
@@ -1,4 +1,4 @@
-/* IKeyring.java --
+/* IKeyring.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -79,7 +79,7 @@ public interface IKeyring
* <p>
* What happens to the current contents of this keyring? are the new ones
* merged with the current ones or do they simply replace them?
- *
+ *
* @param attributes The attributes that designate the source where the store
* is to be loaded from. What happens
* @throws IllegalArgumentException If the attributes are inappropriate.
@@ -92,7 +92,7 @@ public interface IKeyring
/**
* Stores the contents of this keyring to persistent storage as specified by
* the designated <code>attributes</code>.
- *
+ *
* @param attributes the attributes that define where the contents of this
* keyring will be stored.
* @throws IOException if an exception occurs during the process.
@@ -107,7 +107,7 @@ public interface IKeyring
/**
* Returns the number of entries in this keyring.
- *
+ *
* @return The number of current entries in this keyring.
*/
int size();
@@ -115,7 +115,7 @@ public interface IKeyring
/**
* Returns an {@link Enumeration} of all aliases (instances of {@link String})
* in this keyring.
- *
+ *
* @return The enumeration of {@link String}s each representing an <i>alias</i>
* found in this keyring.
*/
@@ -123,7 +123,7 @@ public interface IKeyring
/**
* Tests whether or not this keyring contains the given alias.
- *
+ *
* @param alias The alias to check.
* @return true if this keyring contains the alias.
*/
@@ -133,7 +133,7 @@ public interface IKeyring
* Returns a {@link List} of entries (instances of {@link Entry}) for the
* given <code>alias</code>, or <code>null</code> if there no such entry
* exists.
- *
+ *
* @param alias The alias of the entry(ies) to return.
* @return A list of all entries (instances of {@link Entry} that have the
* given <code>alias</code>, or <code>null</code> if no one
@@ -145,7 +145,7 @@ public interface IKeyring
* Adds a designated {@link Entry} to this keyring.
* <p>
* What happens if there is already an entry with the same alias?
- *
+ *
* @param entry The entry to put in this keyring.
*/
void add(Entry entry);
@@ -155,7 +155,7 @@ public interface IKeyring
* keyring. Does nothing if there was no such entry.
* <p>
* What happens if there are more than one?
- *
+ *
* @param alias The alias of the entry to remove.
*/
void remove(String alias);
diff --git a/gnu/javax/crypto/keyring/IPrivateKeyring.java b/gnu/javax/crypto/keyring/IPrivateKeyring.java
index 9e2ceab9b..3bfa10098 100644
--- a/gnu/javax/crypto/keyring/IPrivateKeyring.java
+++ b/gnu/javax/crypto/keyring/IPrivateKeyring.java
@@ -1,4 +1,4 @@
-/* IPrivateKeyring.java --
+/* IPrivateKeyring.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -56,7 +56,7 @@ public interface IPrivateKeyring
/**
* Tests if this keyring contains a private key entry with the given
* <code>alias</code>.
- *
+ *
* @param alias The alias to check.
* @return <code>true</code> if this keyring contains a private key with the
* given <code>alias</code>; <code>false</code> otherwise.
@@ -65,7 +65,7 @@ public interface IPrivateKeyring
/**
* Returns the private key with the given <code>alias</code>.
- *
+ *
* @param alias The alias of the private key to find.
* @param password The password of the private key.
* @return The private, or secret, key if one is found; <code>null</code> if
@@ -78,7 +78,7 @@ public interface IPrivateKeyring
/**
* Adds a private key to this keyring.
- *
+ *
* @param alias The alias of the private key.
* @param key The private key.
* @param password The password used to protect this private key.
@@ -88,7 +88,7 @@ public interface IPrivateKeyring
/**
* Checks if this keyring contains a public key with the given
* <code>alias</code>.
- *
+ *
* @param alias The alias to test.
* @return <code>true</code> if this keyring contains a public key entry
* with the given <code>alias</code>; <code>false</code>
@@ -99,7 +99,7 @@ public interface IPrivateKeyring
/**
* Returns the public key with the given <code>alias</code>, or
* <code>null</code> if there is no such entry.
- *
+ *
* @param alias The alias of the public key to find.
* @return The public key; or <code>null</code> if none were found.
*/
@@ -107,7 +107,7 @@ public interface IPrivateKeyring
/**
* Sets a public key entry.
- *
+ *
* @param alias The alias for this public key.
* @param key The public key.
*/
@@ -116,7 +116,7 @@ public interface IPrivateKeyring
/**
* Checks if this keyring contains a certificate path with the given
* <code>alias</code>.
- *
+ *
* @param alias The alias to check.
* @return <code>true</code> if this keyring contains a certificate path
* with the given <code>alias</code>; <code>false</code>
@@ -127,7 +127,7 @@ public interface IPrivateKeyring
/**
* Returns the certificate path with the given <code>alias</code>, or
* <code>null</code> if there is no such entry.
- *
+ *
* @param alias The alias of the certificate path to find.
* @return The certificate path for the designated <code>alias</code>; or
* <code>null</code> if none were found.
@@ -136,7 +136,7 @@ public interface IPrivateKeyring
/**
* Sets a certificate path entry.
- *
+ *
* @param alias The alias for this certificate path.
* @param path The certificate path.
*/
diff --git a/gnu/javax/crypto/keyring/IPublicKeyring.java b/gnu/javax/crypto/keyring/IPublicKeyring.java
index efe568f18..d723f5ae9 100644
--- a/gnu/javax/crypto/keyring/IPublicKeyring.java
+++ b/gnu/javax/crypto/keyring/IPublicKeyring.java
@@ -1,4 +1,4 @@
-/* IPublicKeyring.java --
+/* IPublicKeyring.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -43,7 +43,7 @@ import java.security.cert.Certificate;
/**
* An interface for keyrings that contain trusted (by the owner) public
* credentials (incl. certificates).
- *
+ *
* @see IKeyring
*/
public interface IPublicKeyring
@@ -52,7 +52,7 @@ public interface IPublicKeyring
/**
* Tests if this keyring contains a certificate entry with the specified
* <code>alias</code>.
- *
+ *
* @param alias The alias of the certificate to check.
* @return <code>true</code> if this keyring contains a certificate entry
* that has the given <code>alias</code>; <code>false</code>
@@ -63,7 +63,7 @@ public interface IPublicKeyring
/**
* Returns a certificate that has the given <code>alias</code>, or
* <code>null</code> if this keyring has no such entry.
- *
+ *
* @param alias The alias of the certificate to find.
* @return The certificate with the designated <code>alias</code>, or
* <code>null</code> if none found.
@@ -74,7 +74,7 @@ public interface IPublicKeyring
* Adds a certificate in this keyring, with the given <code>alias</code>.
* <p>
* What happens if there is already a certificate entry with this alias?
- *
+ *
* @param alias The alias of this certificate entry.
* @param cert The certificate.
*/
diff --git a/gnu/javax/crypto/keyring/MalformedKeyringException.java b/gnu/javax/crypto/keyring/MalformedKeyringException.java
index 0dab3a764..f6b9d189b 100644
--- a/gnu/javax/crypto/keyring/MalformedKeyringException.java
+++ b/gnu/javax/crypto/keyring/MalformedKeyringException.java
@@ -1,4 +1,4 @@
-/* MalformedKeyringException.java --
+/* MalformedKeyringException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java b/gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
index 5206a5e07..58254a437 100644
--- a/gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
+++ b/gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
@@ -1,4 +1,4 @@
-/* MaskableEnvelopeEntry.java --
+/* MaskableEnvelopeEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -64,7 +64,7 @@ public abstract class MaskableEnvelopeEntry
/**
* Sets the masked state to the specified value.
- *
+ *
* @param masked The new masked state.
*/
protected final void setMasked(boolean masked)
@@ -75,7 +75,7 @@ public abstract class MaskableEnvelopeEntry
/**
* Gets the masked state of this object. Certain operations on this object
* will fail if it is masked.
- *
+ *
* @return The current masked state.
*/
public boolean isMasked()
diff --git a/gnu/javax/crypto/keyring/MeteredInputStream.java b/gnu/javax/crypto/keyring/MeteredInputStream.java
index 330e4b20f..65f263359 100644
--- a/gnu/javax/crypto/keyring/MeteredInputStream.java
+++ b/gnu/javax/crypto/keyring/MeteredInputStream.java
@@ -1,4 +1,4 @@
-/* MeteredInputStream.java --
+/* MeteredInputStream.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -59,7 +59,7 @@ final class MeteredInputStream
/**
* Tests if the number of bytes read has reached the limit.
- *
+ *
* @return True if the limit has been reached.
*/
public boolean limitReached()
diff --git a/gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java b/gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java
index be10029c8..d67300442 100644
--- a/gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java
+++ b/gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java
@@ -1,4 +1,4 @@
-/* PasswordAuthenticatedEntry.java --
+/* PasswordAuthenticatedEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/keyring/PasswordEncryptedEntry.java b/gnu/javax/crypto/keyring/PasswordEncryptedEntry.java
index 00031cbf1..0fa7431a8 100644
--- a/gnu/javax/crypto/keyring/PasswordEncryptedEntry.java
+++ b/gnu/javax/crypto/keyring/PasswordEncryptedEntry.java
@@ -1,4 +1,4 @@
-/* PasswordEncryptedEntry.java --
+/* PasswordEncryptedEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/keyring/PasswordProtectedEntry.java b/gnu/javax/crypto/keyring/PasswordProtectedEntry.java
index 5eff63792..a95f2e4a4 100644
--- a/gnu/javax/crypto/keyring/PasswordProtectedEntry.java
+++ b/gnu/javax/crypto/keyring/PasswordProtectedEntry.java
@@ -1,4 +1,4 @@
-/* PasswordProtectedEntry.java --
+/* PasswordProtectedEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -48,7 +48,7 @@ public interface PasswordProtectedEntry
/**
* Encodes this entry, protected by a password.
- *
+ *
* @param out The output stream to encode to.
* @param password The password.
* @throws IOException If an I/O error occurs.
diff --git a/gnu/javax/crypto/keyring/PrimitiveEntry.java b/gnu/javax/crypto/keyring/PrimitiveEntry.java
index 194fe9eee..8993de716 100644
--- a/gnu/javax/crypto/keyring/PrimitiveEntry.java
+++ b/gnu/javax/crypto/keyring/PrimitiveEntry.java
@@ -1,4 +1,4 @@
-/* PrimitiveEntry.java --
+/* PrimitiveEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -70,7 +70,7 @@ public abstract class PrimitiveEntry
/**
* Returns the alias of this primitive entry.
- *
+ *
* @return The alias.
*/
public String getAlias()
@@ -80,7 +80,7 @@ public abstract class PrimitiveEntry
/**
* Returns the creation date of this primitive entry.
- *
+ *
* @return The creation date.
*/
public Date getCreationDate()
diff --git a/gnu/javax/crypto/keyring/PrivateKeyEntry.java b/gnu/javax/crypto/keyring/PrivateKeyEntry.java
index 23244afee..b2637316e 100644
--- a/gnu/javax/crypto/keyring/PrivateKeyEntry.java
+++ b/gnu/javax/crypto/keyring/PrivateKeyEntry.java
@@ -1,4 +1,4 @@
-/* PrivateKeyEntry.java --
+/* PrivateKeyEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -65,7 +65,7 @@ public final class PrivateKeyEntry
/**
* Creates a new key entry.
- *
+ *
* @param key The key.
* @param creationDate The entry creation date.
* @param properties The entry properties.
@@ -143,7 +143,7 @@ public final class PrivateKeyEntry
/**
* Returns this entry's key.
- *
+ *
* @return The key.
*/
public Key getKey()
diff --git a/gnu/javax/crypto/keyring/Properties.java b/gnu/javax/crypto/keyring/Properties.java
index b833a74ae..f25c82e36 100644
--- a/gnu/javax/crypto/keyring/Properties.java
+++ b/gnu/javax/crypto/keyring/Properties.java
@@ -1,4 +1,4 @@
-/* Properties.java --
+/* Properties.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -74,7 +74,7 @@ public class Properties
/**
* Creates a copy of this properties object.
- *
+ *
* @return The copy.
*/
public Object clone()
@@ -86,7 +86,7 @@ public class Properties
/**
* Tests if this object contains a given property name.
- *
+ *
* @param key The key to test.
* @return True if this object contains the given key.
*/
@@ -99,7 +99,7 @@ public class Properties
/**
* Tests if this object contains a given property value.
- *
+ *
* @param value The value to test.
* @return True if this object contains the given value.
*/
@@ -112,7 +112,7 @@ public class Properties
/**
* Adds a new property to this object.
- *
+ *
* @param key The key, which can neither be null nor empty.
* @param value The value, which cannot be null.
* @return The old value mapped by the key, if any.
@@ -129,7 +129,7 @@ public class Properties
/**
* Returns the value mapped by the given key, or null if there is no such
* mapping.
- *
+ *
* @param key
*/
public String get(String key)
@@ -141,7 +141,7 @@ public class Properties
/**
* Removes a key and its value from this object.
- *
+ *
* @param key The key of the property to remove.
* @return The old value mapped by the key, if any.
*/
@@ -154,7 +154,7 @@ public class Properties
/**
* Decodes a set of properties from the given input stream.
- *
+ *
* @param in The input stream.
* @throws IOException If an I/O error occurs.
*/
@@ -173,7 +173,7 @@ public class Properties
/**
* Encodes this set of properties to the given output stream.
- *
+ *
* @param out The output stream to encode to.
* @throws IOException If an I/O error occurs.
*/
diff --git a/gnu/javax/crypto/keyring/PublicKeyEntry.java b/gnu/javax/crypto/keyring/PublicKeyEntry.java
index 3e7f54d3e..837706d19 100644
--- a/gnu/javax/crypto/keyring/PublicKeyEntry.java
+++ b/gnu/javax/crypto/keyring/PublicKeyEntry.java
@@ -1,4 +1,4 @@
-/* PublicKeyEntry.java --
+/* PublicKeyEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -123,7 +123,7 @@ public final class PublicKeyEntry
/**
* Returns the public key.
- *
+ *
* @return The public key.
*/
public PublicKey getKey()
diff --git a/gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java b/gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java
index 206e01d13..80b114a02 100644
--- a/gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java
+++ b/gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java
@@ -60,7 +60,7 @@ public abstract class BaseKeyWrappingAlgorithm
/**
* Protected constructor.
- *
+ *
* @param name the key wrapping algorithm canonical name.
*/
protected BaseKeyWrappingAlgorithm(String name)
diff --git a/gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java b/gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java
index d9c2bed14..271ec5c1b 100644
--- a/gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java
+++ b/gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java
@@ -71,7 +71,7 @@ public interface IKeyWrappingAlgorithm
/**
* Returns the canonical name of this Key Wrapping Algorithm.
- *
+ *
* @return the canonical name of this Key Wrapping Algorithm.
*/
String name();
@@ -79,7 +79,7 @@ public interface IKeyWrappingAlgorithm
/**
* Initializes this instance with the designated algorithm specific
* attributes.
- *
+ *
* @param attributes a map of name-to-value pairs the Key Wrapping Algorithm
* must use for its setup.
* @throws InvalidKeyException if an exception is encountered while seting up
@@ -89,7 +89,7 @@ public interface IKeyWrappingAlgorithm
/**
* Wraps the designated plain text bytes.
- *
+ *
* @param in the input byte array containing the plain text.
* @param inOffset the offset into <code>in</code> where the first byte of
* the plain text (key material) to wrap is located.
@@ -110,7 +110,7 @@ public interface IKeyWrappingAlgorithm
/**
* Wraps the designated plain text bytes.
- *
+ *
* @param in the input byte array containing the plain text.
* @param inOffset the offset into <code>in</code> where the first byte of
* the plain text (key material) to wrap is located.
@@ -121,7 +121,7 @@ public interface IKeyWrappingAlgorithm
/**
* Unwraps the designated cipher text bytes.
- *
+ *
* @param in the input byte array containing the cipher text.
* @param inOffset the offset into <code>in</code> where the first byte of
* the cipher text (already wrapped key material) to unwrap is
@@ -145,7 +145,7 @@ public interface IKeyWrappingAlgorithm
/**
* Unwraps the designated cipher text bytes.
- *
+ *
* @param in the input byte array containing the cipher text.
* @param inOffset the offset into <code>in</code> where the first byte of
* the cipher text (already wrapped key material) to unwrap is
diff --git a/gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java b/gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java
index 6f6cd1219..abd208c07 100644
--- a/gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java
+++ b/gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java
@@ -51,7 +51,7 @@ public class KeyWrappingAlgorithmFactory
{
/** Names of Key Wrapping Algorihms cached for speed. */
private static Set names;
-
+
/** Trivial constructor to enforce Singleton pattern. */
private KeyWrappingAlgorithmFactory()
{
@@ -60,7 +60,7 @@ public class KeyWrappingAlgorithmFactory
/**
* Returns an instance of a key-wrapping algorithm given its name.
- *
+ *
* @param name the case-insensitive name of the key-wrapping algorithm.
* @return an instance of the designated key-wrapping algorithm, or
* <code>null</code> if none was found.
@@ -88,7 +88,7 @@ public class KeyWrappingAlgorithmFactory
/**
* Returns a {@link Set} of key wrapping algorithm names supported by this
* <i>Factory</i>.
- *
+ *
* @return a {@link Set} of key wrapping algorithm names (Strings).
*/
public static synchronized final Set getNames()
diff --git a/gnu/javax/crypto/kwa/TripleDESKeyWrap.java b/gnu/javax/crypto/kwa/TripleDESKeyWrap.java
index 71562bd75..28b16cf31 100644
--- a/gnu/javax/crypto/kwa/TripleDESKeyWrap.java
+++ b/gnu/javax/crypto/kwa/TripleDESKeyWrap.java
@@ -124,7 +124,7 @@ public class TripleDESKeyWrap
}
else
System.arraycopy(in, inOffset, CEK, 0, 24);
-
+
// TODO: check for the following:
// However, a Two-key Triple-DES key MUST NOT be used to wrap a Three-
// key Triple-DES key that is comprised of three unique DES keys.
@@ -276,10 +276,10 @@ public class TripleDESKeyWrap
// 9. Use CEK as a Triple-DES key.
return CEK;
}
-
+
/**
* Fills the designated byte array with random data.
- *
+ *
* @param buffer the byte array to fill with random data.
*/
private void nextRandomBytes(byte[] buffer)
diff --git a/gnu/javax/crypto/mac/BaseMac.java b/gnu/javax/crypto/mac/BaseMac.java
index 16922130f..4c524e905 100644
--- a/gnu/javax/crypto/mac/BaseMac.java
+++ b/gnu/javax/crypto/mac/BaseMac.java
@@ -1,4 +1,4 @@
-/* BaseMac.java --
+/* BaseMac.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -59,7 +59,7 @@ public abstract class BaseMac
/**
* Trivial constructor for use by concrete subclasses.
- *
+ *
* @param name the canonical name of this instance.
*/
protected BaseMac(String name)
@@ -71,7 +71,7 @@ public abstract class BaseMac
/**
* Trivial constructor for use by concrete subclasses.
- *
+ *
* @param name the canonical name of this instance.
* @param underlyingHash the underlying message digest algorithm instance.
*/
diff --git a/gnu/javax/crypto/mac/HMac.java b/gnu/javax/crypto/mac/HMac.java
index f0e588d18..ae2cd3ce2 100644
--- a/gnu/javax/crypto/mac/HMac.java
+++ b/gnu/javax/crypto/mac/HMac.java
@@ -1,4 +1,4 @@
-/* HMac.java --
+/* HMac.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/mac/HMacFactory.java b/gnu/javax/crypto/mac/HMacFactory.java
index bc70e8b66..0afd8c6ac 100644
--- a/gnu/javax/crypto/mac/HMacFactory.java
+++ b/gnu/javax/crypto/mac/HMacFactory.java
@@ -1,4 +1,4 @@
-/* HMacFactory.java --
+/* HMacFactory.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -63,7 +63,7 @@ public class HMacFactory
* Return an instance of a <i>HMAC</i> algorithm given the name of its
* underlying hash function, prefixed with the literal defined in
* {@link Registry#HMAC_NAME_PREFIX}.
- *
+ *
* @param name the fully qualified name of the underlying algorithm: composed
* as the concatenation of a literal prefix (see
* {@link Registry#HMAC_NAME_PREFIX}) and the name of the underlying
@@ -96,7 +96,7 @@ public class HMacFactory
* Returns a {@link java.util.Set} of names of <i>HMAC</i> algorithms
* supported by this <i>Factory</i>.
* </p>
- *
+ *
* @return a {@link java.util.Set} of HMAC algorithm names (Strings).
*/
public static final Set getNames()
diff --git a/gnu/javax/crypto/mac/IMac.java b/gnu/javax/crypto/mac/IMac.java
index a9da9eefb..a9582564d 100644
--- a/gnu/javax/crypto/mac/IMac.java
+++ b/gnu/javax/crypto/mac/IMac.java
@@ -1,4 +1,4 @@
-/* IMac.java --
+/* IMac.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -107,14 +107,14 @@ public interface IMac
/**
* Returns the canonical name of this algorithm.
- *
+ *
* @return the canonical name of this algorithm.
*/
String name();
/**
* Returns the output length in bytes of this <i>MAC</i> algorithm.
- *
+ *
* @return the output length in bytes of this <i>MAC</i> algorithm.
*/
int macSize();
@@ -122,7 +122,7 @@ public interface IMac
/**
* Initialises the algorithm with designated attributes. Permissible names and
* values are described in the class documentation above.
- *
+ *
* @param attributes a set of name-value pairs that describe the desired
* future instance behaviour.
* @exception InvalidKeyException if the key data is invalid.
@@ -133,7 +133,7 @@ public interface IMac
/**
* Continues a <i>MAC</i> operation using the input byte.
- *
+ *
* @param b the input byte to digest.
*/
void update(byte b);
@@ -142,7 +142,7 @@ public interface IMac
* Continues a <i>MAC</i> operation, by filling the buffer, processing data
* in the algorithm's MAC_SIZE-bit block(s), updating the context and count,
* and buffering the remaining bytes in buffer for the next operation.
- *
+ *
* @param in the input block.
* @param offset start of meaningful bytes in input block.
* @param length number of bytes, in input block, to consider.
@@ -152,7 +152,7 @@ public interface IMac
/**
* Completes the <i>MAC</i> by performing final operations such as padding
* and resetting the instance.
- *
+ *
* @return the array of bytes representing the <i>MAC</i> value.
*/
byte[] digest();
@@ -166,7 +166,7 @@ public interface IMac
/**
* A basic test. Ensures that the MAC of a pre-determined message is equal to
* a known pre-computed value.
- *
+ *
* @return <code>true</code> if the implementation passes a basic self-test.
* Returns <code>false</code> otherwise.
*/
@@ -174,7 +174,7 @@ public interface IMac
/**
* Returns a clone copy of this instance.
- *
+ *
* @return a clone copy of this instance.
*/
Object clone() throws CloneNotSupportedException;
diff --git a/gnu/javax/crypto/mac/MacFactory.java b/gnu/javax/crypto/mac/MacFactory.java
index 5d4a56182..5e3b50f7f 100644
--- a/gnu/javax/crypto/mac/MacFactory.java
+++ b/gnu/javax/crypto/mac/MacFactory.java
@@ -1,4 +1,4 @@
-/* MacFactory.java --
+/* MacFactory.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -64,7 +64,7 @@ public class MacFactory
/**
* Returns an instance of a <i>MAC</i> algorithm given its name.
- *
+ *
* @param name the name of the MAC algorithm.
* @return an instance of the <i>MAC</i> algorithm, or <code>null</code> if
* none can be constructed.
@@ -105,7 +105,7 @@ public class MacFactory
/**
* Returns a {@link Set} of names of <i>MAC</i> algorithms supported by this
* <i>Factory</i>.
- *
+ *
* @return a {@link Set} of MAC names (Strings).
*/
public static final Set getNames()
diff --git a/gnu/javax/crypto/mac/MacInputStream.java b/gnu/javax/crypto/mac/MacInputStream.java
index e734b1bbb..7ea808aa9 100644
--- a/gnu/javax/crypto/mac/MacInputStream.java
+++ b/gnu/javax/crypto/mac/MacInputStream.java
@@ -1,4 +1,4 @@
-/* MacInputStream.java --
+/* MacInputStream.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -58,7 +58,7 @@ public class MacInputStream
* Creates a new MacInputStream. The stream is initially set to digest data
* written, the <i>mac</i> argument must have already been initialized, and
* the <i>mac</i> argument is <b>not</b> cloned.
- *
+ *
* @param in The underlying input stream.
* @param mac The mac instance to use.
*/
@@ -73,7 +73,7 @@ public class MacInputStream
/**
* Returns the MAC this stream is updating.
- *
+ *
* @return The MAC.
*/
public IMac getMac()
@@ -84,7 +84,7 @@ public class MacInputStream
/**
* Sets the MAC this stream is updating, which must have already been
* initialized. The argument is not cloned by this method.
- *
+ *
* @param mac The new MAC.
* @throws NullPointerException If the argument is null.
*/
@@ -98,7 +98,7 @@ public class MacInputStream
/**
* Turns the digesting state on or off. When off, the MAC will not be updated
* when data is written to the stream.
- *
+ *
* @param flag The new digesting state.
*/
public void on(boolean flag)
diff --git a/gnu/javax/crypto/mac/MacOutputStream.java b/gnu/javax/crypto/mac/MacOutputStream.java
index 739a78497..2aa352d75 100644
--- a/gnu/javax/crypto/mac/MacOutputStream.java
+++ b/gnu/javax/crypto/mac/MacOutputStream.java
@@ -1,4 +1,4 @@
-/* MacOutputStream.java --
+/* MacOutputStream.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -59,7 +59,7 @@ public class MacOutputStream
* to digest data written, the <code>mac</code> argument must have already
* been initialized, and the <code>mac</code> argument is <b>not</b>
* cloned.
- *
+ *
* @param out The underlying output stream.
* @param mac The mac instance to use.
*/
@@ -74,7 +74,7 @@ public class MacOutputStream
/**
* Returns the MAC this stream is updating.
- *
+ *
* @return The MAC.
*/
public IMac getMac()
@@ -85,7 +85,7 @@ public class MacOutputStream
/**
* Sets the MAC this stream is updating, which must have already been
* initialized. The argument is not cloned by this method.
- *
+ *
* @param mac The non-null new MAC.
* @throws NullPointerException If the argument is null.
*/
@@ -99,7 +99,7 @@ public class MacOutputStream
/**
* Turns the digesting state on or off. When off, the MAC will not be updated
* when data is written to the stream.
- *
+ *
* @param flag The new digesting state.
*/
public void on(boolean flag)
diff --git a/gnu/javax/crypto/mac/OMAC.java b/gnu/javax/crypto/mac/OMAC.java
index cd753acaf..6758b314f 100644
--- a/gnu/javax/crypto/mac/OMAC.java
+++ b/gnu/javax/crypto/mac/OMAC.java
@@ -1,4 +1,4 @@
-/* OMAC.java --
+/* OMAC.java --
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/mac/TMMH16.java b/gnu/javax/crypto/mac/TMMH16.java
index 0a7b4a6ca..3427317ab 100644
--- a/gnu/javax/crypto/mac/TMMH16.java
+++ b/gnu/javax/crypto/mac/TMMH16.java
@@ -1,4 +1,4 @@
-/* TMMH16.java --
+/* TMMH16.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -243,7 +243,7 @@ public class TMMH16
/**
* Similar to the same method with one argument, but uses the designated
* random number generator to compute needed keying material.
- *
+ *
* @param b the byte to process.
* @param prng the source of randomness to use.
*/
@@ -271,7 +271,7 @@ public class TMMH16
/**
* Similar to the same method with three arguments, but uses the designated
* random number generator to compute needed keying material.
- *
+ *
* @param b the byte array to process.
* @param offset the starting offset in <code>b</code> to start considering
* the bytes to process.
@@ -288,7 +288,7 @@ public class TMMH16
/**
* Similar to the same method with no arguments, but uses the designated
* random number generator to compute needed keying material.
- *
+ *
* @param prng the source of randomness to use.
* @return the final result of the algorithm.
*/
diff --git a/gnu/javax/crypto/mac/UHash32.java b/gnu/javax/crypto/mac/UHash32.java
index 737e9ce24..53513eda9 100644
--- a/gnu/javax/crypto/mac/UHash32.java
+++ b/gnu/javax/crypto/mac/UHash32.java
@@ -1,4 +1,4 @@
-/* UHash32.java --
+/* UHash32.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -632,7 +632,7 @@ public class UHash32
/**
* 5.3 POLY: Polynomial hash Function Name: POLY
- *
+ *
* @param wordbits positive integer divisible by 8: called with 64 or 128.
* @param maxwordrange positive integer less than 2**wordbits.
* @param k integer in the range 0 .. prime(wordbits) - 1.
diff --git a/gnu/javax/crypto/mac/UMac32.java b/gnu/javax/crypto/mac/UMac32.java
index 8e913db71..6f53424ea 100644
--- a/gnu/javax/crypto/mac/UMac32.java
+++ b/gnu/javax/crypto/mac/UMac32.java
@@ -1,4 +1,4 @@
-/* UMac32.java --
+/* UMac32.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -160,7 +160,7 @@ public class UMac32
/**
* Private constructor for cloning purposes.
- *
+ *
* @param that the instance to clone.
*/
private UMac32(UMac32 that)
@@ -218,7 +218,7 @@ public class UMac32
* (from an earlier invocation of this method). If a <i>Key Material</i> can
* be used, but no <i>Nonce Material</i> is defined or previously
* set/defined, then a default value of all-zeroes shall be used.
- *
+ *
* @param attributes one or both of required parameters.
* @throws InvalidKeyException the key material specified is not of the
* correct length.
diff --git a/gnu/javax/crypto/mode/BaseMode.java b/gnu/javax/crypto/mode/BaseMode.java
index 02e432290..831dd9664 100644
--- a/gnu/javax/crypto/mode/BaseMode.java
+++ b/gnu/javax/crypto/mode/BaseMode.java
@@ -1,4 +1,4 @@
-/* BaseMode.java --
+/* BaseMode.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -74,7 +74,7 @@ public abstract class BaseMode
/**
* Trivial constructor for use by concrete subclasses.
- *
+ *
* @param name the canonical name prefix of this mode.
* @param underlyingCipher the implementation of the underlying cipher.
* @param cipherBlockSize the block size, in bytes, in which to operate the
@@ -124,7 +124,7 @@ public abstract class BaseMode
* the same block size as its underlying block cipher. As mentioned earlier,
* the block size of the underlying block cipher itself is specified in one of
* the method(s) available in the factory class.
- *
+ *
* @return the default value, in bytes, of the mode's block size.
* @see ModeFactory
*/
@@ -136,7 +136,7 @@ public abstract class BaseMode
/**
* Returns the default value, in bytes, of the underlying block cipher key
* size.
- *
+ *
* @return the default value, in bytes, of the underlying cipher's key size.
*/
public int defaultKeySize()
@@ -152,7 +152,7 @@ public abstract class BaseMode
* is that currently configured for the underlying block cipher. Concrete
* implementations may override this behaviour to signal their ability to
* support other values.
- *
+ *
* @return an {@link Iterator} over the supported block sizes.
*/
public Iterator blockSizes()
@@ -166,7 +166,7 @@ public abstract class BaseMode
* Returns an {@link Iterator} over the supported underlying block cipher key
* sizes. Each element returned by this object is an instance of
* {@link Integer}.
- *
+ *
* @return an {@link Iterator} over the supported key sizes.
*/
public Iterator keySizes()
diff --git a/gnu/javax/crypto/mode/CBC.java b/gnu/javax/crypto/mode/CBC.java
index f3b3fb331..31c445f4e 100644
--- a/gnu/javax/crypto/mode/CBC.java
+++ b/gnu/javax/crypto/mode/CBC.java
@@ -1,4 +1,4 @@
-/* CBC.java --
+/* CBC.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -45,7 +45,7 @@ import gnu.javax.crypto.cipher.IBlockCipher;
* The Cipher Block Chaining mode. This mode introduces feedback into the cipher
* by XORing the previous ciphertext block with the plaintext block before
* encipherment. That is, encrypting looks like this:
- *
+ *
* <pre>
* C<sub>i</sub> = E<sub>K</sub>(P<sub>i</sub>&circ; C<sub>i-1</sub>)
* </pre>
@@ -66,7 +66,7 @@ public class CBC
/**
* Package-private constructor for the factory class.
- *
+ *
* @param underlyingCipher The cipher implementation.
* @param cipherBlockSize The cipher's block size.
*/
diff --git a/gnu/javax/crypto/mode/CFB.java b/gnu/javax/crypto/mode/CFB.java
index 6fc006373..c5f06e11c 100644
--- a/gnu/javax/crypto/mode/CFB.java
+++ b/gnu/javax/crypto/mode/CFB.java
@@ -1,4 +1,4 @@
-/* CFB.java --
+/* CFB.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -83,7 +83,7 @@ public class CFB
/**
* Package-private constructor for the factory class.
- *
+ *
* @param underlyingCipher The cipher implementation.
* @param cipherBlockSize The cipher's block size.
*/
@@ -94,7 +94,7 @@ public class CFB
/**
* Cloneing constructor.
- *
+ *
* @param that The instance being cloned.
*/
private CFB(CFB that)
diff --git a/gnu/javax/crypto/mode/CTR.java b/gnu/javax/crypto/mode/CTR.java
index 0c856b483..56ea58c25 100644
--- a/gnu/javax/crypto/mode/CTR.java
+++ b/gnu/javax/crypto/mode/CTR.java
@@ -1,4 +1,4 @@
-/* CTR.java --
+/* CTR.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -49,14 +49,14 @@ import java.util.Iterator;
* The implementation of the Counter Mode.
* <p>
* The algorithm steps are formally described as follows:
- *
+ *
* <pre>
* CTR Encryption: O[j] = E(K)(T[j]); for j = 1, 2...n;
* C[j] = P[j] &circ; O[j]; for j = 1, 2...n.
* CTR Decryption: O[j] = E(K)(T[j]); for j = 1, 2...n;
* P[j] = C[j] &circ; O[j]; for j = 1, 2...n.
* </pre>
- *
+ *
* <p>
* where <code>P</code> is the plaintext, <code>C</code> is the ciphertext,
* <code>E(K)</code> is the underlying block cipher encryption function
@@ -83,7 +83,7 @@ public class CTR
/**
* Trivial package-private constructor for use by the Factory class.
- *
+ *
* @param underlyingCipher the underlying cipher implementation.
* @param cipherBlockSize the underlying cipher block size to use.
*/
@@ -94,7 +94,7 @@ public class CTR
/**
* Private constructor for cloning purposes.
- *
+ *
* @param that the instance to clone.
*/
private CTR(CTR that)
diff --git a/gnu/javax/crypto/mode/EAX.java b/gnu/javax/crypto/mode/EAX.java
index 401616b9f..b3e4a6a4e 100644
--- a/gnu/javax/crypto/mode/EAX.java
+++ b/gnu/javax/crypto/mode/EAX.java
@@ -1,4 +1,4 @@
-/* EAX.java --
+/* EAX.java --
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/mode/ECB.java b/gnu/javax/crypto/mode/ECB.java
index 665e526ca..7e02b0187 100644
--- a/gnu/javax/crypto/mode/ECB.java
+++ b/gnu/javax/crypto/mode/ECB.java
@@ -1,4 +1,4 @@
-/* ECB.java --
+/* ECB.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -75,7 +75,7 @@ public class ECB
{
/**
* Trivial package-private constructor for use by the Factory class.
- *
+ *
* @param underlyingCipher the underlying cipher implementation.
* @param cipherBlockSize the underlying cipher block size to use.
*/
@@ -86,7 +86,7 @@ public class ECB
/**
* Private constructor for cloning purposes.
- *
+ *
* @param that the mode to clone.
*/
private ECB(ECB that)
diff --git a/gnu/javax/crypto/mode/IAuthenticatedMode.java b/gnu/javax/crypto/mode/IAuthenticatedMode.java
index 703679dc0..51a5547f2 100644
--- a/gnu/javax/crypto/mode/IAuthenticatedMode.java
+++ b/gnu/javax/crypto/mode/IAuthenticatedMode.java
@@ -1,4 +1,4 @@
-/* IAuthenticatedMode.java --
+/* IAuthenticatedMode.java --
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/mode/ICM.java b/gnu/javax/crypto/mode/ICM.java
index 833ddb18f..a4737bcdf 100644
--- a/gnu/javax/crypto/mode/ICM.java
+++ b/gnu/javax/crypto/mode/ICM.java
@@ -1,4 +1,4 @@
-/* ICM.java --
+/* ICM.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -103,7 +103,7 @@ public class ICM
/**
* Trivial package-private constructor for use by the Factory class.
- *
+ *
* @param underlyingCipher the underlying cipher implementation.
* @param cipherBlockSize the underlying cipher block size to use.
*/
@@ -114,7 +114,7 @@ public class ICM
/**
* Private constructor for cloning purposes.
- *
+ *
* @param that the instance to clone.
*/
private ICM(ICM that)
diff --git a/gnu/javax/crypto/mode/IMode.java b/gnu/javax/crypto/mode/IMode.java
index 30485117d..72c99ba73 100644
--- a/gnu/javax/crypto/mode/IMode.java
+++ b/gnu/javax/crypto/mode/IMode.java
@@ -1,4 +1,4 @@
-/* IMode.java --
+/* IMode.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -110,7 +110,7 @@ public interface IMode
* A convenience method. Effectively invokes the <code>encryptBlock()</code>
* or <code>decryptBlock()</code> method depending on the operational state
* of the instance.
- *
+ *
* @param in the plaintext.
* @param inOffset index of <code>in</code> from which to start considering
* data.
diff --git a/gnu/javax/crypto/mode/ModeFactory.java b/gnu/javax/crypto/mode/ModeFactory.java
index d1acdf4e5..c1108ea11 100644
--- a/gnu/javax/crypto/mode/ModeFactory.java
+++ b/gnu/javax/crypto/mode/ModeFactory.java
@@ -1,4 +1,4 @@
-/* ModeFactory.java --
+/* ModeFactory.java --
Copyright (C) 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -65,7 +65,7 @@ public class ModeFactory
/**
* Returns an instance of a block cipher mode of operations given its name and
* characteristics of the underlying block cipher.
- *
+ *
* @param mode the case-insensitive name of the mode of operations.
* @param cipher the case-insensitive name of the block cipher.
* @param cipherBlockSize the block size, in bytes, of the underlying cipher.
@@ -126,7 +126,7 @@ public class ModeFactory
/**
* Returns a {@link Set} of names of mode supported by this <i>Factory</i>.
- *
+ *
* @return a {@link Set} of mode names (Strings).
*/
public static final Set getNames()
diff --git a/gnu/javax/crypto/mode/OFB.java b/gnu/javax/crypto/mode/OFB.java
index c8b6d7e97..087f99132 100644
--- a/gnu/javax/crypto/mode/OFB.java
+++ b/gnu/javax/crypto/mode/OFB.java
@@ -1,4 +1,4 @@
-/* OFB.java --
+/* OFB.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -125,7 +125,7 @@ public class OFB
/**
* Trivial package-private constructor for use by the Factory class.
- *
+ *
* @param underlyingCipher the underlying cipher implementation.
* @param cipherBlockSize the underlying cipher block size to use.
*/
@@ -136,7 +136,7 @@ public class OFB
/**
* Private constructor for cloning purposes.
- *
+ *
* @param that the mode to clone.
*/
private OFB(OFB that)
diff --git a/gnu/javax/crypto/pad/BasePad.java b/gnu/javax/crypto/pad/BasePad.java
index adc2c9bbc..feeaca2f0 100644
--- a/gnu/javax/crypto/pad/BasePad.java
+++ b/gnu/javax/crypto/pad/BasePad.java
@@ -1,4 +1,4 @@
-/* BasePad.java --
+/* BasePad.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -94,7 +94,7 @@ public abstract class BasePad
* an {@link UnsupportedOperationException}. Concrete padding algorithms MUST
* override this method if they wish to offer an initialisation method that
* allows for other than the padding block size parameter to be specified.
- *
+ *
* @param attributes a set of name-value pairs that describes the desired
* future behaviour of this instance.
* @exception IllegalStateException if the instance is already initialised.
@@ -113,7 +113,7 @@ public abstract class BasePad
/**
* A default implementation of a correctness test that exercises the padder
* implementation, using block sizes varying from 2 to 256 bytes.
- *
+ *
* @return <code>true</code> if the concrete implementation correctly unpads
* what it pads for all tested block sizes. Returns <code>false</code>
* if the test fails for any block size.
@@ -132,7 +132,7 @@ public abstract class BasePad
* <p>
* The code ensures that the implementation is capable of unpadding what it
* pads.
- *
+ *
* @param size the block size to test.
* @param buffer a work buffer. It is exposed as an argument for this method
* to reduce un-necessary object allocations.
diff --git a/gnu/javax/crypto/pad/IPad.java b/gnu/javax/crypto/pad/IPad.java
index 0e3db7db1..f5160e078 100644
--- a/gnu/javax/crypto/pad/IPad.java
+++ b/gnu/javax/crypto/pad/IPad.java
@@ -1,4 +1,4 @@
-/* IPad.java --
+/* IPad.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -53,7 +53,7 @@ public interface IPad
{
/**
* Property name of the block size in which to operate the padding algorithm.
- * The value associated with this property name is taken to be a positive
+ * The value associated with this property name is taken to be a positive
* {@link Integer} greater than zero.
*/
String PADDING_BLOCK_SIZE = "gnu.crypto.pad.block.size";
@@ -63,7 +63,7 @@ public interface IPad
/**
* Initialises the padding scheme with a designated block size.
- *
+ *
* @param bs the designated block size.
* @exception IllegalStateException if the instance is already initialised.
* @exception IllegalArgumentException if the block size value is invalid.
@@ -75,7 +75,7 @@ public interface IPad
* recognisable by all concrete implementations are described in the class
* documentation above. Other algorithm-specific attributes MUST be documented
* in the implementation class of that padding algorithm.
- *
+ *
* @param attributes a set of name-value pairs that describes the desired
* future behaviour of this instance.
* @exception IllegalStateException if the instance is already initialised.
@@ -85,7 +85,7 @@ public interface IPad
/**
* Returns the byte sequence that should be appended to the designated input.
- *
+ *
* @param in the input buffer containing the bytes to pad.
* @param offset the starting index of meaningful data in <i>in</i>.
* @param length the number of meaningful bytes in <i>in</i>.
@@ -96,7 +96,7 @@ public interface IPad
/**
* Returns the number of bytes to discard from a designated input buffer.
- *
+ *
* @param in the input buffer containing the bytes to unpad.
* @param offset the starting index of meaningful data in <i>in</i>.
* @param length the number of meaningful bytes in <i>in</i>.
@@ -119,7 +119,7 @@ public interface IPad
/**
* A basic symmetric pad/unpad test.
- *
+ *
* @return <code>true</code> if the implementation passes a basic symmetric
* self-test. Returns <code>false</code> otherwise.
*/
diff --git a/gnu/javax/crypto/pad/PKCS1_V1_5.java b/gnu/javax/crypto/pad/PKCS1_V1_5.java
index 9ddc60989..e303264ae 100644
--- a/gnu/javax/crypto/pad/PKCS1_V1_5.java
+++ b/gnu/javax/crypto/pad/PKCS1_V1_5.java
@@ -1,4 +1,4 @@
-/* PKCS1_V1_5.java --
+/* PKCS1_V1_5.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -60,7 +60,7 @@ import java.util.logging.Logger;
* RSA Cryptography Specifications Version 2.1.<br>
* Jakob Jonsson and Burt Kaliski.</li>
* </ol>
- *
+ *
* @see EME_PKCS1_V1_5
*/
public class PKCS1_V1_5
diff --git a/gnu/javax/crypto/pad/PKCS7.java b/gnu/javax/crypto/pad/PKCS7.java
index 8fce5b8b0..9dd67fc81 100644
--- a/gnu/javax/crypto/pad/PKCS7.java
+++ b/gnu/javax/crypto/pad/PKCS7.java
@@ -1,4 +1,4 @@
-/* PKCS7.java --
+/* PKCS7.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -69,7 +69,7 @@ public final class PKCS7
/**
* Trivial package-private constructor for use by the <i>Factory</i> class.
- *
+ *
* @see PadFactory
*/
PKCS7()
diff --git a/gnu/javax/crypto/pad/PadFactory.java b/gnu/javax/crypto/pad/PadFactory.java
index eaa78112e..2df2029fa 100644
--- a/gnu/javax/crypto/pad/PadFactory.java
+++ b/gnu/javax/crypto/pad/PadFactory.java
@@ -1,4 +1,4 @@
-/* PadFactory.java --
+/* PadFactory.java --
Copyright (C) 2001, 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -61,7 +61,7 @@ public class PadFactory
/**
* Returns an instance of a padding algorithm given its name.
- *
+ *
* @param pad the case-insensitive name of the padding algorithm.
* @return an instance of the padding algorithm, operating with a given block
* size, or <code>null</code> if none found.
@@ -98,7 +98,7 @@ public class PadFactory
/**
* Returns a {@link Set} of names of padding algorithms supported by this
* <i>Factory</i>.
- *
+ *
* @return a {@link Set} of padding algorithm names (Strings).
*/
public static final Set getNames()
diff --git a/gnu/javax/crypto/pad/TBC.java b/gnu/javax/crypto/pad/TBC.java
index e5ff4b5dc..5cd177058 100644
--- a/gnu/javax/crypto/pad/TBC.java
+++ b/gnu/javax/crypto/pad/TBC.java
@@ -1,4 +1,4 @@
-/* TBC.java --
+/* TBC.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -68,7 +68,7 @@ public final class TBC
/**
* Trivial package-private constructor for use by the <i>Factory</i> class.
- *
+ *
* @see PadFactory
*/
TBC()
diff --git a/gnu/javax/crypto/pad/WrongPaddingException.java b/gnu/javax/crypto/pad/WrongPaddingException.java
index 090d021eb..d15723faf 100644
--- a/gnu/javax/crypto/pad/WrongPaddingException.java
+++ b/gnu/javax/crypto/pad/WrongPaddingException.java
@@ -1,4 +1,4 @@
-/* WrongPaddingException.java --
+/* WrongPaddingException.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/prng/ARCFour.java b/gnu/javax/crypto/prng/ARCFour.java
index b72652942..60464d5ba 100644
--- a/gnu/javax/crypto/prng/ARCFour.java
+++ b/gnu/javax/crypto/prng/ARCFour.java
@@ -1,4 +1,4 @@
-/* ARCFour.java --
+/* ARCFour.java --
Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/prng/CSPRNG.java b/gnu/javax/crypto/prng/CSPRNG.java
index 2cf75a966..ecea2f469 100644
--- a/gnu/javax/crypto/prng/CSPRNG.java
+++ b/gnu/javax/crypto/prng/CSPRNG.java
@@ -99,7 +99,7 @@ public class CSPRNG
* <li>An {@link Integer}, indicating the number of bytes to read.</li>
* <li>A {@link String}, indicating the path to the file.</li>
* </ol>
- *
+ *
* @see gnu.java.security.util.SimpleList
*/
public static final String FILE_SOURCES = "gnu.crypto.prng.pool.files";
@@ -268,16 +268,16 @@ public class CSPRNG
* An example of valid properties would be:
* <pre>
* gnu.crypto.csprng.blocking=true
- *
+ *
* gnu.crypto.csprng.file.1=75.0;0;256;/dev/random
* gnu.crypto.csprng.file.2=10.0;0;100;/home/user/file
- *
+ *
* gnu.crypto.csprng.url.1=5.0;0;256;http://www.random.org/cgi-bin/randbyte?nbytes=256
* gnu.crypto.csprng.url.2=0;256;256;http://slashdot.org/
- *
+ *
* gnu.crypto.csprng.program.1=0.5;0;10;last -n 50
* gnu.crypto.csprng.program.2=0.5;0;10;tcpdump -c 5
- *
+ *
* gnu.crypto.csprng.other.1=foo.bar.MyEntropySource
* gnu.crypto.csprng.other.2=com.company.OtherEntropySource
* </pre>
@@ -592,7 +592,7 @@ public class CSPRNG
* Add an array of bytes into the randomness pool. Note that this method will
* <i>not</i> increment the pool's quality counter (this can only be done via
* a source provided to the setup method).
- *
+ *
* @param buf The byte array.
* @param off The offset from whence to start reading bytes.
* @param len The number of bytes to add.
@@ -624,7 +624,7 @@ public class CSPRNG
* Add a single random byte to the randomness pool. Note that this method will
* <i>not</i> increment the pool's quality counter (this can only be done via
* a source provided to the setup method).
- *
+ *
* @param b The byte to add.
*/
public synchronized void addRandomByte(byte b)
diff --git a/gnu/javax/crypto/prng/ICMGenerator.java b/gnu/javax/crypto/prng/ICMGenerator.java
index d8205cfb4..a4df5b964 100644
--- a/gnu/javax/crypto/prng/ICMGenerator.java
+++ b/gnu/javax/crypto/prng/ICMGenerator.java
@@ -1,4 +1,4 @@
-/* ICMGenerator.java --
+/* ICMGenerator.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -269,8 +269,8 @@ public class ICMGenerator
}
catch (LimitReachedException impossible)
{
- throw (InternalError)
- new InternalError().initCause(impossible);
+ throw (InternalError)
+ new InternalError().initCause(impossible);
}
}
diff --git a/gnu/javax/crypto/prng/IPBE.java b/gnu/javax/crypto/prng/IPBE.java
index 66921d635..8138b7b9a 100644
--- a/gnu/javax/crypto/prng/IPBE.java
+++ b/gnu/javax/crypto/prng/IPBE.java
@@ -1,4 +1,4 @@
-/* IPBE.java --
+/* IPBE.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/prng/PBKDF2.java b/gnu/javax/crypto/prng/PBKDF2.java
index 0f91d4add..22fcd5504 100644
--- a/gnu/javax/crypto/prng/PBKDF2.java
+++ b/gnu/javax/crypto/prng/PBKDF2.java
@@ -1,4 +1,4 @@
-/* PBKDF2.java --
+/* PBKDF2.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -84,7 +84,7 @@ public class PBKDF2
/**
* Creates a new PBKDF2 object. The argument is the MAC that will serve as the
* pseudo-random function. The MAC does not need to be initialized.
- *
+ *
* @param mac The pseudo-random function.
*/
public PBKDF2(IMac mac)
diff --git a/gnu/javax/crypto/prng/PRNGFactory.java b/gnu/javax/crypto/prng/PRNGFactory.java
index ee75f8d8a..0a7c5e377 100644
--- a/gnu/javax/crypto/prng/PRNGFactory.java
+++ b/gnu/javax/crypto/prng/PRNGFactory.java
@@ -1,4 +1,4 @@
-/* PRNGFactory.java --
+/* PRNGFactory.java --
Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -62,7 +62,7 @@ public class PRNGFactory
/**
* Returns an instance of a padding algorithm given its name.
- *
+ *
* @param prng the case-insensitive name of the PRNG.
* @return an instance of the pseudo-random number generator.
* @exception InternalError if the implementation does not pass its self-
@@ -98,7 +98,7 @@ public class PRNGFactory
/**
* Returns a {@link Set} of names of padding algorithms supported by this
* <i>Factory</i>.
- *
+ *
* @return a {@link Set} of pseudo-random number generator algorithm names
* (Strings).
*/
diff --git a/gnu/javax/crypto/prng/UMacGenerator.java b/gnu/javax/crypto/prng/UMacGenerator.java
index 39c99f73a..1ee449223 100644
--- a/gnu/javax/crypto/prng/UMacGenerator.java
+++ b/gnu/javax/crypto/prng/UMacGenerator.java
@@ -1,4 +1,4 @@
-/* UMacGenerator.java --
+/* UMacGenerator.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/AuthInfo.java b/gnu/javax/crypto/sasl/AuthInfo.java
index 733d2f0bf..37c1e0852 100644
--- a/gnu/javax/crypto/sasl/AuthInfo.java
+++ b/gnu/javax/crypto/sasl/AuthInfo.java
@@ -1,4 +1,4 @@
-/* AuthInfo.java --
+/* AuthInfo.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -110,7 +110,7 @@ public class AuthInfo
* factories, one at a time, and attempts to return a new instance of the
* provider for the designated mechanism. It stops at the first factory
* returning a non-null provider.
- *
+ *
* @param mechanism the name of a SASL mechanism.
* @return an implementation that provides {@link IAuthInfoProvider} for that
* mechanism; or <code>null</code> if none found.
diff --git a/gnu/javax/crypto/sasl/AuthInfoProviderFactory.java b/gnu/javax/crypto/sasl/AuthInfoProviderFactory.java
index c4fc816dc..f881e6e11 100644
--- a/gnu/javax/crypto/sasl/AuthInfoProviderFactory.java
+++ b/gnu/javax/crypto/sasl/AuthInfoProviderFactory.java
@@ -1,4 +1,4 @@
-/* AuthInfoProviderFactory.java --
+/* AuthInfoProviderFactory.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/ClientFactory.java b/gnu/javax/crypto/sasl/ClientFactory.java
index 84acfcd14..30309d2c7 100644
--- a/gnu/javax/crypto/sasl/ClientFactory.java
+++ b/gnu/javax/crypto/sasl/ClientFactory.java
@@ -1,4 +1,4 @@
-/* ClientFactory.java --
+/* ClientFactory.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/ClientMechanism.java b/gnu/javax/crypto/sasl/ClientMechanism.java
index 7f8e9c120..5e0dcd096 100644
--- a/gnu/javax/crypto/sasl/ClientMechanism.java
+++ b/gnu/javax/crypto/sasl/ClientMechanism.java
@@ -1,4 +1,4 @@
-/* ClientMechanism.java --
+/* ClientMechanism.java --
Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -235,7 +235,7 @@ public abstract class ClientMechanism
/**
* Initialises the mechanism with designated attributes. Permissible names and
* values are mechanism specific.
- *
+ *
* @param attributes a set of name-value pairs that describes the desired
* future behaviour of this instance.
* @throws IllegalMechanismStateException if the instance is already
@@ -278,7 +278,7 @@ public abstract class ClientMechanism
/**
* Resets the mechanism instance for re-initialisation and use with other
* characteristics.
- *
+ *
* @throws SaslException if an exception occurs during the process.
*/
public void reset() throws SaslException
diff --git a/gnu/javax/crypto/sasl/ConfidentialityException.java b/gnu/javax/crypto/sasl/ConfidentialityException.java
index 62b685725..85bd2ae18 100644
--- a/gnu/javax/crypto/sasl/ConfidentialityException.java
+++ b/gnu/javax/crypto/sasl/ConfidentialityException.java
@@ -1,4 +1,4 @@
-/* ConfidentialityException.java --
+/* ConfidentialityException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -60,7 +60,7 @@ public class ConfidentialityException
/**
* Constructs a new instance of <code>ConfidentialityException</code> with
* the specified detail message.
- *
+ *
* @param s the detail message.
*/
public ConfidentialityException(String s)
@@ -71,7 +71,7 @@ public class ConfidentialityException
/**
* Constructs a new instance of <code>ConfidentialityException</code> with a
* detailed message and a root exception.
- *
+ *
* @param s possibly null additional detail about the exception.
* @param x a possibly null root exception that caused this one.
*/
diff --git a/gnu/javax/crypto/sasl/IAuthInfoProvider.java b/gnu/javax/crypto/sasl/IAuthInfoProvider.java
index 60c50d5d4..88acc2d0a 100644
--- a/gnu/javax/crypto/sasl/IAuthInfoProvider.java
+++ b/gnu/javax/crypto/sasl/IAuthInfoProvider.java
@@ -1,4 +1,4 @@
-/* IAuthInfoProvider.java --
+/* IAuthInfoProvider.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -50,7 +50,7 @@ public interface IAuthInfoProvider
/**
* Activates (initialises) this provider instance. SHOULD be the first method
* invoked on the provider.
- *
+ *
* @param context a collection of name-value bindings describing the
* activation context.
* @throws AuthenticationException if an exception occurs during the
@@ -62,7 +62,7 @@ public interface IAuthInfoProvider
* Passivates (releases) this provider instance. SHOULD be the last method
* invoked on the provider. Once it is done, no other method may be invoked on
* the same instance before it is <i>activated</i> agains.
- *
+ *
* @throws AuthenticationException if an exception occurs during the
* operation.
*/
@@ -70,7 +70,7 @@ public interface IAuthInfoProvider
/**
* Checks if a user with a designated name is known to this provider.
- *
+ *
* @param userName the name of a user to check.
* @return <code>true</code> if the user with the designated name is known
* to this provider; <code>false</code> otherwise.
@@ -82,7 +82,7 @@ public interface IAuthInfoProvider
/**
* Returns a collection of information about a designated user. The contents
* of the returned map is provider-specific of name-to-value mappings.
- *
+ *
* @param userID a map of name-to-value bindings that fully describe a user.
* @return a collection of information about the designated user.
* @throws AuthenticationException if an exception occurs during the
@@ -92,7 +92,7 @@ public interface IAuthInfoProvider
/**
* Updates the credentials of a designated user.
- *
+ *
* @param userCredentials a map of name-to-value bindings that fully describe
* a user, including per new credentials.
* @throws AuthenticationException if an exception occurs during the
@@ -105,7 +105,7 @@ public interface IAuthInfoProvider
* credentials computed in more than one message digest algorithm. This method
* returns the set of name-to-value bindings describing the mode of the
* provider.
- *
+ *
* @param mode a unique identifier describing the operational mode.
* @return a collection of name-to-value bindings describing the designated
* mode.
diff --git a/gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java b/gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java
index b6dc775d8..2a0b5bfec 100644
--- a/gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java
+++ b/gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java
@@ -1,4 +1,4 @@
-/* IAuthInfoProviderFactory.java --
+/* IAuthInfoProviderFactory.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -46,7 +46,7 @@ public interface IAuthInfoProviderFactory
/**
* Returns an implementation of a provider for a designated mechanism capable
* of honouring {@link IAuthInfoProvider} requests.
- *
+ *
* @param mechanism the unique name of a mechanism.
* @return an implementation of {@link IAuthInfoProvider} for that mechanism
* or <code>null</code> if none found.
diff --git a/gnu/javax/crypto/sasl/IllegalMechanismStateException.java b/gnu/javax/crypto/sasl/IllegalMechanismStateException.java
index 547ac4103..fade7792c 100644
--- a/gnu/javax/crypto/sasl/IllegalMechanismStateException.java
+++ b/gnu/javax/crypto/sasl/IllegalMechanismStateException.java
@@ -1,4 +1,4 @@
-/* IllegalMechanismStateException.java --
+/* IllegalMechanismStateException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -62,7 +62,7 @@ public class IllegalMechanismStateException
/**
* Constructs a new instance of <code>IllegalMechanismStateException</code>
* with the specified detail message.
- *
+ *
* @param detail the detail message.
*/
public IllegalMechanismStateException(String detail)
@@ -73,7 +73,7 @@ public class IllegalMechanismStateException
/**
* Constructs a new instance of <code>IllegalMechanismStateException</code>
* with the specified detail message, and cause.
- *
+ *
* @param detail the detail message.
* @param ex the original cause.
*/
diff --git a/gnu/javax/crypto/sasl/InputBuffer.java b/gnu/javax/crypto/sasl/InputBuffer.java
index d676a595d..f15205765 100644
--- a/gnu/javax/crypto/sasl/InputBuffer.java
+++ b/gnu/javax/crypto/sasl/InputBuffer.java
@@ -1,4 +1,4 @@
-/* InputBuffer.java --
+/* InputBuffer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -69,7 +69,7 @@ public class InputBuffer
/**
* Constructs a SASL buffer given the buffer's encoded form, including its
* header bytes.
- *
+ *
* @param frame the encoded form, including the header bytes, of a SASL
* buffer.
* @throws SaslEncodingException if the buffer is malformed.
@@ -101,7 +101,7 @@ public class InputBuffer
* <p>
* Calls the method with the same name and three arguments as:
* <code>getInstance(raw, 0, raw.length)</code>.
- *
+ *
* @param raw the encoded form, excluding the header bytes, of a SASL buffer.
* @return a new instance of {@link InputBuffer}.
*/
@@ -113,7 +113,7 @@ public class InputBuffer
/**
* Returns an instance of a SASL buffer given the buffer's encoded contents,
* excluding the buffer's header bytes.
- *
+ *
* @param raw the encoded form, excluding the header bytes, of a SASL buffer.
* @param offset offset where to start using raw bytes from.
* @param len number of bytes to use.
@@ -128,7 +128,7 @@ public class InputBuffer
/**
* Converts two octets into the number that they represent.
- *
+ *
* @param b the two octets.
* @return the length.
*/
@@ -148,7 +148,7 @@ public class InputBuffer
/**
* Decodes a SASL scalar quantity, <code>count</code>-octet long, from the
* current buffer.
- *
+ *
* @param count the number of octets of this scalar quantity.
* @return a native representation of a SASL scalar (unsigned integer)
* quantity.
@@ -178,7 +178,7 @@ public class InputBuffer
/**
* Decodes a SASL OS from the current buffer.
- *
+ *
* @return a native representation of a SASL OS.
* @throws SaslEncodingException if an encoding exception occurs during the
* operation.
@@ -201,7 +201,7 @@ public class InputBuffer
/**
* Decodes a SASL EOS from the current buffer.
- *
+ *
* @return a native representation of a SASL EOS.
* @throws SaslEncodingException if an encoding exception occurs during the
* operation.
@@ -225,7 +225,7 @@ public class InputBuffer
/**
* Decodes a SASL MPI from the current buffer.
- *
+ *
* @return a native representation of a SASL MPI.
* @throws SaslEncodingException if an encoding exception occurs during the
* operation.
@@ -248,7 +248,7 @@ public class InputBuffer
/**
* Decodes a SASL Text from the current buffer.
- *
+ *
* @return a native representation of a SASL Text.
* @throws SaslEncodingException if an encoding exception occurs during the
* operation.
diff --git a/gnu/javax/crypto/sasl/IntegrityException.java b/gnu/javax/crypto/sasl/IntegrityException.java
index 9b793ce3e..ce1b359de 100644
--- a/gnu/javax/crypto/sasl/IntegrityException.java
+++ b/gnu/javax/crypto/sasl/IntegrityException.java
@@ -1,4 +1,4 @@
-/* IntegrityException.java --
+/* IntegrityException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -61,7 +61,7 @@ public class IntegrityException
/**
* Constructs a new instance of <code>IntegrityException</code> with the
* specified detail message.
- *
+ *
* @param s the detail message.
*/
public IntegrityException(String s)
@@ -72,7 +72,7 @@ public class IntegrityException
/**
* Constructs a new instance of <code>IntegrityException</code> with a
* detailed message and a root exception.
- *
+ *
* @param s possibly null additional detail about the exception.
* @param x a possibly null root exception that caused this one.
*/
diff --git a/gnu/javax/crypto/sasl/NoSuchMechanismException.java b/gnu/javax/crypto/sasl/NoSuchMechanismException.java
index 5b16a788c..d22bff894 100644
--- a/gnu/javax/crypto/sasl/NoSuchMechanismException.java
+++ b/gnu/javax/crypto/sasl/NoSuchMechanismException.java
@@ -1,4 +1,4 @@
-/* NoSuchMechanismException.java --
+/* NoSuchMechanismException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -51,7 +51,7 @@ public class NoSuchMechanismException
* Constructs a <code>NoSuchMechanismException</code> with the specified
* detail message. In the case of this exception, the detail message
* designates the offending mechanism name.
- *
+ *
* @param arg the detail message, which in this case is the offending
* mechanism name.
*/
diff --git a/gnu/javax/crypto/sasl/NoSuchUserException.java b/gnu/javax/crypto/sasl/NoSuchUserException.java
index 387339f60..447c7b919 100644
--- a/gnu/javax/crypto/sasl/NoSuchUserException.java
+++ b/gnu/javax/crypto/sasl/NoSuchUserException.java
@@ -1,4 +1,4 @@
-/* NoSuchUserException.java --
+/* NoSuchUserException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -57,7 +57,7 @@ public class NoSuchUserException
* Constructs a <code>NoSuchUserException</code> with the specified detail
* message. In the case of this exception, the detail message designates the
* offending username.
- *
+ *
* @param arg the detail message, which in this case is the username.
*/
public NoSuchUserException(String arg)
diff --git a/gnu/javax/crypto/sasl/OutputBuffer.java b/gnu/javax/crypto/sasl/OutputBuffer.java
index 92e34dfbf..4bb3b0ec2 100644
--- a/gnu/javax/crypto/sasl/OutputBuffer.java
+++ b/gnu/javax/crypto/sasl/OutputBuffer.java
@@ -1,4 +1,4 @@
-/* OutputBuffer.java --
+/* OutputBuffer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -75,7 +75,7 @@ public class OutputBuffer
/**
* Encodes a SASL scalar quantity, <code>count</code>-octet long, to the
* current buffer.
- *
+ *
* @param count number of octets to encode <code>b</code> with.
* @param b the scalar quantity.
* @throws SaslEncodingException if an encoding size constraint is violated.
@@ -94,7 +94,7 @@ public class OutputBuffer
/**
* Encodes a SASL OS to the current buffer.
- *
+ *
* @param b the OS element.
* @throws SaslEncodingException if an encoding size constraint is violated.
* @throws IOException if any other I/O exception occurs during the operation.
@@ -110,7 +110,7 @@ public class OutputBuffer
/**
* Encodes a SASL EOS to the current buffer.
- *
+ *
* @param b the EOS element.
* @throws SaslEncodingException if an encoding size constraint is violated.
* @throws IOException if any other I/O exception occurs during the operation.
@@ -127,7 +127,7 @@ public class OutputBuffer
/**
* Encodes a SASL MPI to the current buffer.
- *
+ *
* @param val the MPI element.
* @throws SaslEncodingException if an encoding size constraint is violated.
* @throws IOException if any other I/O exception occurs during the operation.
@@ -145,7 +145,7 @@ public class OutputBuffer
/**
* Encodes a SASL Text to the current buffer.
- *
+ *
* @param str the Text element.
* @throws SaslEncodingException if an encoding size constraint is violated.
* @throws SaslEncodingException if the UTF-8 encoding is not supported on
@@ -166,7 +166,7 @@ public class OutputBuffer
/**
* Returns the encoded form of the current buffer including the 4-byte length
* header.
- *
+ *
* @throws SaslEncodingException if an encoding size constraint is violated.
*/
public byte[] encode() throws SaslEncodingException
@@ -185,7 +185,7 @@ public class OutputBuffer
/**
* Returns the encoded form of the current buffer excluding the 4-byte length
* header.
- *
+ *
* @throws SaslEncodingException if an encoding size constraint is violated.
*/
public byte[] wrap() throws SaslEncodingException
diff --git a/gnu/javax/crypto/sasl/SaslEncodingException.java b/gnu/javax/crypto/sasl/SaslEncodingException.java
index f6a74641d..5836270ac 100644
--- a/gnu/javax/crypto/sasl/SaslEncodingException.java
+++ b/gnu/javax/crypto/sasl/SaslEncodingException.java
@@ -1,4 +1,4 @@
-/* SaslEncodingException.java --
+/* SaslEncodingException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -56,7 +56,7 @@ public class SaslEncodingException
/**
* Constructs a <code>SaslEncodingException</code> with the specified detail
* message.
- *
+ *
* @param s the detail message.
*/
public SaslEncodingException(String s)
diff --git a/gnu/javax/crypto/sasl/SaslInputStream.java b/gnu/javax/crypto/sasl/SaslInputStream.java
index d127bf5ba..6a6c85751 100644
--- a/gnu/javax/crypto/sasl/SaslInputStream.java
+++ b/gnu/javax/crypto/sasl/SaslInputStream.java
@@ -1,4 +1,4 @@
-/* SaslInputStream.java --
+/* SaslInputStream.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -115,7 +115,7 @@ public class SaslInputStream
* the protocol driver's request for a single octet from the stream might;
* i.e. an invocation of this method, may result in an entire SASL buffer
* being read and processed before that single octet can be returned.
- *
+ *
* @return the next byte of data, or <code>-1</code> if the end of the
* stream is reached.
* @throws IOException if an I/O error occurs.
@@ -190,7 +190,7 @@ public class SaslInputStream
* driver's request for a single octet from the stream might result in an
* entire SASL buffer being read and processed before that single octet can be
* returned.
- *
+ *
* @param b the buffer into which the data is read.
* @param off the start offset in array <code>b</code> at which the data is
* wricodeen.
@@ -317,7 +317,7 @@ public class SaslInputStream
/**
* Reads a SASL buffer from the underlying source if at least 4 bytes are
* available.
- *
+ *
* @return the byte[] of decoded buffer contents, or null if the underlying
* source was exhausted.
* @throws IOException if an I/O exception occurs during the operation.
diff --git a/gnu/javax/crypto/sasl/SaslOutputStream.java b/gnu/javax/crypto/sasl/SaslOutputStream.java
index d21f1f37a..0de1ce850 100644
--- a/gnu/javax/crypto/sasl/SaslOutputStream.java
+++ b/gnu/javax/crypto/sasl/SaslOutputStream.java
@@ -1,4 +1,4 @@
-/* SaslOutputStream.java --
+/* SaslOutputStream.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/SaslUtil.java b/gnu/javax/crypto/sasl/SaslUtil.java
index 4b0b697fe..b17d9536e 100644
--- a/gnu/javax/crypto/sasl/SaslUtil.java
+++ b/gnu/javax/crypto/sasl/SaslUtil.java
@@ -1,4 +1,4 @@
-/* SaslUtil.java --
+/* SaslUtil.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/ServerFactory.java b/gnu/javax/crypto/sasl/ServerFactory.java
index 7aa379628..6df44c08c 100644
--- a/gnu/javax/crypto/sasl/ServerFactory.java
+++ b/gnu/javax/crypto/sasl/ServerFactory.java
@@ -1,4 +1,4 @@
-/* ServerFactory.java --
+/* ServerFactory.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/ServerMechanism.java b/gnu/javax/crypto/sasl/ServerMechanism.java
index 75603a14a..71dfdd4e0 100644
--- a/gnu/javax/crypto/sasl/ServerMechanism.java
+++ b/gnu/javax/crypto/sasl/ServerMechanism.java
@@ -1,4 +1,4 @@
-/* ServerMechanism.java --
+/* ServerMechanism.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -236,7 +236,7 @@ public abstract class ServerMechanism
/**
* Initialises the mechanism with designated attributes. Permissible names and
* values are mechanism specific.
- *
+ *
* @param attributes a set of name-value pairs that describes the desired
* future behaviour of this instance.
* @throws IllegalMechanismStateException if the instance is already
@@ -277,7 +277,7 @@ public abstract class ServerMechanism
/**
* Resets the mechanism instance for re-initialisation and use with other
* characteristics.
- *
+ *
* @throws SaslException if an exception occurs during the process.
*/
public void reset() throws SaslException
diff --git a/gnu/javax/crypto/sasl/UserAlreadyExistsException.java b/gnu/javax/crypto/sasl/UserAlreadyExistsException.java
index 1563be917..615fabb57 100644
--- a/gnu/javax/crypto/sasl/UserAlreadyExistsException.java
+++ b/gnu/javax/crypto/sasl/UserAlreadyExistsException.java
@@ -1,4 +1,4 @@
-/* UserAlreadyExistsException.java --
+/* UserAlreadyExistsException.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -60,7 +60,7 @@ public class UserAlreadyExistsException
* Constructs a <code>UserAlreadyExistsException</code> with the specified
* detail message. In the case of this exception, the detail message
* designates the offending username.
- *
+ *
* @param userName the detail message, which in this case is the username.
*/
public UserAlreadyExistsException(String userName)
diff --git a/gnu/javax/crypto/sasl/anonymous/AnonymousClient.java b/gnu/javax/crypto/sasl/anonymous/AnonymousClient.java
index 87f5e5fb5..860efb4f9 100644
--- a/gnu/javax/crypto/sasl/anonymous/AnonymousClient.java
+++ b/gnu/javax/crypto/sasl/anonymous/AnonymousClient.java
@@ -1,4 +1,4 @@
-/* AnonymousClient.java --
+/* AnonymousClient.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/anonymous/AnonymousServer.java b/gnu/javax/crypto/sasl/anonymous/AnonymousServer.java
index 76456044c..675194caa 100644
--- a/gnu/javax/crypto/sasl/anonymous/AnonymousServer.java
+++ b/gnu/javax/crypto/sasl/anonymous/AnonymousServer.java
@@ -1,4 +1,4 @@
-/* AnonymousServer.java --
+/* AnonymousServer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java b/gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java
index 9047ebd5c..bb59779d6 100644
--- a/gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java
+++ b/gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java
@@ -1,4 +1,4 @@
-/* AnonymousUtil.java --
+/* AnonymousUtil.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java b/gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java
index dec0366c0..e3d8b8f08 100644
--- a/gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java
+++ b/gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java
@@ -1,4 +1,4 @@
-/* CramMD5AuthInfoProvider.java --
+/* CramMD5AuthInfoProvider.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/crammd5/CramMD5Client.java b/gnu/javax/crypto/sasl/crammd5/CramMD5Client.java
index c90cbe986..44f694e5c 100644
--- a/gnu/javax/crypto/sasl/crammd5/CramMD5Client.java
+++ b/gnu/javax/crypto/sasl/crammd5/CramMD5Client.java
@@ -1,4 +1,4 @@
-/* CramMD5Client.java --
+/* CramMD5Client.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java b/gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java
index bbd46a3f2..560eb854e 100644
--- a/gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java
+++ b/gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java
@@ -1,4 +1,4 @@
-/* CramMD5Registry.java --
+/* CramMD5Registry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/crammd5/CramMD5Server.java b/gnu/javax/crypto/sasl/crammd5/CramMD5Server.java
index 9be03414b..1522f6b35 100644
--- a/gnu/javax/crypto/sasl/crammd5/CramMD5Server.java
+++ b/gnu/javax/crypto/sasl/crammd5/CramMD5Server.java
@@ -1,4 +1,4 @@
-/* CramMD5Server.java --
+/* CramMD5Server.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/crammd5/CramMD5Util.java b/gnu/javax/crypto/sasl/crammd5/CramMD5Util.java
index a6a06b6b8..a85c4c721 100644
--- a/gnu/javax/crypto/sasl/crammd5/CramMD5Util.java
+++ b/gnu/javax/crypto/sasl/crammd5/CramMD5Util.java
@@ -1,4 +1,4 @@
-/* CramMD5Util.java --
+/* CramMD5Util.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/crammd5/PasswordFile.java b/gnu/javax/crypto/sasl/crammd5/PasswordFile.java
index 4900842a7..65da4afdd 100644
--- a/gnu/javax/crypto/sasl/crammd5/PasswordFile.java
+++ b/gnu/javax/crypto/sasl/crammd5/PasswordFile.java
@@ -1,4 +1,4 @@
-/* PasswordFile.java --
+/* PasswordFile.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/plain/PasswordFile.java b/gnu/javax/crypto/sasl/plain/PasswordFile.java
index 4888214d8..51542d2b2 100644
--- a/gnu/javax/crypto/sasl/plain/PasswordFile.java
+++ b/gnu/javax/crypto/sasl/plain/PasswordFile.java
@@ -1,4 +1,4 @@
-/* PasswordFile.java --
+/* PasswordFile.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java b/gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java
index e0cf82fb6..5f35c455b 100644
--- a/gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java
+++ b/gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java
@@ -1,4 +1,4 @@
-/* PlainAuthInfoProvider.java --
+/* PlainAuthInfoProvider.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/plain/PlainClient.java b/gnu/javax/crypto/sasl/plain/PlainClient.java
index 87fffa01e..f984ed13f 100644
--- a/gnu/javax/crypto/sasl/plain/PlainClient.java
+++ b/gnu/javax/crypto/sasl/plain/PlainClient.java
@@ -1,4 +1,4 @@
-/* PlainClient.java --
+/* PlainClient.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/plain/PlainRegistry.java b/gnu/javax/crypto/sasl/plain/PlainRegistry.java
index 84e176053..68b121d96 100644
--- a/gnu/javax/crypto/sasl/plain/PlainRegistry.java
+++ b/gnu/javax/crypto/sasl/plain/PlainRegistry.java
@@ -1,4 +1,4 @@
-/* PlainRegistry.java --
+/* PlainRegistry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/plain/PlainServer.java b/gnu/javax/crypto/sasl/plain/PlainServer.java
index 52deef51e..9d97bc029 100644
--- a/gnu/javax/crypto/sasl/plain/PlainServer.java
+++ b/gnu/javax/crypto/sasl/plain/PlainServer.java
@@ -1,4 +1,4 @@
-/* PlainServer.java --
+/* PlainServer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/srp/CALG.java b/gnu/javax/crypto/sasl/srp/CALG.java
index 308543230..22f9c9751 100644
--- a/gnu/javax/crypto/sasl/srp/CALG.java
+++ b/gnu/javax/crypto/sasl/srp/CALG.java
@@ -1,4 +1,4 @@
-/* CALG.java --
+/* CALG.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -86,7 +86,7 @@ import javax.security.sasl.SaslException;
* other words, the input is padded at the trailing end with one of the
* following sequences:
* <pre>
- *
+ *
* 01 -- if l mod k = k-1
* 02 02 -- if l mod k = k-2
* ...
@@ -121,7 +121,7 @@ public final class CALG
/**
* Returns an instance of a SASL-SRP CALG implementation.
- *
+ *
* @param algorithm the name of the symmetric cipher algorithm.
* @return an instance of this object.
*/
@@ -145,7 +145,7 @@ public final class CALG
/**
* Initialises a SASL-SRP CALG implementation.
- *
+ *
* @param kdf the key derivation function.
* @param iv the initial vector value to use.
* @param dir whether this CALG is used for encryption or decryption.
@@ -184,7 +184,7 @@ public final class CALG
/**
* Encrypts or decrypts, depending on the mode already set, a designated array
* of bytes and returns the result.
- *
+ *
* @param data the data to encrypt/decrypt.
* @return the decrypted/encrypted result.
* @throws ConfidentialityException if an exception occurs duirng the process.
@@ -197,7 +197,7 @@ public final class CALG
/**
* Encrypts or decrypts, depending on the mode already set, a designated array
* of bytes and returns the result.
- *
+ *
* @param data the data to encrypt/decrypt.
* @param offset where to start in <code>data</code>.
* @param length how many bytes to consider in <code>data</code>.
diff --git a/gnu/javax/crypto/sasl/srp/ClientStore.java b/gnu/javax/crypto/sasl/srp/ClientStore.java
index 866e610d8..1d27137d1 100644
--- a/gnu/javax/crypto/sasl/srp/ClientStore.java
+++ b/gnu/javax/crypto/sasl/srp/ClientStore.java
@@ -1,4 +1,4 @@
-/* ClientStore.java --
+/* ClientStore.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -64,7 +64,7 @@ public class ClientStore
/**
* Returns the classloader Singleton.
- *
+ *
* @return the classloader Singleton instance.
*/
static synchronized final ClientStore instance()
@@ -77,7 +77,7 @@ public class ClientStore
/**
* Returns a boolean flag indicating if the designated client's session is
* still alive or not.
- *
+ *
* @param uid the identifier of the client whose session to check.
* @return <code>true</code> if the designated client's session is still
* alive. <code>false</code> otherwise.
@@ -105,7 +105,7 @@ public class ClientStore
/**
* Records a mapping between a client's unique identifier and its security
* context.
- *
+ *
* @param uid the unique identifier of the SRP client for which the session is
* to be cached.
* @param ttl the session's Time-To-Live indicator (in seconds).
@@ -123,7 +123,7 @@ public class ClientStore
/**
* Removes the mapping between the designated SRP client unique identifier and
* the its session security context (and other timing information).
- *
+ *
* @param uid the identifier of the client whose session is to invalidate.
*/
void invalidateSession(final String uid)
@@ -138,7 +138,7 @@ public class ClientStore
/**
* Returns an SRP client's security context record mapped by that client's
* unique identifier.
- *
+ *
* @param uid the identifier of the client whose session is to restore.
* @return the SRP client's security context.
*/
diff --git a/gnu/javax/crypto/sasl/srp/IALG.java b/gnu/javax/crypto/sasl/srp/IALG.java
index 85c93700f..d0c92ea68 100644
--- a/gnu/javax/crypto/sasl/srp/IALG.java
+++ b/gnu/javax/crypto/sasl/srp/IALG.java
@@ -1,4 +1,4 @@
-/* IALG.java --
+/* IALG.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -66,7 +66,7 @@ public final class IALG
/**
* Returns an instance of a SASL-SRP IALG implementation.
- *
+ *
* @param algorithm the name of the HMAC algorithm.
* @return an instance of this object.
*/
@@ -118,7 +118,7 @@ public final class IALG
/**
* Returns the length (in bytes) of this SASL SRP Integrity Algorithm.
- *
+ *
* @return the length, in bytes, of this integrity protection algorithm.
*/
public int length()
diff --git a/gnu/javax/crypto/sasl/srp/KDF.java b/gnu/javax/crypto/sasl/srp/KDF.java
index aa3edac0c..513aafb94 100644
--- a/gnu/javax/crypto/sasl/srp/KDF.java
+++ b/gnu/javax/crypto/sasl/srp/KDF.java
@@ -1,4 +1,4 @@
-/* KDF.java --
+/* KDF.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -63,7 +63,7 @@ public class KDF
/**
* Constructs an instance of the <code>KDF</code> initialised with the
* designated shared secret bytes.
- *
+ *
* @param keyMaterial the SASL SRP shared secret (K) bytes.
*/
private KDF(final byte[] keyMaterial, final int ndx)
@@ -84,7 +84,7 @@ public class KDF
/**
* A Factory mehod that returns an instance of a <code>KDF</code> based on
* supplied seed data.
- *
+ *
* @param K the SASL SRP shared secret for a <code>KDF</code> to be used for
* <i>CALG</i> and <i>IALG</i> setup. <code>null</code> otherwise.
* @return an instance of a <code>KDF</code>.
@@ -116,7 +116,7 @@ public class KDF
/**
* Returns a designated number of bytes suitable for use in the SASL SRP
* mechanism.
- *
+ *
* @param length the number of bytes needed.
* @return a byte array containing the generated/selected bytes.
*/
diff --git a/gnu/javax/crypto/sasl/srp/PasswordFile.java b/gnu/javax/crypto/sasl/srp/PasswordFile.java
index 7946e84fb..c13c2fa71 100644
--- a/gnu/javax/crypto/sasl/srp/PasswordFile.java
+++ b/gnu/javax/crypto/sasl/srp/PasswordFile.java
@@ -1,4 +1,4 @@
-/* PasswordFile.java --
+/* PasswordFile.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -190,7 +190,7 @@ public class PasswordFile
/**
* Returns a string representing the decimal value of an integer identifying
* the message digest algorithm to use for the SRP computations.
- *
+ *
* @param mdName the canonical name of a message digest algorithm.
* @return a string representing the decimal value of an ID for that
* algorithm.
@@ -219,7 +219,7 @@ public class PasswordFile
/**
* Checks if the current configuration file contains the &lt;N, g> pair for
* the designated <code>index</code>.
- *
+ *
* @param index a string representing 1-digit identification of an &lt;N, g>
* pair used.
* @return <code>true</code> if the designated <code>index</code> is that
@@ -243,7 +243,7 @@ public class PasswordFile
/**
* Returns a pair of strings representing the pair of <code>N</code> and
* <code>g</code> MPIs for the designated <code>index</code>.
- *
+ *
* @param index a string representing 1-digit identification of an &lt;N, g>
* pair to look up.
* @return a pair of strings, arranged in an array, where the first (at index
@@ -362,7 +362,7 @@ public class PasswordFile
* Returns the triplet: verifier, salt and configuration file index, of a
* designated user, and a designated message digest algorithm name, as an
* array of strings.
- *
+ *
* @param user the username.
* @param mdName the canonical name of the SRP's message digest algorithm.
* @return a string array containing, in this order, the BASE-64 encodings of
@@ -465,7 +465,7 @@ public class PasswordFile
* <b>IMPORTANT:</b> This method computes the verifiers as described in
* RFC-2945, which differs from the description given on the web page for
* SRP-6.
- *
+ *
* @param user the user's name.
* @param s the user's salt.
* @param password the user's password
diff --git a/gnu/javax/crypto/sasl/srp/SRP.java b/gnu/javax/crypto/sasl/srp/SRP.java
index 437e42a5a..569855dd7 100644
--- a/gnu/javax/crypto/sasl/srp/SRP.java
+++ b/gnu/javax/crypto/sasl/srp/SRP.java
@@ -1,4 +1,4 @@
-/* SRP.java --
+/* SRP.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -70,7 +70,7 @@ public final class SRP
/**
* Returns an instance of this object that uses the designated message digest
* algorithm as its digest function.
- *
+ *
* @return an instance of this object for the designated digest name.
*/
public static synchronized SRP instance(String mdName)
@@ -108,7 +108,7 @@ public final class SRP
* Returns a new instance of the SRP message digest algorithm --which is
* SHA-160 by default, but could be anything else provided the proper
* conditions as specified in the SRP specifications.
- *
+ *
* @return a new instance of the underlying SRP message digest algorithm.
* @throws RuntimeException if the implementation of the message digest
* algorithm does not support cloning.
@@ -121,7 +121,7 @@ public final class SRP
/**
* Convenience method to return the result of digesting the designated input
* with a new instance of the SRP message digest algorithm.
- *
+ *
* @param src some bytes to digest.
* @return the bytes constituting the result of digesting the designated input
* with a new instance of the SRP message digest algorithm.
@@ -136,7 +136,7 @@ public final class SRP
/**
* Convenience method to return the result of digesting the designated input
* with a new instance of the SRP message digest algorithm.
- *
+ *
* @param src a String whose bytes (using US-ASCII encoding) are to be
* digested.
* @return the bytes constituting the result of digesting the designated input
@@ -151,7 +151,7 @@ public final class SRP
/**
* Convenience method to XOR N bytes from two arrays; N being the output size
* of the SRP message digest algorithm.
- *
+ *
* @param a the first byte array.
* @param b the second one.
* @return N bytes which are the result of the XOR operations on the first N
diff --git a/gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java b/gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java
index 3a43a94a0..e42cfffa9 100644
--- a/gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java
+++ b/gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java
@@ -1,4 +1,4 @@
-/* SRPAuthInfoProvider.java --
+/* SRPAuthInfoProvider.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/srp/SRPClient.java b/gnu/javax/crypto/sasl/srp/SRPClient.java
index 3406c14ce..8e44e4ead 100644
--- a/gnu/javax/crypto/sasl/srp/SRPClient.java
+++ b/gnu/javax/crypto/sasl/srp/SRPClient.java
@@ -1,4 +1,4 @@
-/* SRPClient.java --
+/* SRPClient.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/srp/SRPRegistry.java b/gnu/javax/crypto/sasl/srp/SRPRegistry.java
index d474cb6f8..b6d24cf14 100644
--- a/gnu/javax/crypto/sasl/srp/SRPRegistry.java
+++ b/gnu/javax/crypto/sasl/srp/SRPRegistry.java
@@ -1,4 +1,4 @@
-/* SRPRegistry.java --
+/* SRPRegistry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/srp/SRPServer.java b/gnu/javax/crypto/sasl/srp/SRPServer.java
index 3f000deef..fca5c3bf3 100644
--- a/gnu/javax/crypto/sasl/srp/SRPServer.java
+++ b/gnu/javax/crypto/sasl/srp/SRPServer.java
@@ -1,4 +1,4 @@
-/* SRPServer.java --
+/* SRPServer.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/srp/SecurityContext.java b/gnu/javax/crypto/sasl/srp/SecurityContext.java
index 1111d95b4..41ec57c81 100644
--- a/gnu/javax/crypto/sasl/srp/SecurityContext.java
+++ b/gnu/javax/crypto/sasl/srp/SecurityContext.java
@@ -1,4 +1,4 @@
-/* SecurityContext.java --
+/* SecurityContext.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/gnu/javax/crypto/sasl/srp/ServerStore.java b/gnu/javax/crypto/sasl/srp/ServerStore.java
index 9fa83295a..d98747324 100644
--- a/gnu/javax/crypto/sasl/srp/ServerStore.java
+++ b/gnu/javax/crypto/sasl/srp/ServerStore.java
@@ -1,4 +1,4 @@
-/* ServerStore.java --
+/* ServerStore.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -68,7 +68,7 @@ public class ServerStore
/**
* Returns the classloader Singleton.
- *
+ *
* @return the classloader Singleton instance.
*/
static synchronized final ServerStore instance()
@@ -80,7 +80,7 @@ public class ServerStore
/**
* Returns a legible new session identifier.
- *
+ *
* @return a new session identifier.
*/
static synchronized final byte[] getNewSessionID()
@@ -94,7 +94,7 @@ public class ServerStore
/**
* Returns a boolean flag indicating if the designated session is still alive
* or not.
- *
+ *
* @param sid the identifier of the session to check.
* @return <code>true</code> if the designated session is still alive.
* <code>false</code> otherwise.
@@ -125,7 +125,7 @@ public class ServerStore
/**
* Records a mapping between a session identifier and the Security Context of
* the designated SRP server mechanism instance.
- *
+ *
* @param ttl the session's Time-To-Live indicator (in seconds).
* @param ctx the server's security context.
*/
@@ -144,7 +144,7 @@ public class ServerStore
* designated server's SASL Security Context. In the process, computes and
* return the underlying mechanism server's evidence that shall be returned to
* the client in a session re-use exchange.
- *
+ *
* @param sid the identifier of the session to restore.
* @return an SRP server's security context.
*/
@@ -162,7 +162,7 @@ public class ServerStore
/**
* Removes all information related to the designated session ID.
- *
+ *
* @param sid the identifier of the seesion to invalidate.
*/
void invalidateSession(final byte[] sid)
diff --git a/gnu/javax/crypto/sasl/srp/StoreEntry.java b/gnu/javax/crypto/sasl/srp/StoreEntry.java
index 130678ebd..ae64fa774 100644
--- a/gnu/javax/crypto/sasl/srp/StoreEntry.java
+++ b/gnu/javax/crypto/sasl/srp/StoreEntry.java
@@ -1,4 +1,4 @@
-/* StoreEntry.java --
+/* StoreEntry.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -64,7 +64,7 @@ class StoreEntry
/**
* Returns <code>true</code> if the Time-To_live period has not elapsed.
- *
+ *
* @return <code>true</code> if the Time-To-Live period (in seconds) has not
* elapsed yet; <code>false</code> otherwise.
*/