public class KeyGenerationParameters
extends java.lang.Object
| Constructor and Description | 
|---|
KeyGenerationParameters(java.security.SecureRandom random,
                       int strength)
initialise the generator with a source of randomness
 and a strength (in bits). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.security.SecureRandom | 
getRandom()
return the random source associated with this
 generator. 
 | 
int | 
getStrength()
return the bit strength for keys produced by this generator, 
 | 
public KeyGenerationParameters(java.security.SecureRandom random,
                               int strength)
random - the random byte source.strength - the size, in bits, of the keys we want to produce.public java.security.SecureRandom getRandom()
public int getStrength()