https://bugzilla.novell.com/show_bug.cgi?id=396620

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=396620#c4





--- Comment #4 from Sebastien Pouliot <[EMAIL PROTECTED]>  2008-06-03 07:20:25 
MDT ---
Fixed in SVN r104752 but exporting to Pfx/Pkcs12 is not supported* at the
moment (known issue).

..
[MonoTODO ("X509ContentType.Pfx/Pkcs12 and SerializedCert are not supported")]
public virtual byte[] Export (X509ContentType contentType)
..

However changing your first sample to:
string certString = Convert.ToBase64String (cert.Export (X509ContentType.Cert,
""));
will work.


(*) feel free to open a bug about the Export limitation (priority Enhancement)
if you want to track the progress on this feature (it's not planned at the
moment).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to