Package org.bouncycastle.crypto.params
Class DSAParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.DSAParameters
-
- All Implemented Interfaces:
CipherParameters
public class DSAParameters extends java.lang.Object implements CipherParameters
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.math.BigInteger
getG()
java.math.BigInteger
getP()
java.math.BigInteger
getQ()
DSAValidationParameters
getValidationParameters()
int
hashCode()
-
-
-
Constructor Detail
-
DSAParameters
public DSAParameters(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g)
-
DSAParameters
public DSAParameters(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, DSAValidationParameters params)
-
-
Method Detail
-
getP
public java.math.BigInteger getP()
-
getQ
public java.math.BigInteger getQ()
-
getG
public java.math.BigInteger getG()
-
getValidationParameters
public DSAValidationParameters getValidationParameters()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-