gnu.crypto.jce.key
Class SecretKeyGeneratorImpl
java.lang.Object
javax.crypto.KeyGeneratorSpi
gnu.crypto.jce.key.SecretKeyGeneratorImpl
- Direct Known Subclasses:
- AnubisKeyGeneratorImpl, BlowfishKeyGeneratorImpl, Cast5KeyGeneratorImpl, DESKeyGeneratorImpl, KhazadKeyGeneratorImpl, RijndaelKeyGeneratorImpl, SerpentKeyGeneratorImpl, SquareKeyGeneratorImpl, TripleDESKeyGeneratorImpl, TwofishKeyGeneratorImpl
public class SecretKeyGeneratorImpl
- extends KeyGeneratorSpi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultKeySize
protected final int defaultKeySize
keySizes
protected final List keySizes
algorithm
protected final String algorithm
init
protected boolean init
currentKeySize
protected int currentKeySize
random
protected SecureRandom random
SecretKeyGeneratorImpl
protected SecretKeyGeneratorImpl(String algorithm)
engineGenerateKey
protected SecretKey engineGenerateKey()
- Specified by:
engineGenerateKey
in class KeyGeneratorSpi
engineInit
protected void engineInit(AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidAlgorithmParameterException
- Specified by:
engineInit
in class KeyGeneratorSpi
- Throws:
InvalidAlgorithmParameterException
engineInit
protected void engineInit(int keySize,
SecureRandom random)
- Specified by:
engineInit
in class KeyGeneratorSpi
engineInit
protected void engineInit(SecureRandom random)
- Specified by:
engineInit
in class KeyGeneratorSpi
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.