|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.crypto.KeyGeneratorSpi
|
+--de.flexiprovider.api.keys.SecretKeyGenerator
|
+--de.flexiprovider.core.pbe.PBEKeyGenerator
The key generator for PBEKeys.
PBEKey| Constructor Summary | |
PBEKeyGenerator()
|
|
| Method Summary | |
SecretKey |
generateKey()
Generate a new PBEKey. |
void |
init(AlgorithmParameterSpec params,
SecureRandom random)
Initialize the key generator with the given parameters and source of randomness. |
void |
init(int keySize,
SecureRandom random)
Initialize the key generator with the given key size and source of randomness. |
void |
init(SecureRandom random)
Initialize the key generator with the default parameters and the given source of randomness. |
| Methods inherited from class de.flexiprovider.api.keys.SecretKeyGenerator |
engineGenerateKey, engineInit, engineInit, engineInit, init, init, init |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public PBEKeyGenerator()
| Method Detail |
public void init(AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidAlgorithmParameterException
default parameters
are used.init in class SecretKeyGeneratorparams - the parametersrandom - the source of randomnessInvalidAlgorithmParameterException - if the parameters are not an instance of
PBEKeyGenParameterSpec.
public void init(int keySize,
SecureRandom random)
init in class SecretKeyGeneratorkeySize - the key sizerandom - the source of randomnesspublic void init(SecureRandom random)
init in class SecretKeyGeneratorrandom - the source of randomnesspublic SecretKey generateKey()
generateKey in class SecretKeyGeneratorPBEKey
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||