AI-generated Key Takeaways
-
DHKey is the interface for Diffie-Hellman keys, encompassing both public and private key functionalities.
-
It provides access to the key parameters through the
getParams()
method, returning a DHParameterSpec object. -
DHPrivateKey and DHPublicKey are known subclasses, representing the private and public key components respectively.
public interface
DHKey
Known Indirect Subclasses |
The interface to a Diffie-Hellman key.
Public Method Summary
abstract DHParameterSpec |
getParams()
Returns the key parameters.
|