public interface DHPrivateKey extends DHKey, PrivateKey
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.
DHKey
,
DHPublicKey
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
Compatible with JDK1.4.
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getX()
Returns the private value x.
|
getAlgorithm, getEncoded, getFormat
static final long serialVersionUID
BigInteger getX()