equal
deleted
inserted
replaced
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 |