public abstract class

JDKKeyFactory

extends KeyFactorySpi
java.lang.Object
   ↳ java.security.KeyFactorySpi
     ↳ org.bouncycastle.jce.provider.JDKKeyFactory
Known Direct Subclasses
Known Indirect Subclasses

Summary

Nested Classes
class JDKKeyFactory.DH  
class JDKKeyFactory.DSA  
class JDKKeyFactory.ElGamal  
class JDKKeyFactory.GOST3410  
class JDKKeyFactory.RSA  
class JDKKeyFactory.X509 This isn't really correct, however the class path project API seems to think such a key factory will exist. 
Fields
protected boolean elGamalFactory
Public Constructors
JDKKeyFactory()
Public Methods
static PublicKey createPublicKeyFromDERStream(byte[] in)
create a public key from the given DER encoded input stream.
Protected Methods
static PrivateKey createPrivateKeyFromDERStream(byte[] in)
create a private key from the given DER encoded input stream.
PrivateKey engineGeneratePrivate(KeySpec keySpec)
PublicKey engineGeneratePublic(KeySpec keySpec)
KeySpec engineGetKeySpec(Key key, Class spec)
Key engineTranslateKey(Key key)
[Expand]
Inherited Methods
From class java.security.KeyFactorySpi
From class java.lang.Object

Fields

protected boolean elGamalFactory

Public Constructors

public JDKKeyFactory ()

Public Methods

public static PublicKey createPublicKeyFromDERStream (byte[] in)

create a public key from the given DER encoded input stream.

Throws
IOException

Protected Methods

protected static PrivateKey createPrivateKeyFromDERStream (byte[] in)

create a private key from the given DER encoded input stream.

Throws
IOException

protected PrivateKey engineGeneratePrivate (KeySpec keySpec)

protected PublicKey engineGeneratePublic (KeySpec keySpec)

protected KeySpec engineGetKeySpec (Key key, Class spec)

protected Key engineTranslateKey (Key key)