org.bouncycastle.crypto.generators

Class DHKeyPairGenerator

public class DHKeyPairGenerator extends Object implements AsymmetricCipherKeyPairGenerator

a Diffie-Helman key pair generator. This generates keys consistent for use in the MTI/A0 key agreement protocol as described in "Handbook of Applied Cryptography", Pages 516-519.
Method Summary
AsymmetricCipherKeyPairgenerateKeyPair()
voidinit(KeyGenerationParameters param)

Method Detail

generateKeyPair

public AsymmetricCipherKeyPair generateKeyPair()

init

public void init(KeyGenerationParameters param)