Package javax.crypto.interfaces
Interface DHKey
- All Known Subinterfaces:
DHPrivateKey,DHPublicKey
- All Known Implementing Classes:
BCDHPrivateKey,BCDHPublicKey,JCEDHPrivateKey,JCEDHPublicKey
public interface DHKey
The interface for a Diffie-Hellman key.
-
Method Summary
Modifier and Type Method Description DHParameterSpecgetParams()Returns the parameters for this key.
-
Method Details
-
getParams
DHParameterSpec getParams()Returns the parameters for this key.- Returns:
- the parameters for this key.
-