On Aug 5, 6:28 pm, Toby <tob...@gmail.com> wrote:
> Could someone suggest how I go about accessing these credentials from
> an application?

I'm afraid you can't.  They are stored in a keystore that is private
to the system, and only accessible to Wi-Fi and VPN subsystems.  As
you found out, this is a separate keystore to that used for default
SSL certificates.

If you need the user to import credentials for use by your
application, you can look at providing that import facility in your
application and storing the credentials yourself.  If you do this, you
might want to protect the stored credentials - for example, by
encrypting them with a key derived from a user-entered password.  This
is what the system keystore does.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to