public interface DHPublicKey extends DHKey, PublicKey
Implementations of Diffie-Hellman public keys should implement this interface. Applications that know that a particular key is a Diffie-Hellman public key it can be safely cast to this interface.
DHKey
,
DHPrivateKey
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
Compatible with JDK1.4.
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getY()
Get the public value y.
|
getAlgorithm, getEncoded, getFormat
static final long serialVersionUID
BigInteger getY()