|
|||||||||
| Home >> All >> javax >> crypto >> [ interfaces overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.crypto.interfaces
Interface DHPrivateKey

- All Superinterfaces:
- DHKey, java.security.Key, java.security.PrivateKey, java.io.Serializable
- public interface DHPrivateKey
- extends DHKey, java.security.PrivateKey
This interface marks a private key in the Diffie-Hellman key exchange algorithm. It should be treated with as much care as any java.security.PrivateKey.
Implementations of Diffie-Hellman private keys should implement this interface. Applications that know a particular key is a Diffie-Hellman private key can safely cast it to this interface.
- Since:
- 1.4
| Field Summary | |
static long |
serialVersionUID
Compatible with JDK1.4. |
| Method Summary | |
java.math.BigInteger |
getX()
Returns the private value x. |
| Methods inherited from interface javax.crypto.interfaces.DHKey |
getParams |
| Methods inherited from interface java.security.Key |
getAlgorithm, getEncoded, getFormat |
| Field Detail |
serialVersionUID
public static final long serialVersionUID
- Compatible with JDK1.4.
- See Also:
- Constant Field Values
| Method Detail |
getX
public java.math.BigInteger getX()
- Returns the private value x.
|
|||||||||
| Home >> All >> javax >> crypto >> [ interfaces overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC