[Mono-bugs] [Bug 78986][Wis] New - [PATCH] X509Certificate2 sometimes does not return RawData

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 1 02:36:27 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by atsushi at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78986

--- shadow/78986	2006-08-01 02:36:27.000000000 -0400
+++ shadow/78986.tmp.4521	2006-08-01 02:36:27.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 78986
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: sebastien at ximian.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] X509Certificate2 sometimes does not return RawData
+
+X509Certificate2, when created from username and password, does not return
+RawData (both via RawData and GetCertRawData()).
+
+repro:
+
+1. run "makecert -p12 test.pfx mono"
+2. compile and run below.
+
+using System;
+using System.Security.Cryptography.X509Certificates;
+
+public class Test
+{
+        public static void Main ()
+        {
+                X509Certificate2 cert = new X509Certificate2 ("test.pfx",
+"mono");
+                Console.WriteLine (cert.RawData);
+        }
+}
+
+Actual Results:
+no output (since RawData is null).
+
+Expected Results:
+System.Byte[] (as it is not null).
+
+Additional Information:
+
+A fix being attached.


More information about the mono-bugs mailing list