public class DSAParameters extends java.lang.Object implements CipherParameters
Modifier and Type | Field and Description |
---|---|
private java.math.BigInteger |
g |
private java.math.BigInteger |
p |
private java.math.BigInteger |
q |
private DSAValidationParameters |
validation |
Constructor and Description |
---|
DSAParameters(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g) |
DSAParameters(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g,
DSAValidationParameters params) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.math.BigInteger |
getG() |
java.math.BigInteger |
getP() |
java.math.BigInteger |
getQ() |
DSAValidationParameters |
getValidationParameters() |
int |
hashCode() |
private java.math.BigInteger g
private java.math.BigInteger q
private java.math.BigInteger p
private DSAValidationParameters validation
public DSAParameters(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g)
public DSAParameters(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, DSAValidationParameters params)
public java.math.BigInteger getP()
public java.math.BigInteger getQ()
public java.math.BigInteger getG()
public DSAValidationParameters getValidationParameters()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object