DSAPublicKey, AlgIdDSA, DSA
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Hides sun. |
| private final BigInteger |
| Access | Constructor and Description |
|---|---|
| public | DSAPrivateKey(BigInteger x, BigInteger p, BigInteger q, BigInteger g)
Make a DSA private key out of a private key and three parameters. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DSAParams | getParams()
Overrides default java. Returns the DSA parameters associated with this key, or null if the parameters could not be parsed. |
| public BigInteger | getX()
Implements java. Get the raw private key, x, without the parameters. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides sun. use serialVersionUID from JDK 1.1. for interoperability | |
| x | back to summary |
|---|---|
| private final BigInteger x | |
| DSAPrivateKey | back to summary |
|---|---|
| public DSAPrivateKey(BigInteger x, BigInteger p, BigInteger q, BigInteger g) Make a DSA private key out of a private key and three parameters. | |
| DSAPrivateKey | back to summary |
|---|---|
| public DSAPrivateKey(byte[] encoded) throws InvalidKeyException Make a DSA private key from its DER encoding (PKCS #8). | |
| getParams | back to summary |
|---|---|
| public DSAParams getParams() Overrides default java. Returns the DSA parameters associated with this key, or null if the parameters could not be parsed. | |
| getX | back to summary |
|---|---|
| public BigInteger getX() Implements java. Get the raw private key, x, without the parameters. | |