org.bouncycastle.crypto.generators

Class ECKeyPairGenerator

Implemented Interfaces:
AsymmetricCipherKeyPairGenerator, org.bouncycastle.math.ec.ECConstants

public class ECKeyPairGenerator
extends java.lang.Object
implements AsymmetricCipherKeyPairGenerator, org.bouncycastle.math.ec.ECConstants

Fields inherited from interface org.bouncycastle.math.ec.ECConstants

FOUR, ONE, THREE, TWO, ZERO

Method Summary

AsymmetricCipherKeyPair
generateKeyPair()
Given the domain parameters this routine generates an EC key pair in accordance with X9.62 section 5.2.1 pages 26, 27.
void
init(KeyGenerationParameters param)
intialise the key pair generator.

Method Details

generateKeyPair

public AsymmetricCipherKeyPair generateKeyPair()
Given the domain parameters this routine generates an EC key pair in accordance with X9.62 section 5.2.1 pages 26, 27.
Specified by:
generateKeyPair in interface AsymmetricCipherKeyPairGenerator

init

public void init(KeyGenerationParameters param)
intialise the key pair generator.
Specified by:
init in interface AsymmetricCipherKeyPairGenerator
Parameters:
param - the parameters the key pair is to be initialised with.