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

java.lang.Object
  extended by java.security.KeyFactorySpi
      extended by org.gudy.bouncycastle.jce.provider.JDKKeyFactory
          extended by org.gudy.bouncycastle.jce.provider.JDKKeyFactory.EC
Direct Known Subclasses:
JDKKeyFactory.ECDSA
Enclosing class:
JDKKeyFactory

public static class JDKKeyFactory.EC
extends JDKKeyFactory


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.bouncycastle.jce.provider.JDKKeyFactory
JDKKeyFactory.EC, JDKKeyFactory.ECDSA
 
Constructor Summary
JDKKeyFactory.EC()
           
JDKKeyFactory.EC(String algorithm)
           
 
Method Summary
protected  PrivateKey engineGeneratePrivate(KeySpec keySpec)
           
protected  PublicKey engineGeneratePublic(KeySpec keySpec)
           
 
Methods inherited from class org.gudy.bouncycastle.jce.provider.JDKKeyFactory
engineGetKeySpec, engineTranslateKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKKeyFactory.EC

public JDKKeyFactory.EC()
                 throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException

JDKKeyFactory.EC

public JDKKeyFactory.EC(String algorithm)
Method Detail

engineGeneratePrivate

protected PrivateKey engineGeneratePrivate(KeySpec keySpec)
                                    throws InvalidKeySpecException
Specified by:
engineGeneratePrivate in class KeyFactorySpi
Throws:
InvalidKeySpecException

engineGeneratePublic

protected PublicKey engineGeneratePublic(KeySpec keySpec)
                                  throws InvalidKeySpecException
Specified by:
engineGeneratePublic in class KeyFactorySpi
Throws:
InvalidKeySpecException