Change the first parameter of Keystore.generateKeyPair() to int.

* changes
  change the parameter to the index to the supported key strengths
  remove the exception class as it is not useful now
2 files changed