java.security.Key
, java.security.KeyFactory
, KeySpec
, DSAPublicKeySpec
, PKCS8EncodedKeySpec
Modifier and Type | Field and Description |
---|---|
private final BigInteger | |
private final BigInteger | |
private final BigInteger | |
private final BigInteger |
Access | Constructor and Description |
---|---|
public | DSAPrivateKeySpec(BigInteger
the private key. x, BigInteger the prime. p, BigInteger the sub-prime. q, BigInteger the base. g)Creates a new DSAPrivateKeySpec with the specified parameter values. |
Modifier and Type | Method and Description |
---|---|
public BigInteger | |
public BigInteger | |
public BigInteger | |
public BigInteger |
g | back to summary |
---|---|
private final BigInteger g |
p | back to summary |
---|---|
private final BigInteger p |
q | back to summary |
---|---|
private final BigInteger q |
x | back to summary |
---|---|
private final BigInteger x |
DSAPrivateKeySpec | back to summary |
---|---|
public DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger g) Creates a new DSAPrivateKeySpec with the specified parameter values.
|
getG | back to summary |
---|---|
public BigInteger getG() Returns the base
|
getP | back to summary |
---|---|
public BigInteger getP() Returns the prime
|
getQ | back to summary |
---|---|
public BigInteger getQ() Returns the sub-prime
|
getX | back to summary |
---|---|
public BigInteger getX() Returns the private key
|