DHPrivateKeyParameters (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.crypto.params

## Class DHPrivateKeyParameters

- java.lang.Object
- - org.bouncycastle.crypto.params.AsymmetricKeyParameter
  - - org.bouncycastle.crypto.params.DHKeyParameters
    - - org.bouncycastle.crypto.params.DHPrivateKeyParameters

- All Implemented Interfaces:
    CipherParameters

      public class DHPrivateKeyParameters
      extends DHKeyParameters

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DHPrivateKeyParameters(java.math.BigInteger x, DHParameters params)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.math.BigInteger` | `getX()`
    `int` | `hashCode()`

    - ### Methods inherited from class org.bouncycastle.crypto.params.DHKeyParameters

      `getParameters`

    - ### Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter

      `isPrivate`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DHPrivateKeyParameters

          public DHPrivateKeyParameters(java.math.BigInteger x,
                                DHParameters params)

  - ### Method Detail

    - #### getX

          public java.math.BigInteger getX()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `DHKeyParameters`

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `DHKeyParameters`