org.gudy.bouncycastle.jce.provider
Class JDKKeyFactory

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

public abstract class JDKKeyFactory
extends KeyFactorySpi


Nested Class Summary
static class JDKKeyFactory.EC
           
static class JDKKeyFactory.ECDSA
           
 
Constructor Summary
JDKKeyFactory()
           
 
Method Summary
protected  KeySpec engineGetKeySpec(Key key, Class spec)
           
protected  Key engineTranslateKey(Key key)
           
 
Methods inherited from class java.security.KeyFactorySpi
engineGeneratePrivate, engineGeneratePublic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKKeyFactory

public JDKKeyFactory()
Method Detail

engineGetKeySpec

protected KeySpec engineGetKeySpec(Key key,
                                   Class spec)
                            throws InvalidKeySpecException
Specified by:
engineGetKeySpec in class KeyFactorySpi
Throws:
InvalidKeySpecException

engineTranslateKey

protected Key engineTranslateKey(Key key)
                          throws InvalidKeyException
Specified by:
engineTranslateKey in class KeyFactorySpi
Throws:
InvalidKeyException