I am getting this error during establishing secure XMPP TCP connection to openfire in Android 6.0
"KeyStore jks implementation not found"
I found that android Bouncy Castle implementation doesn't support "JKS" KeyStore type but it support "BKS" or "PKCS12"
So now I have another issue after choosing any of "BKS/PKCS12" which
These KeyStore type doesn't have implementation of "SunX509" Algorithm needed in the following line in XMPPTCPConnection.java
KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
Should we use "X509" rather "SunX509" because Android doesn't have Sun implementation