On Tue, Feb 25, 2014 at 12:30 PM, Pradeep Phatak <[email protected]> wrote: > Thank you Nikolay. > I added p12 file to the Keystore using the load method, passing the > InputStream and password string. > I didn't see any method to provide an alias for this entry. > KeyStore getCertificate and getKey method require an alias to be passed. > Without an alias, it is not clear how to get the certificate and key from > the p12 file.
Presumably you know the alias, since you put it there? If not use the Enumeration<String> aliases () method to list, than pick the one you need. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

