aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/security/spec
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/security/spec')
-rw-r--r--libjava/java/security/spec/DSAParameterSpec.java55
1 files changed, 28 insertions, 27 deletions
diff --git a/libjava/java/security/spec/DSAParameterSpec.java b/libjava/java/security/spec/DSAParameterSpec.java
index 5c7911f..337dc94 100644
--- a/libjava/java/security/spec/DSAParameterSpec.java
+++ b/libjava/java/security/spec/DSAParameterSpec.java
@@ -37,16 +37,17 @@ exception statement from your version. */
package java.security.spec;
-import java.security.interfaces.DSAParams;
+
import java.math.BigInteger;
+import java.security.interfaces.DSAParams;
/**
- DSA Parameter class Specification. Used to maintain the DSA
- Parameters.
-
- @since JDK 1.2
-
- @author Mark Benvenuto
+ * DSA Parameter class Specification. Used to maintain the DSA
+ * Parameters.
+ *
+ * @since 1.2
+ *
+ * @author Mark Benvenuto
*/
public class DSAParameterSpec implements AlgorithmParameterSpec, DSAParams
{
@@ -55,46 +56,46 @@ public class DSAParameterSpec implements AlgorithmParameterSpec, DSAParams
private BigInteger g = null;
/**
- Constructs a new DSAParameterSpec with the specified p, q, and g.
-
- @param p the prime
- @param q the sub-prime
- @param g the base
- */
+ * Constructs a new DSAParameterSpec with the specified p, q, and g.
+ *
+ * @param p the prime
+ * @param q the sub-prime
+ * @param g the base
+ */
public DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)
{
this.p = p;
this.q = q;
this.g = g;
}
+
/**
- Returns p for the DSA algorithm.
-
- @return Returns the requested BigInteger
- */
+ * Returns p for the DSA algorithm.
+ *
+ * @return Returns the requested BigInteger
+ */
public BigInteger getP()
{
return this.p;
}
/**
- Returns p for the DSA algorithm.
-
- @return Returns the requested BigInteger
- */
+ * Returns p for the DSA algorithm.
+ *
+ * @return Returns the requested BigInteger
+ */
public BigInteger getQ()
{
return this.q;
}
/**
- Returns g for the DSA algorithm.
-
- @return Returns the requested BigInteger
- */
+ * Returns g for the DSA algorithm.
+ *
+ * @return Returns the requested BigInteger
+ */
public BigInteger getG()
{
return this.g;
}
-
-}
+} \ No newline at end of file