javax.crypto.interfaces
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.
Since: 1.4
See Also: DHKey DHPrivateKey
| Field Summary | |
|---|---|
| long | serialVersionUID Compatible with JDK1.4. |
| Method Summary | |
|---|---|
| BigInteger | getY()
Get the public value y.
|
Returns: The public value y.