gnu.crypto.jce.key

Class SecretKeyGeneratorImpl

public class SecretKeyGeneratorImpl extends KeyGeneratorSpi

Field Summary
protected Stringalgorithm
protected intcurrentKeySize
protected intdefaultKeySize
protected booleaninit
protected ListkeySizes
protected SecureRandomrandom
Constructor Summary
protected SecretKeyGeneratorImpl(String algorithm)
Method Summary
protected SecretKeyengineGenerateKey()
protected voidengineInit(AlgorithmParameterSpec params, SecureRandom random)
protected voidengineInit(int keySize, SecureRandom random)
protected voidengineInit(SecureRandom random)

Field Detail

algorithm

protected final String algorithm

currentKeySize

protected int currentKeySize

defaultKeySize

protected final int defaultKeySize

init

protected boolean init

keySizes

protected final List keySizes

random

protected SecureRandom random

Constructor Detail

SecretKeyGeneratorImpl

protected SecretKeyGeneratorImpl(String algorithm)

Method Detail

engineGenerateKey

protected SecretKey engineGenerateKey()

engineInit

protected void engineInit(AlgorithmParameterSpec params, SecureRandom random)

engineInit

protected void engineInit(int keySize, SecureRandom random)

engineInit

protected void engineInit(SecureRandom random)
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.