| Modifier and Type | Field and Description |
|---|---|
| private SecureRandom | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | KeyGenerationParameters(SecureRandom
the random byte source. random, int the size, in bits, of the keys we want to produce. strength)initialise the generator with a source of randomness and a strength (in bits). |
| Modifier and Type | Method and Description |
|---|---|
| public SecureRandom | Returns: the generators random source.return the random source associated with this generator. |
| public int | Returns: the strength of the keys this generator produces (in bits).return the bit strength for keys produced by this generator, |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| strength | back to summary |
|---|---|
| private int strength | |
| KeyGenerationParameters | back to summary |
|---|---|
| public KeyGenerationParameters(SecureRandom random, int strength) initialise the generator with a source of randomness and a strength (in bits).
| |
| getRandom | back to summary |
|---|---|
| public SecureRandom getRandom() return the random source associated with this generator.
| |
| getStrength | back to summary |
|---|---|
| public int getStrength() return the bit strength for keys produced by this generator,
| |