DHKey (Java Platform SE 8 )
Keywords: javax.crypto.interfaces.DHKey interface
Date: 2015-05-24

javax.crypto.interfaces

## Interface DHKey

- All Known Subinterfaces:
    DHPrivateKey, DHPublicKey

      public interface DHKey

  The interface to a Diffie-Hellman key.
  Since:
    1.4
  See Also:
    `DHParameterSpec`, `DHPublicKey`, `DHPrivateKey`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `DHParameterSpec` | `getParams()` Returns the key parameters.

- - ### Method Detail

    - #### getParams

          DHParameterSpec getParams()

      Returns the key parameters.
      Returns:
        the key parameters

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.