DSTU4145KeyPairGenerator (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.crypto.generators

## Class DSTU4145KeyPairGenerator

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

- All Implemented Interfaces:
    AsymmetricCipherKeyPairGenerator, ECConstants

      public class DSTU4145KeyPairGenerator
      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
    `DSTU4145KeyPairGenerator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `AsymmetricCipherKeyPair` | `generateKeyPair()` Given the domain parameters this routine generates an EC key pair in accordance with X9.62 section 5.2.1 pages 26, 27.

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

      `createBasePointMultiplier, init, isOutOfRangeD`

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

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

- - ### Constructor Detail

    - #### DSTU4145KeyPairGenerator

          public DSTU4145KeyPairGenerator()

  - ### Method Detail

    - #### generateKeyPair

          public AsymmetricCipherKeyPair generateKeyPair()

      Description copied from class: `ECKeyPairGenerator`
      Given the domain parameters this routine generates an EC key pair in accordance with X9.62 section 5.2.1 pages 26, 27.
      Specified by:
        `generateKeyPair` in interface `AsymmetricCipherKeyPairGenerator`
      Overrides:
        `generateKeyPair` in class `ECKeyPairGenerator`
      Returns:
        an AsymmetricCipherKeyPair containing the generated keys.