org.bouncycastle.jce.provider

Class JDKKeyFactory

Known Direct Subclasses:
JDKKeyFactory.DH, JDKKeyFactory.DSA, JDKKeyFactory.EC, JDKKeyFactory.ElGamal, JDKKeyFactory.GOST3410, JDKKeyFactory.RSA, JDKKeyFactory.X509

public abstract class JDKKeyFactory
extends KeyFactorySpi

Nested Class Summary

static class
JDKKeyFactory.DH
static class
JDKKeyFactory.DSA
static class
JDKKeyFactory.EC
static class
JDKKeyFactory.ECDH
static class
JDKKeyFactory.ECDHC
static class
JDKKeyFactory.ECDSA
static class
JDKKeyFactory.ECGOST3410
static class
JDKKeyFactory.ElGamal
static class
JDKKeyFactory.GOST3410
static class
JDKKeyFactory.RSA
static class
JDKKeyFactory.X509
This isn't really correct, however the class path project API seems to think such a key factory will exist.

Field Summary

protected boolean
elGamalFactory

Constructor Summary

JDKKeyFactory()

Method Summary

protected KeySpec
engineGetKeySpec(Key key, Class spec)
protected Key
engineTranslateKey(Key key)

Field Details

elGamalFactory

protected boolean elGamalFactory

Constructor Details

JDKKeyFactory

public JDKKeyFactory()

Method Details

engineGetKeySpec

protected KeySpec engineGetKeySpec(Key key,
                                   Class spec)
            throws InvalidKeySpecException

engineTranslateKey

protected Key engineTranslateKey(Key key)
            throws InvalidKeyException