org.bouncycastle.crypto.generators

## Class SM2KeyPairGenerator

- java.lang.Object
- - org.bouncycastle.crypto.generators.ECKeyPairGenerator
  - - org.bouncycastle.crypto.generators.SM2KeyPairGenerator

- All Implemented Interfaces:
    AsymmetricCipherKeyPairGenerator, ECConstants

      public class SM2KeyPairGenerator
      extends ECKeyPairGenerator

- - ### Field Summary

    - ### Fields inherited from interface org.bouncycastle.math.ec.ECConstants

      `EIGHT, FOUR, ONE, THREE, TWO, ZERO`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SM2KeyPairGenerator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | `isOutOfRangeD(java.math.BigInteger d, java.math.BigInteger n)`

    - ### Methods inherited from class org.bouncycastle.crypto.generators.ECKeyPairGenerator

      `createBasePointMultiplier, generateKeyPair, init`

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

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

- - ### Constructor Detail

    - #### SM2KeyPairGenerator

          public SM2KeyPairGenerator()

  - ### Method Detail

    - #### isOutOfRangeD

          protected boolean isOutOfRangeD(java.math.BigInteger d,
                                          java.math.BigInteger n)

      Overrides:
        `isOutOfRangeD` in class `ECKeyPairGenerator`