Package org.bouncycastle.crypto

## Interface AsymmetricCipherKeyPairGenerator

- All Known Implementing Classes:
    `CramerShoupKeyPairGenerator`, `DHBasicKeyPairGenerator`, `DHKeyPairGenerator`, `DSAKeyPairGenerator`, `DSTU4145KeyPairGenerator`, `ECKeyPairGenerator`, `Ed25519KeyPairGenerator`, `Ed448KeyPairGenerator`, `ElGamalKeyPairGenerator`, `GMSSKeyPairGenerator`, `GOST3410KeyPairGenerator`, `HSSKeyPairGenerator`, `LMSKeyPairGenerator`, `McElieceCCA2KeyPairGenerator`, `McElieceKeyPairGenerator`, `NaccacheSternKeyPairGenerator`, `NHKeyPairGenerator`, `NTRUEncryptionKeyPairGenerator`, `NTRUSigningKeyPairGenerator`, `QTESLAKeyPairGenerator`, `RainbowKeyPairGenerator`, `RSAKeyPairGenerator`, `SPHINCS256KeyPairGenerator`, `X25519KeyPairGenerator`, `X448KeyPairGenerator`, `XMSSKeyPairGenerator`, `XMSSMTKeyPairGenerator`

      public interface AsymmetricCipherKeyPairGenerator

  interface that a public/private key pair generator should conform to.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `AsymmetricCipherKeyPair` | `generateKeyPair()` | return an AsymmetricCipherKeyPair containing the generated keys.
    `void` | `init​(KeyGenerationParameters param)` | intialise the key pair generator.

- - ### Method Detail

    - #### init

          void init​(KeyGenerationParameters param)

      intialise the key pair generator.
      Parameters:
        `param` - the parameters the key pair is to be initialised with.

    - #### generateKeyPair

          AsymmetricCipherKeyPair generateKeyPair()

      return an AsymmetricCipherKeyPair containing the generated keys.
      Returns:
        an AsymmetricCipherKeyPair containing the generated keys.