[Mono-bugs] [Bug 396620] New: X509Certificate2. PrivateKey property - operation not supported

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 3 03:43:52 EDT 2008


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

User paszczi at go2.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=396620#c12

           Summary: X509Certificate2.PrivateKey property - operation not
                    supported
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: i686
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: System.Security
        AssignedTo: spouliot at novell.com
        ReportedBy: paszczi at go2.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Certificate is stored in pkcs#12 file format. After importing it to
X509Certificate2 class, everything works as exptected. However setting
PrivateKey property to null causes NotSupportedException (works on .NET). PKCS
certificate exported (without the key) as base64 encoded string can then be
imported into .NET again, but on Mono it fails with "Certificate data not
valid".


-- 
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