public class ECKeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator, ECConstants
Constructor and Description |
---|
ECKeyPairGenerator() |
Modifier and Type | Method and Description |
---|---|
protected 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 ECMultiplier createBasePointMultiplier()