org.bouncycastle.crypto.generators

Class ElGamalKeyPairGenerator

Implemented Interfaces:
AsymmetricCipherKeyPairGenerator

public class ElGamalKeyPairGenerator
extends java.lang.Object
implements AsymmetricCipherKeyPairGenerator

a ElGamal key pair generator.

This generates keys consistent for use with ElGamal as described in page 164 of "Handbook of Applied Cryptography".

Method Summary

AsymmetricCipherKeyPair
generateKeyPair()
void
init(KeyGenerationParameters param)

Method Details

generateKeyPair

public AsymmetricCipherKeyPair generateKeyPair()
Specified by:
generateKeyPair in interface AsymmetricCipherKeyPairGenerator


init

public void init(KeyGenerationParameters param)
Specified by:
init in interface AsymmetricCipherKeyPairGenerator