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

org.bouncycastle.crypto.generators

## Class EphemeralKeyPairGenerator

- java.lang.Object
- - org.bouncycastle.crypto.generators.EphemeralKeyPairGenerator

-     public class EphemeralKeyPairGenerator
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EphemeralKeyPairGenerator(AsymmetricCipherKeyPairGenerator gen, KeyEncoder keyEncoder)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EphemeralKeyPair` | `generate()`

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

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

- - ### Constructor Detail

    - #### EphemeralKeyPairGenerator

          public EphemeralKeyPairGenerator(AsymmetricCipherKeyPairGenerator gen,
                                           KeyEncoder keyEncoder)

  - ### Method Detail

    - #### generate

          public EphemeralKeyPair generate()