Creating a cert from a pkcs#12 byte[] works under Mono on Windows. I've filed: http://bugzilla.xamarin.com/show_bug.cgi?id=1660 including a test app.
Thanks, Nate -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jonathan Pryor Sent: Saturday, October 22, 2011 5:36 PM To: Discussions related to Mono for Android Subject: Re: [mono-android] X509Certificate2 from PKCS#12 byte[]? On Oct 20, 2011, at 2:36 PM, Nate Yocom wrote: > I'm porting an app that uses a System.Net.HttpWebRequest with client > certificates, and I've found that I can't seem to create a > System.Security.Cryptography.X509Certificates.X509Certificate2 from a > serialized PKCS#12 byte[]. I've created the byte[] using Bouncycastle's > Pkcs12Store.Save() method, and creating an X509Certifcate2 object from this > seems to work fine in windows (using the byte[] constructor). Are you able to run that under Mono on Windows? I'm not sure if it's a Mono bug or a Mono for Android bug. :-/ Please file a minimal test case at bugzilla.xamarin.com. Thanks, - Jon _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
