storage - Android - Store generated RSA private key -


i've create keypair this:

try {         keypairgenerator generator = keypairgenerator.getinstance("rsa");         generator.initialize(2048, new securerandom());         keypair pair = generator.generatekeypair();          return pair;     } catch (exception e) {         e.printstacktrace();         return null;     } 

this works fine, (obviously) want save key. saw posts none of them helped me out.

p.s. example nice!

thanks.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -