diff options
Diffstat (limited to 'mcs/class/System')
-rw-r--r-- | mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog b/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog index c8684168dca..0642777be8a 100644 --- a/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog +++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/ChangeLog @@ -1,3 +1,7 @@ +2002-10-21 Miguel de Icaza <miguel@ximian.com>
+
+ * X509CertificateCollection.cs (Add): New method.
+
2002-05-12 Lawrence Pit <loz@cable.a2000.nl>
* X509CertificateCollection.cs: implemented
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs index 82546c7a295..c414ec8ab7a 100644 --- a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs +++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs @@ -39,6 +39,14 @@ namespace System.Security.Cryptography.X509Certificates { // Methods
+ public int Add (X509Certificate value)
+ {
+ if (value == null)
+ throw new ArgumentNullException ("value");
+
+ return list.Add (value);
+ }
+
public void AddRange (X509Certificate [] value)
{
if (value == null)
|