javax.crypto.interfaces
Interface DHPrivateKey
- All Known Implementing Classes:
- DHPrivKey
- public abstract interface DHPrivateKey
- extends DHKey, java.security.PrivateKey
The interface to a Diffie-Hellman private key.
- See Also:
DHKey
,
DHPublicKey
Field Summary |
static java.lang.String |
ident
|
Fields inherited from class javax.crypto.interfaces.DHKey |
ident |
Fields inherited from class java.security.PrivateKey |
serialVersionUID |
Fields inherited from class java.security.Key |
serialVersionUID |
Fields inherited from class java.io.Serializable |
serialVersionUID |
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 |
ident
public static final java.lang.String ident
getX
public java.math.BigInteger getX()
- Returns the private value, x.
- Returns:
- the private value, x