org.bitcoin.x6763.crypto.ecdsa
Class KeyPairGenerator

java.lang.Object
  extended by org.bitcoin.x6763.crypto.ecdsa.KeyPairGenerator
All Implemented Interfaces:
ECConstants, Secp256k1

public class KeyPairGenerator
extends java.lang.Object
implements Secp256k1, ECConstants

An Elliptic Curve key pair generator. It uses the secp256k1 elliptic curve.

Author:
Bouncy Castle contributors - http://www.bouncycastle.org/contributors.html, x6763

Field Summary
 
Fields inherited from interface org.bitcoin.x6763.crypto.ecdsa.Secp256k1
a, algorithm, b, bigX, bigY, curve, G, h, n, p, parameters, x, y
 
Fields inherited from interface org.bitcoin.x6763.crypto.ecdsa.math.ECConstants
FOUR, ONE, THREE, TWO, ZERO
 
Constructor Summary
KeyPairGenerator()
           
 
Method Summary
static KeyPair generateKeyPair()
          Generates a new Elliptic Curve key pair.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyPairGenerator

public KeyPairGenerator()
Method Detail

generateKeyPair

public static KeyPair generateKeyPair()
Generates a new Elliptic Curve key pair.

Returns:
the generated key pair