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


Nested Class Summary
static class JDKKeyFactory.EC
           
static class JDKKeyFactory.ECDSA
           
 
Constructor Summary
JDKKeyFactory()
           
 
Method Summary
protected  java.security.spec.KeySpec engineGetKeySpec(java.security.Key key, java.lang.Class spec)
           
protected  java.security.Key engineTranslateKey(java.security.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 java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
                                                      java.lang.Class spec)
                                               throws java.security.spec.InvalidKeySpecException
Specified by:
engineGetKeySpec in class java.security.KeyFactorySpi
Throws:
java.security.spec.InvalidKeySpecException

engineTranslateKey

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