import RSA keyPair to KeyStore
问题 For my specific situation, I have to generate a RSA key pair (in my Android application) using the following codes :- KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA/ECB/PKCS1Padding"); generator.initialize(1024,new SecureRandom()); KeyPair keyPair = generator.generateKeyPair); How can I import the keyPair into the Android keyStore ? I have been searching on the Internet for sometimes and did not get how can I create the self-signed certificate for the RSA public key for import