FileDocCategorySizeDatePackage
DSAParameters.javaAPI DocAzureus 3.0.3.41370Tue Jun 08 05:13:00 BST 2004org.bouncycastle.crypto.params

DSAParameters

public class DSAParameters extends Object implements org.bouncycastle.crypto.CipherParameters

Fields Summary
private BigInteger
g
private BigInteger
q
private BigInteger
p
private DSAValidationParameters
validation
Constructors Summary
public DSAParameters(BigInteger p, BigInteger q, BigInteger g)

        this.g = g;
        this.p = p;
        this.q = q;
    
public DSAParameters(BigInteger p, BigInteger q, BigInteger g, DSAValidationParameters params)

        this.g = g;
        this.p = p;
        this.q = q;
        this.validation = params;
    
Methods Summary
public booleanequals(java.lang.Object obj)

        if (!(obj instanceof DSAParameters))
        {
            return false;
        }

        DSAParameters    pm = (DSAParameters)obj;

        return (pm.getP().equals(p) && pm.getQ().equals(q) && pm.getG().equals(g));
    
public java.math.BigIntegergetG()

        return g;
    
public java.math.BigIntegergetP()

        return p;
    
public java.math.BigIntegergetQ()

        return q;
    
public DSAValidationParametersgetValidationParameters()

        return validation;