I have a Bouncy Castle keystore, which I'd like to use to connect to an SSLSocketFactory.
Doing this in "desktop" Java is easy, but how do you do it on the android.
It doesn't seem to make much difference whether you put in assets or res/raw - the problem comes when trying to open it up and instantiate an instance of KeyStore (java.security.KeyStore in this case) to pass to SSLSocketFactorys constructor.
Has anyone had success with this before? What's the best way of "reading" this and opening it? Any pointers or code snippets would be most welcome.
Many thanks
Don