StringBuffer.java, [...]: Removed redundant and reordered modifiers.
2004-11-06 Michael Koch <konqueror@gmx.de> * java/lang/StringBuffer.java, java/lang/Throwable.java, java/security/spec/DSAParameterSpec.java, java/util/zip/ZipEntry.java, java/util/zip/ZipFile.java, java/util/zip/ZipInputStream.java, java/util/zip/ZipOutputStream.java: Removed redundant and reordered modifiers. From-SVN: r90177
This commit is contained in:
parent
08d9302409
commit
c2e999dfeb
8 changed files with 60 additions and 50 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue