javax.crypto.interfaces
Interface DHPublicKey
- All Superinterfaces:
- DHKey, Key, PublicKey, Serializable
public interface DHPublicKey
- extends DHKey, PublicKey
This interface marks a public key in the Diffie-Hellman key-exchange
algorithm.
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
Methods inherited from interface javax.crypto.interfaces.DHKey |
getParams |
serialVersionUID
static final long serialVersionUID
- Compatible with JDK1.4.
- See Also:
- Constant Field Values
getY
BigInteger getY()
- Get the public value y.
- Returns:
- The public value y.