For the latest news and information visit
The GNU Crypto project

gnu.crypto.pki.provider
Class RSAKeyFactory

java.lang.Object
  extended by java.security.KeyFactorySpi
      extended by gnu.crypto.pki.provider.RSAKeyFactory

public class RSAKeyFactory
extends KeyFactorySpi


Constructor Summary
RSAKeyFactory()
           
 
Method Summary
protected  PrivateKey engineGeneratePrivate(KeySpec spec)
           
protected  PublicKey engineGeneratePublic(KeySpec spec)
           
protected  KeySpec engineGetKeySpec(Key key, 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

RSAKeyFactory

public RSAKeyFactory()
Method Detail

engineGeneratePrivate

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

engineGeneratePublic

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

engineGetKeySpec

protected KeySpec engineGetKeySpec(Key key,
                                   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

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.