FileDocCategorySizeDatePackage
DSAParameterSpec.javaAPI DocAndroid 1.5 API2270Wed May 06 22:41:06 BST 2009java.security.spec

DSAParameterSpec

public class DSAParameterSpec extends Object implements DSAParams, AlgorithmParameterSpec
The parameter specification used with the Digital Signature Algorithm (DSA).
since
Android 1.0

Fields Summary
private final BigInteger
p
private final BigInteger
q
private final BigInteger
g
Constructors Summary
public DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)
Creates a new {@code DSAParameterSpec} with the specified prime {@code p}, sub-prime {@code q} and the base {@code g}.

param
p the prime {@code p}.
param
q the sub-prime {@code q}.
param
g the base {@code g};
since
Android 1.0

        this.p = p;
        this.q = q;
        this.g = g;
    
Methods Summary
public java.math.BigIntegergetG()
Returns the base {@code g}.

return
the base {@code g}.
since
Android 1.0

        return g;
    
public java.math.BigIntegergetP()
Returns the prime {@code p}.

return
the prime {@code p}.
since
Android 1.0

        return p;
    
public java.math.BigIntegergetQ()
Returns the sub-prime {@code q}.

return
the sub-prime {@code q}.
since
Android 1.0

        return q;