public class ECKeyPairGenerator extends Object implements AsymmetricCipherKeyPairGenerator, org.bouncycastle.math.ec.ECConstants
Constructor and Description |
---|
ECKeyPairGenerator() |
Modifier and Type | Method and Description |
---|---|
protected org.bouncycastle.math.ec.ECMultiplier |
createBasePointMultiplier() |
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.
|
public void init(KeyGenerationParameters param)
AsymmetricCipherKeyPairGenerator
init
in interface AsymmetricCipherKeyPairGenerator
param
- the parameters the key pair is to be initialised with.public AsymmetricCipherKeyPair generateKeyPair()
generateKeyPair
in interface AsymmetricCipherKeyPairGenerator
protected org.bouncycastle.math.ec.ECMultiplier createBasePointMultiplier()