Author: spouliot
Date: 2006-11-24 09:45:18 -0500 (Fri, 24 Nov 2006)
New Revision: 68429
Modified:
trunk/mcs/class/corlib/System.Security.Cryptography/ChangeLog
trunk/mcs/class/corlib/System.Security.Cryptography/CryptoConfig.cs
Log:
2006-11-24 Sebastien Pouliot <[EMAIL PROTECTED]>
* CryptoConfig.cs: Add support for (2.0) custom X.509 chains.
Modified: trunk/mcs/class/corlib/System.Security.Cryptography/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Security.Cryptography/ChangeLog
2006-11-24 14:31:15 UTC (rev 68428)
+++ trunk/mcs/class/corlib/System.Security.Cryptography/ChangeLog
2006-11-24 14:45:18 UTC (rev 68429)
@@ -1,3 +1,7 @@
+2006-11-24 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * CryptoConfig.cs: Add support for (2.0) custom X.509 chains.
+
2006-11-08 Sebastien Pouliot <[EMAIL PROTECTED]>
* CryptoConfig.cs: Add support for (2.0) X.509 extensions in
Modified: trunk/mcs/class/corlib/System.Security.Cryptography/CryptoConfig.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Cryptography/CryptoConfig.cs
2006-11-24 14:31:15 UTC (rev 68428)
+++ trunk/mcs/class/corlib/System.Security.Cryptography/CryptoConfig.cs
2006-11-24 14:45:18 UTC (rev 68429)
@@ -217,6 +217,10 @@
private const string nameX509KeyUsage = defaultNamespace +
"X509Certificates.X509KeyUsageExtension, " + Consts.AssemblySystem;
private const string nameX509BasicConstraints = defaultNamespace +
"X509Certificates.X509BasicConstraintsExtension, " + Consts.AssemblySystem;
private const string nameX509EnhancedKeyUsage = defaultNamespace +
"X509Certificates.X509EnhancedKeyUsageExtension, " + Consts.AssemblySystem;
+
+ // new (2.0) X509 Chain
+ private const string nameX509Chain = "X509Chain";
+ private const string defaultX509Chain = defaultNamespace +
"X509Certificates.X509Chain, " + Consts.AssemblySystem;
#endif
static CryptoConfig ()
@@ -330,6 +334,8 @@
algorithms.Add (oidX509KeyUsage, nameX509KeyUsage);
algorithms.Add (oidX509BasicConstraints,
nameX509BasicConstraints);
algorithms.Add (oidX509EnhancedKeyUsage,
nameX509EnhancedKeyUsage);
+ // note: the default X.509Chain can also be created this way
+ algorithms.Add (nameX509Chain, defaultX509Chain);
#endif
Hashtable oid = new Hashtable (new
CaseInsensitiveHashCodeProvider (), new CaseInsensitiveComparer ());
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches