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