问题
Android System has a builtin certificate Store. The certificates from this store are for example used when making an Exchange Account or setting up a wireless LAN.
This there some way to use the certificates in my own application? I would prefer this to managing my own certificate store. An Android 4.0+ solution is acceptable for me.
回答1:
Yes, 4.0+ is what you'll need though:
Using KeyChain
Here's the original blogpost
Excerpt:
New in ICS: KeyChain
To bridge the gap in ICS, there’s a new API named KeyChain that regulates application access to the system key store and allows users to grant application access to the credentials stored there. Additionally, this API enables applications to initiate installation of credentials from X.509 certificates and PKCS#12 key stores.
来源:https://stackoverflow.com/questions/10047828/android-access-system-private-public-certificates