|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.crypto.spec.DHPrivateKeySpec
public class DHPrivateKeySpec
A wrapper for Diffie-Hellman private key data.
DHPublicKeySpec| Constructor Summary | |
|---|---|
DHPrivateKeySpec(BigInteger x,
BigInteger p,
BigInteger g)
Create a new Diffie-Hellman private key spec. |
|
| Method Summary | |
|---|---|
BigInteger |
getG()
Get the base generator. |
BigInteger |
getP()
Get the prime modulus. |
BigInteger |
getX()
Get the private exponent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DHPrivateKeySpec(BigInteger x,
BigInteger p,
BigInteger g)
x - The private exponent.p - The prime modulus.g - The base generator.| Method Detail |
|---|
public BigInteger getG()
public BigInteger getP()
public BigInteger getX()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||