com.mindbright.security.publickey
Class DSAKeyFactory

java.lang.Object
  |
  +--com.mindbright.jca.security.KeyFactorySpi
        |
        +--com.mindbright.security.publickey.DSAKeyFactory

public class DSAKeyFactory
extends com.mindbright.jca.security.KeyFactorySpi


Constructor Summary
DSAKeyFactory()
           
 
Method Summary
protected  com.mindbright.jca.security.PrivateKey engineGeneratePrivate(com.mindbright.jca.security.spec.KeySpec keySpec)
           
protected  com.mindbright.jca.security.PublicKey engineGeneratePublic(com.mindbright.jca.security.spec.KeySpec keySpec)
           
protected  com.mindbright.jca.security.spec.KeySpec engineGetKeySpec(com.mindbright.jca.security.Key key, java.lang.Class keySpec)
           
protected  com.mindbright.jca.security.Key engineTranslateKey(com.mindbright.jca.security.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 com.mindbright.jca.security.PublicKey engineGeneratePublic(com.mindbright.jca.security.spec.KeySpec keySpec)
                                                              throws com.mindbright.jca.security.spec.InvalidKeySpecException
Specified by:
engineGeneratePublic in class com.mindbright.jca.security.KeyFactorySpi
com.mindbright.jca.security.spec.InvalidKeySpecException

engineGeneratePrivate

protected com.mindbright.jca.security.PrivateKey engineGeneratePrivate(com.mindbright.jca.security.spec.KeySpec keySpec)
                                                                throws com.mindbright.jca.security.spec.InvalidKeySpecException
Specified by:
engineGeneratePrivate in class com.mindbright.jca.security.KeyFactorySpi
com.mindbright.jca.security.spec.InvalidKeySpecException

engineGetKeySpec

protected com.mindbright.jca.security.spec.KeySpec engineGetKeySpec(com.mindbright.jca.security.Key key,
                                                                    java.lang.Class keySpec)
                                                             throws com.mindbright.jca.security.spec.InvalidKeySpecException
Specified by:
engineGetKeySpec in class com.mindbright.jca.security.KeyFactorySpi
com.mindbright.jca.security.spec.InvalidKeySpecException

engineTranslateKey

protected com.mindbright.jca.security.Key engineTranslateKey(com.mindbright.jca.security.Key key)
                                                      throws com.mindbright.jca.security.InvalidKeyException
Specified by:
engineTranslateKey in class com.mindbright.jca.security.KeyFactorySpi
com.mindbright.jca.security.InvalidKeyException