[Mono-bugs] [Bug 76742][Wis] Changed - Suggestion to make X509Extension class public

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Nov 18 08:39:51 EST 2005


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 sebastien at ximian.com.

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

--- shadow/76742	2005-11-18 04:01:59.000000000 -0500
+++ shadow/76742.tmp.11630	2005-11-18 08:39:50.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 76742
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: Mono.Security
 AssignedTo: sebastien at ximian.com                            
 ReportedBy: dgranath at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -16,6 +16,30 @@
 Cc: 
 Summary: Suggestion to make X509Extension class public
 
 It would be nice perhaps to make this class public so that you can inherit
 from it it in your own namespaces, thereby beeing able to roll your own,
 private X509 extensions.
+
+------- Additional Comments From sebastien at ximian.com  2005-11-18 08:39 -------
+The X509Extension class is already public inside Mono.Security.dll
+(but isn't inside corlib to keep binary compatibility).
+
+<snip>
+namespace Mono.Security.X509 {
+	/*
+	 * Extension  ::=  SEQUENCE  {
+	 *	extnID      OBJECT IDENTIFIER,
+	 *	critical    BOOLEAN DEFAULT FALSE,
+	 *	extnValue   OCTET STRING  
+	 * }
+	 */
+#if INSIDE_CORLIB
+	internal
+#else
+	public 
+#endif
+	class X509Extension {
+</snip>
+
+But the default ctor is internal so you must use the .ctor(ASN1) when
+inheriting the class.


More information about the mono-bugs mailing list