| java.lang.Object org.bouncycastle.crypto.KeyGenerationParameters
All known Subclasses: org.bouncycastle.crypto.params.NaccacheSternKeyGenerationParameters, org.bouncycastle.crypto.params.ECKeyGenerationParameters, org.bouncycastle.crypto.params.DHKeyGenerationParameters, org.bouncycastle.crypto.params.GOST3410KeyGenerationParameters, org.bouncycastle.crypto.params.RSAKeyGenerationParameters, org.bouncycastle.crypto.params.ElGamalKeyGenerationParameters, org.bouncycastle.crypto.params.DSAKeyGenerationParameters,
KeyGenerationParameters | public class KeyGenerationParameters (Code) | | The base class for parameters to key generators.
|
KeyGenerationParameters | public KeyGenerationParameters(SecureRandom random, int strength)(Code) | | initialise the generator with a source of randomness
and a strength (in bits).
Parameters: random - the random byte source. Parameters: strength - the size, in bits, of the keys we want to produce. |
getRandom | public SecureRandom getRandom()(Code) | | return the random source associated with this
generator.
the generators random source. |
getStrength | public int getStrength()(Code) | | return the bit strength for keys produced by this generator,
the strength of the keys this generator produces (in bits). |
|
|