AsymmetricCipherKeyPairGenerator (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.crypto

## Interface AsymmetricCipherKeyPairGenerator

- All Known Implementing Classes:
    CramerShoupKeyPairGenerator, DHBasicKeyPairGenerator, DHKeyPairGenerator, DSAKeyPairGenerator, DSTU4145KeyPairGenerator, ECKeyPairGenerator, ElGamalKeyPairGenerator, GMSSKeyPairGenerator, GOST3410KeyPairGenerator, McElieceCCA2KeyPairGenerator, McElieceKeyPairGenerator, NaccacheSternKeyPairGenerator, NTRUEncryptionKeyPairGenerator, NTRUSigningKeyPairGenerator, RainbowKeyPairGenerator, RSAKeyPairGenerator

      public interface AsymmetricCipherKeyPairGenerator

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and 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.