Note that this class does not perform any validation on specified parameters. Thus, the specified values are returned directly even if they are null.
DHPublicKeySpec
| Modifier and Type | Field and Description |
|---|---|
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger |
| Access | Constructor and Description |
|---|---|
| public | DHPrivateKeySpec(BigInteger
private value x x, BigInteger prime modulus p p, BigInteger base generator g g)Constructor that takes a private value |
| Modifier and Type | Method and Description |
|---|---|
| public BigInteger | |
| public BigInteger | |
| public BigInteger |
| g | back to summary |
|---|---|
| private final BigInteger g | |
| p | back to summary |
|---|---|
| private final BigInteger p | |
| x | back to summary |
|---|---|
| private final BigInteger x | |
| DHPrivateKeySpec | back to summary |
|---|---|
| public DHPrivateKeySpec(BigInteger x, BigInteger p, BigInteger g) Constructor that takes a private value
| |
| getG | back to summary |
|---|---|
| public BigInteger getG() Returns the base generator
| |
| getP | back to summary |
|---|---|
| public BigInteger getP() Returns the prime modulus
| |
| getX | back to summary |
|---|---|
| public BigInteger getX() Returns the private value
| |