Do not expose the classes when they are compiled inside corlib as helpers.
[mono.git] / mcs / class / corlib / Mono.Security.X509 / X501Name.cs
index d5f55604718700b63532b042be52f3dca3c38357..a5de173b388daf27bc19115f834c27868e2d2410 100644 (file)
@@ -27,7 +27,12 @@ namespace Mono.Security.X509 {
         * 
         * RelativeDistinguishedName ::= SET OF AttributeTypeAndValue
         */
-       public class X501 {
+#if INSIDE_CORLIB
+       internal
+#else
+       public
+#endif
+       class X501 {
 
                static byte[] countryName = { 0x55, 0x04, 0x06 };
                static byte[] organizationName = { 0x55, 0x04, 0x0A };