|
|||||||||
| Home >> All >> javax >> crypto >> [ spec overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.crypto.spec
Class DHPublicKeySpec

java.lang.Objectjavax.crypto.spec.DHPublicKeySpec
- All Implemented Interfaces:
- java.security.spec.KeySpec
- public class DHPublicKeySpec
- extends java.lang.Object
- implements java.security.spec.KeySpec
- extends java.lang.Object
A wrapper for Diffie-Hellman public key data.
- Since:
- 1.4
| Field Summary | |
private java.math.BigInteger |
g
The base generator. |
private java.math.BigInteger |
p
The prime modulus. |
private java.math.BigInteger |
y
The public value. |
| Constructor Summary | |
DHPublicKeySpec(java.math.BigInteger y,
java.math.BigInteger p,
java.math.BigInteger g)
Create a new Diffie-Hellman public key spec. |
|
| Method Summary | |
java.math.BigInteger |
getG()
Get the base generator. |
java.math.BigInteger |
getP()
Get the prime modulus. |
java.math.BigInteger |
getY()
Get the public value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
g
private java.math.BigInteger g
- The base generator.
p
private java.math.BigInteger p
- The prime modulus.
y
private java.math.BigInteger y
- The public value.
| Constructor Detail |
DHPublicKeySpec
public DHPublicKeySpec(java.math.BigInteger y, java.math.BigInteger p, java.math.BigInteger g)
- Create a new Diffie-Hellman public key spec.
| Method Detail |
getG
public java.math.BigInteger getG()
- Get the base generator.
getP
public java.math.BigInteger getP()
- Get the prime modulus.
getY
public java.math.BigInteger getY()
- Get the public value.
|
|||||||||
| Home >> All >> javax >> crypto >> [ spec overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
javax.crypto.spec.DHPublicKeySpec