org.bouncycastle.crypto.generators

Class DHKeyPairGenerator

Implemented Interfaces:
AsymmetricCipherKeyPairGenerator

public class DHKeyPairGenerator
extends java.lang.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

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