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