Tuesday, February 25, 2014

Re: [android-developers] WifiEnterpriseConfig setClientKeyEntry doesn't work with .p12 client cert/key in the keystore

On Wed, Feb 26, 2014 at 1:18 AM, Pradeep Phatak
<pradeep.phatak@gmail.com> wrote:
>
> The alias is provided when we use the Keychain createInstallIntent API to
> store the p12 in the Android KeyStore.
> As you correctly noted in your earlier post, we can't retrieve the Private
> Key in that case.
> The only other method I found to load a p12 certificate in Keystore was the
> load method. But, it doesn't take any alias as parameter.
> How do I pass the alias while loading the certificate in the keystore?
>

Do read the JavaDoc of the KeyStore class before proceeding:

https://developer.android.com/reference/java/security/KeyStore.html

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment