public class

ECKeyPairGenerator

extends Object
implements AsymmetricCipherKeyPairGenerator ECConstants
java.lang.Object
   ↳ org.bouncycastle.crypto.generators.ECKeyPairGenerator

Summary

[Expand]
Inherited Fields
From interface org.bouncycastle.math.ec.ECConstants
Public Constructors
ECKeyPairGenerator()
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator

Public Constructors

public ECKeyPairGenerator ()

Public Methods

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.

Returns
  • an AsymmetricCipherKeyPair containing the generated keys.

public void init (KeyGenerationParameters param)

intialise the key pair generator.

Parameters
param the parameters the key pair is to be initialised with.