com.mindbright.security.publickey
Class RSAKeyFactory

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

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


Constructor Summary
RSAKeyFactory()
           
 
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

RSAKeyFactory

public RSAKeyFactory()
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