| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.bouncycastle.crypto.KeyGenerationParameters
public class KeyGenerationParameters
The base class for parameters to key generators.
| Constructor Summary | |
|---|---|
KeyGenerationParameters(SecureRandom random,
                        int strength)
initialise the generator with a source of randomness and a strength (in bits).  | 
|
| Method Summary | |
|---|---|
 SecureRandom | 
getRandom()
return the random source associated with this generator.  | 
 int | 
getStrength()
return the bit strength for keys produced by this generator,  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public KeyGenerationParameters(SecureRandom random,
                               int strength)
random - the random byte source.strength - the size, in bits, of the keys we want to produce.| Method Detail | 
|---|
public SecureRandom getRandom()
public int getStrength()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||