From 3c0dff28e5cb6233e03922269c2caf71726892a5 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Mon, 21 Oct 2002 21:26:01 +0000 Subject: 2002-10-21 Miguel de Icaza * X509CertificateCollection.cs (Add): New method. svn path=/trunk/mcs/; revision=8457 --- .../System.Security.Cryptography.X509Certificates/ChangeLog | 4 ++++ .../X509CertificateCollection.cs | 8 ++++++++ 2 files changed, 12 insertions(+) (limited to 'mcs/class/System/System.Security.Cryptography.X509Certificates') 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 + + * X509CertificateCollection.cs (Add): New method. + 2002-05-12 Lawrence Pit * 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) -- cgit v1.2.3