Are there any system certificate stores on Android?

There is a sun.security.mscapi.SunMSCAPI crypto protector in desktop Java, which we can use with KeyStore to access the Windows certificate stores.

I know that there are similar stores on Android, but I can’t find a way to manage these stores (list, add, remove certificates).

What I found:

1) use KeyChain, but this requires additional user interaction through Activity; 2) use KeyStore, as on the desktop, and download storage files directly, but the path to these files is not permanent on all devices.

Are there any other approaches that I don't know about?

+4
source share
1 answer

KeyChain is a relatively new addition. Its the only one available from API 14 (Ice Cream Sandwich) and above. Nikolai Elenkov has a good blog post on Using the ICS KeyChain API .

KeyStore is an even newer addition. Its only available on API 18 (Jelly Bean MR2) and above. Nikolai Elenkov has another good blog entry on Improvements for storing credentials in Android 4.3 .

Unifying Key Store Access ICS Android. , KeyStore API 4 (Donut), , VPN (Wifi ).

. , ( , ). . / ICS.

. Diginotar failure, Android Diginotar. , , (, ) .

-, Android, , , . , Java Keystore SQLciper. , , , (, ). , KeyStore, .

, " ". . ., , Peter Guttman .

+3

Source: https://habr.com/ru/post/1526543/


All Articles