Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
A DESCRIPTION OF THE PROBLEM : The second parameter of method "initialize(int keySize, SecureRandom random)" in "sun.security.rsa.RSAKeyPairGenerator" is not used. // initialize the generator. See JCA doc public void initialize(int keySize, SecureRandom random) { try { initialize(new RSAKeyGenParameterSpec(keySize, RSAKeyGenParameterSpec.F4), null); } catch (InvalidAlgorithmParameterException iape) { throw new InvalidParameterException(iape.getMessage()); } } It seems "null" is used, ignoring the passing in parameter. I don't know if this is intended or not. FREQUENCY : always
|