com.mindbright.security.publickey
Class DSAKeyFactory

java.lang.Object
  extended bycom.mindbright.jca.security.KeyFactorySpi
      extended bycom.mindbright.security.publickey.DSAKeyFactory

public class DSAKeyFactory
extends KeyFactorySpi


Constructor Summary
DSAKeyFactory()
           
 
Method Summary
protected  PrivateKey engineGeneratePrivate(KeySpec keySpec)
           
protected  PublicKey engineGeneratePublic(KeySpec keySpec)
           
protected  KeySpec engineGetKeySpec(Key key, java.lang.Class keySpec)
           
protected  Key engineTranslateKey(Key key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSAKeyFactory

public DSAKeyFactory()
Method Detail

engineGeneratePublic

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

engineGeneratePrivate

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

engineGetKeySpec

protected KeySpec engineGetKeySpec(Key key,
                                   java.lang.Class keySpec)
                            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