[Mono-bugs] [Bug 396620] X509Certificate2.PrivateKey property - operation not supported
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jun 3 09:20:25 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=396620
User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396620#c4
--- Comment #4 from Sebastien Pouliot <spouliot at novell.com> 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.
More information about the mono-bugs
mailing list