org.gudy.bouncycastle.jce.provider
Class JDKKeyPairGenerator

java.lang.Object
  extended by java.security.KeyPairGeneratorSpi
      extended by java.security.KeyPairGenerator
          extended by org.gudy.bouncycastle.jce.provider.JDKKeyPairGenerator
Direct Known Subclasses:
JDKKeyPairGenerator.EC

public abstract class JDKKeyPairGenerator
extends KeyPairGenerator


Nested Class Summary
static class JDKKeyPairGenerator.EC
           
static class JDKKeyPairGenerator.ECDH
           
static class JDKKeyPairGenerator.ECDHC
           
static class JDKKeyPairGenerator.ECDSA
           
 
Constructor Summary
JDKKeyPairGenerator(String algorithmName)
           
 
Method Summary
abstract  KeyPair generateKeyPair()
           
abstract  void initialize(int strength, SecureRandom random)
           
 
Methods inherited from class java.security.KeyPairGenerator
genKeyPair, getAlgorithm, getInstance, getInstance, getInstance, getProvider, initialize, initialize, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKKeyPairGenerator

public JDKKeyPairGenerator(String algorithmName)
Method Detail

initialize

public abstract void initialize(int strength,
                                SecureRandom random)
Overrides:
initialize in class KeyPairGenerator

generateKeyPair

public abstract KeyPair generateKeyPair()
Overrides:
generateKeyPair in class KeyPairGenerator