Package org.bouncycastle.crypto.params

## Class CramerShoupParameters

- java.lang.Object
- - org.bouncycastle.crypto.params.CramerShoupParameters

- All Implemented Interfaces:
    `CipherParameters`

      public class CramerShoupParameters
      extends java.lang.Object
      implements CipherParameters

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CramerShoupParameters​(java.math.BigInteger p, java.math.BigInteger g1, java.math.BigInteger g2, Digest H)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(java.lang.Object obj)` |
    `java.math.BigInteger` | `getG1()` |
    `java.math.BigInteger` | `getG2()` |
    `Digest` | `getH()` |
    `java.math.BigInteger` | `getP()` |
    `int` | `hashCode()` |

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

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

- - ### Constructor Detail

    - #### CramerShoupParameters

          public CramerShoupParameters​(java.math.BigInteger p,
                                       java.math.BigInteger g1,
                                       java.math.BigInteger g2,
                                       Digest H)

  - ### Method Detail

    - #### equals

          public boolean equals​(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### getG1

          public java.math.BigInteger getG1()

    - #### getG2

          public java.math.BigInteger getG2()

    - #### getP

          public java.math.BigInteger getP()

    - #### getH

          public Digest getH()