javax.crypto.interfaces
public interface DHPrivateKey extends DHKey, 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
See Also: DHKey DHPublicKey
Field Summary | |
---|---|
long | serialVersionUID Compatible with JDK1.4. |
Method Summary | |
---|---|
BigInteger | getX()
Returns the private value x.
|
Returns: The private value x.