From ce97e13dedadf5635b96807626bc2d005b9022bc Mon Sep 17 00:00:00 2001
From: mkoch
Date: Tue, 20 Apr 2004 14:45:10 +0000
Subject: 2004-04-20 Michael Koch
* java/rmi/MarshalledObject.java,
java/rmi/Naming.java,
java/rmi/RemoteException.java,
java/rmi/activation/ActivationException.java,
java/rmi/server/ServerCloneException.java,
java/security/AccessController.java,
java/security/AlgorithmParameterGenerator.java,
java/security/AlgorithmParameters.java,
java/security/CodeSource.java,
java/security/Identity.java,
java/security/IdentityScope.java,
java/security/KeyPairGenerator.java,
java/security/KeyStore.java,
java/security/Security.java,
java/security/Signature.java,
java/security/SignatureSpi.java,
java/security/SignedObject.java,
java/security/spec/DSAParameterSpec.java,
java/security/spec/DSAPrivateKeySpec.java,
java/security/spec/DSAPublicKeySpec.java,
java/sql/Array.java,
java/sql/DatabaseMetaData.java,
java/sql/ResultSet.java,
java/text/ChoiceFormat.java,
java/text/CollationElementIterator.java,
java/text/CollationKey.java,
java/text/Collator.java,
java/text/DateFormat.java,
java/text/DateFormatSymbols.java,
java/text/DecimalFormatSymbols.java,
java/text/Format.java,
java/text/ParsePosition.java,
java/text/RuleBasedCollator.java,
java/text/SimpleDateFormat.java,
java/text/StringCharacterIterator.java,
java/util/Collections.java,
java/util/PropertyResourceBundle.java,
java/util/ResourceBundle.java,
java/util/StringTokenizer.java,
java/util/jar/Attributes.java,
java/util/logging/ConsoleHandler.java,
java/util/logging/LogManager.java,
java/util/logging/MemoryHandler.java,
java/util/logging/SocketHandler.java,
javax/naming/NamingException.java:
Fixed javadoc, coding style and argument names all over.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80906 138bc75d-0d04-0410-961f-82ee72b054a4
---
libjava/java/security/KeyPairGenerator.java | 69 ++++++++++++++---------------
1 file changed, 34 insertions(+), 35 deletions(-)
(limited to 'libjava/java/security/KeyPairGenerator.java')
diff --git a/libjava/java/security/KeyPairGenerator.java b/libjava/java/security/KeyPairGenerator.java
index b9b07852aa4..9a3a04d4ef8 100644
--- a/libjava/java/security/KeyPairGenerator.java
+++ b/libjava/java/security/KeyPairGenerator.java
@@ -56,43 +56,42 @@ import gnu.java.security.Engine;
* two is the initialization of the object:
*
*
- * - Algorithm-Independent Initialization
- * All key pair generators share the concepts of a keysize and a
- * source of randomness. The keysize is interpreted differently
- * for different algorithms (e.g., in the case of the DSA algorithm,
- * the keysize corresponds to the length of the modulus). There is an
- * initialize() method in this KeyPairGenerator
- * class that takes these two universally shared types of arguments. There
- * is also one that takes just a keysize argument, and uses the
- * {@link SecureRandom} implementation of the highest-priority installed
- * provider as the source of randomness. (If none of the installed
- * providers supply an implementation of {@link SecureRandom}, a
- * system-provided source of randomness is used.)
+ * - Algorithm-Independent Initialization
+ * All key pair generators share the concepts of a keysize and a
+ * source of randomness. The keysize is interpreted differently
+ * for different algorithms (e.g., in the case of the DSA algorithm,
+ * the keysize corresponds to the length of the modulus). There is an
+ * initialize() method in this KeyPairGenerator
+ * class that takes these two universally shared types of arguments. There
+ * is also one that takes just a keysize argument, and uses the
+ * {@link SecureRandom} implementation of the highest-priority installed
+ * provider as the source of randomness. (If none of the installed
+ * providers supply an implementation of {@link SecureRandom}, a
+ * system-provided source of randomness is used.)
*
- * Since no other parameters are specified when you call the above
- * algorithm-independent initialize methods, it is up to the provider what
- * to do about the algorithm-specific parameters (if any) to be associated
- * with each of the keys.
+ * Since no other parameters are specified when you call the above
+ * algorithm-independent initialize methods, it is up to the provider what
+ * to do about the algorithm-specific parameters (if any) to be associated
+ * with each of the keys.
*
- * If the algorithm is the DSA algorithm, and the keysize
- * (modulus size) is 512, 768, or 1024,
- * then the GNU provider uses a set of precomputed values for the
- * p, q, and g parameters. If the
- * modulus size is not one of the above values, the GNU
- * provider creates a new set of parameters. Other providers might have
- * precomputed parameter sets for more than just the three modulus sizes
- * mentioned above. Still others might not have a list of precomputed
- * parameters at all and instead always create new parameter sets.
- *
- * - Algorithm-Specific Initialization
- * For situations where a set of algorithm-specific parameters already
- * exists (e.g., so-called community parameters in DSA), there
- * are two initialize methods that have an {@link AlgorithmParameterSpec}
- * argument. One also has a {@link SecureRandom} argument, while the the
- * other uses the {@link SecureRandom} implementation of the highest-priority
- * installed provider as the source of randomness. (If none of the installed
- * providers supply an implementation of {@link SecureRandom}, a
- * system-provided source of randomness is used.)
+ * If the algorithm is the DSA algorithm, and the keysize
+ * (modulus size) is 512, 768, or 1024,
+ * then the GNU provider uses a set of precomputed values for the
+ * p, q, and g parameters. If the
+ * modulus size is not one of the above values, the GNU
+ * provider creates a new set of parameters. Other providers might have
+ * precomputed parameter sets for more than just the three modulus sizes
+ * mentioned above. Still others might not have a list of precomputed
+ * parameters at all and instead always create new parameter sets.
+ * - Algorithm-Specific Initialization
+ * For situations where a set of algorithm-specific parameters already
+ * exists (e.g., so-called community parameters in DSA), there
+ * are two initialize methods that have an {@link AlgorithmParameterSpec}
+ * argument. One also has a {@link SecureRandom} argument, while the the
+ * other uses the {@link SecureRandom} implementation of the highest-priority
+ * installed provider as the source of randomness. (If none of the installed
+ * providers supply an implementation of {@link SecureRandom}, a
+ * system-provided source of randomness is used.)
*
*
* In case the client does not explicitly initialize the
--
cgit v1.2.1