Package org.bouncycastle.jce.interfaces

## Interface ElGamalPrivateKey

- All Superinterfaces:
    `javax.security.auth.Destroyable`, `javax.crypto.interfaces.DHKey`, `javax.crypto.interfaces.DHPrivateKey`, `ElGamalKey`, `java.security.Key`, `java.security.PrivateKey`, `java.io.Serializable`
  All Known Implementing Classes:
    `BCElGamalPrivateKey`, `JCEElGamalPrivateKey`

      public interface ElGamalPrivateKey
      extends ElGamalKey, javax.crypto.interfaces.DHPrivateKey

- - ### Field Summary

    - ### Fields inherited from interface javax.crypto.interfaces.DHPrivateKey

      `serialVersionUID`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.math.BigInteger` | `getX()` |

    - ### Methods inherited from interface javax.security.auth.Destroyable

      `destroy, isDestroyed`

    - ### Methods inherited from interface javax.crypto.interfaces.DHKey

      `getParams`

    - ### Methods inherited from interface org.bouncycastle.jce.interfaces.ElGamalKey

      `getParameters`

    - ### Methods inherited from interface java.security.Key

      `getAlgorithm, getEncoded, getFormat`

- - ### Method Detail

    - #### getX

          java.math.BigInteger getX()

      Specified by:
        `getX` in interface `javax.crypto.interfaces.DHPrivateKey`