Emphasize that we ignore the SecureRandom parameter.

This commit is contained in:
nicolson%netscape.com 2001-09-24 18:34:18 +00:00
parent 8bcc9b3809
commit 2408313344

View File

@ -87,9 +87,11 @@ public class KeyPairGenerator {
/**
* Initializes the generator with algorithm-specific parameters.
* The <tt>SecureRandom</tt> parameters is ignored.
*
* @param params Algorithm-specific parameters for the key pair generation.
* @param random This parameter is ignored.
* @param random <b>This parameter is ignored.</b> NSS does not accept
* an external source of random numbers.
* @exception InvalidAlgorithmParameterException If the parameters are
* inappropriate for the type of key pair that is being generated,
* or they are not supported by this generator.
@ -120,10 +122,12 @@ public class KeyPairGenerator {
/**
* Initializes the generator with the strength of the keys.
* The <tt>SecureRandom</tt> parameter is ignored.
*
* @param strength The strength of the keys that will be generated.
* Usually this is the length of the key in bits.
* @param random This parameter is ignored.
* @param random <b>This parameter is ignored.</b> NSS does not accept
* an exterrnal source of random numbers.
*/
public void initialize(int strength, SecureRandom random) {
engine.initialize(strength, random);