I've been struggling to consume user installed identity CA certs from a p12 file on an SD card. The certs and keys are installed using the Secure Credential Storage (Location & Security > Install from SD card).
I haven't found any documentation stating the location if the keys and certificates once imported. I tried to create an instance of a TrustManagerFactory with no luck, it just contained all the pre-installed SSL certificates.
Creating an KeyStore with the default parameters doesn't seem to work either. Any suggestions would be much appreciated!
Take a look at the JavaMail Crypto and Bouncy Castle combo.
They allow you to import the p12 file using a file input stream and let you deal with it accordingly.
It can be tricky to get set up and if you get frustrated, there is a 30 day free trial with Chilkat developed specifically for android which I can confirm works perfectly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.