src/java.base/share/classes/sun/security/rsa/RSAKeyPairGenerator.java
changeset 52430 4ee78b5583f9
parent 50204 3195a713e24d
equal deleted inserted replaced
52429:b64514ff68fd 52430:4ee78b5583f9
    68 
    68 
    69     // initialize the generator. See JCA doc
    69     // initialize the generator. See JCA doc
    70     public void initialize(int keySize, SecureRandom random) {
    70     public void initialize(int keySize, SecureRandom random) {
    71         try {
    71         try {
    72             initialize(new RSAKeyGenParameterSpec(keySize,
    72             initialize(new RSAKeyGenParameterSpec(keySize,
    73                     RSAKeyGenParameterSpec.F4), null);
    73                     RSAKeyGenParameterSpec.F4), random);
    74         } catch (InvalidAlgorithmParameterException iape) {
    74         } catch (InvalidAlgorithmParameterException iape) {
    75             throw new InvalidParameterException(iape.getMessage());
    75             throw new InvalidParameterException(iape.getMessage());
    76         }
    76         }
    77     }
    77     }
    78 
    78