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 java.security.KeyPairGenerator


Nested Class Summary
static class JDKKeyPairGenerator.EC
           
static class JDKKeyPairGenerator.ECDH
           
static class JDKKeyPairGenerator.ECDHC
           
static class JDKKeyPairGenerator.ECDSA
           
 
Constructor Summary
JDKKeyPairGenerator(java.lang.String algorithmName)
           
 
Method Summary
abstract  java.security.KeyPair generateKeyPair()
           
abstract  void initialize(int strength, java.security.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(java.lang.String algorithmName)
Method Detail

initialize

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

generateKeyPair

public abstract java.security.KeyPair generateKeyPair()
Overrides:
generateKeyPair in class java.security.KeyPairGenerator