For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.key
Class SecretKeyFactoryImpl

java.lang.Object
  extended by javax.crypto.SecretKeyFactorySpi
      extended by gnu.crypto.jce.key.SecretKeyFactoryImpl
Direct Known Subclasses:
AnubisSecretKeyFactoryImpl, BlowfishSecretKeyFactoryImpl, Cast5SecretKeyFactoryImpl, DESedeSecretKeyFactoryImpl, DESSecretKeyFactoryImpl, KhazadSecretKeyFactoryImpl, RijndaelSecretKeyFactoryImpl, SerpentSecretKeyFactoryImpl, SquareSecretKeyFactoryImpl, TwofishSecretKeyFactoryImpl

public abstract class SecretKeyFactoryImpl
extends SecretKeyFactorySpi


Constructor Summary
protected SecretKeyFactoryImpl()
           
 
Method Summary
protected  SecretKey engineGenerateSecret(KeySpec spec)
           
protected  KeySpec engineGetKeySpec(SecretKey key, Class spec)
           
protected  SecretKey engineTranslateKey(SecretKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecretKeyFactoryImpl

protected SecretKeyFactoryImpl()
Method Detail

engineGenerateSecret

protected SecretKey engineGenerateSecret(KeySpec spec)
                                  throws InvalidKeySpecException
Specified by:
engineGenerateSecret in class SecretKeyFactorySpi
Throws:
InvalidKeySpecException

engineGetKeySpec

protected KeySpec engineGetKeySpec(SecretKey key,
                                   Class spec)
                            throws InvalidKeySpecException
Specified by:
engineGetKeySpec in class SecretKeyFactorySpi
Throws:
InvalidKeySpecException

engineTranslateKey

protected SecretKey engineTranslateKey(SecretKey key)
                                throws InvalidKeyException
Specified by:
engineTranslateKey in class SecretKeyFactorySpi
Throws:
InvalidKeyException

For the latest news and information visit
The GNU Crypto project

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