org.gudy.bouncycastle.jce.provider
Class JDKKeyPairGenerator.EC

java.lang.Object
  extended by java.security.KeyPairGeneratorSpi
      extended by java.security.KeyPairGenerator
          extended by org.gudy.bouncycastle.jce.provider.JDKKeyPairGenerator
              extended by org.gudy.bouncycastle.jce.provider.JDKKeyPairGenerator.EC
Direct Known Subclasses:
JDKKeyPairGenerator.ECDH, JDKKeyPairGenerator.ECDHC, JDKKeyPairGenerator.ECDSA
Enclosing class:
JDKKeyPairGenerator

public static class JDKKeyPairGenerator.EC
extends JDKKeyPairGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.bouncycastle.jce.provider.JDKKeyPairGenerator
JDKKeyPairGenerator.EC, JDKKeyPairGenerator.ECDH, JDKKeyPairGenerator.ECDHC, JDKKeyPairGenerator.ECDSA
 
Constructor Summary
JDKKeyPairGenerator.EC(String algorithm)
           
 
Method Summary
 KeyPair generateKeyPair()
           
 void initialize(AlgorithmParameterSpec params, SecureRandom random)
           
 void initialize(int strength, SecureRandom random)
           
 
Methods inherited from class java.security.KeyPairGenerator
genKeyPair, getAlgorithm, getInstance, getInstance, getInstance, getProvider, initialize, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKKeyPairGenerator.EC

public JDKKeyPairGenerator.EC(String algorithm)
Method Detail

initialize

public void initialize(int strength,
                       SecureRandom random)
Specified by:
initialize in class JDKKeyPairGenerator

initialize

public void initialize(AlgorithmParameterSpec params,
                       SecureRandom random)
                throws InvalidAlgorithmParameterException
Overrides:
initialize in class KeyPairGenerator
Throws:
InvalidAlgorithmParameterException

generateKeyPair

public KeyPair generateKeyPair()
Specified by:
generateKeyPair in class JDKKeyPairGenerator