Save This Page
Home » crypto-143 » org.bouncycastle.crypto » [javadoc | source]
public class: KeyGenerationParameters [javadoc | source]

Direct Known Subclasses:
    ECKeyGenerationParameters, DHKeyGenerationParameters, GOST3410KeyGenerationParameters, RSAKeyGenerationParameters, NaccacheSternKeyGenerationParameters, DSAKeyGenerationParameters, ElGamalKeyGenerationParameters

The base class for parameters to key generators.
 public KeyGenerationParameters(SecureRandom random,
    int strength) 
    initialise the generator with a source of randomness and a strength (in bits).
    random - the random byte source.
    strength - the size, in bits, of the keys we want to produce.
Method from org.bouncycastle.crypto.KeyGenerationParameters Summary:
getRandom,   getStrength
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.bouncycastle.crypto.KeyGenerationParameters Detail:
 public SecureRandom getRandom() 
    return the random source associated with this generator.
 public int getStrength() 
    return the bit strength for keys produced by this generator,