* X509Store.cs: Add new Open method to access any certificate store
by any names (required to support 2.0 features).
svn path=/trunk/mcs/; revision=68346
+2006-11-22 Sebastien Pouliot <sebastien@ximian.com>
+
+ * X509Store.cs: Add new Open method to access any certificate store
+ by any names (required to support 2.0 features).
+
2006-11-13 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Add support for PEM encoded (base64) x.509
_untrusted = null;
}
+ public X509Store Open (string storeName, bool create)
+ {
+ if (storeName == null)
+ throw new ArgumentNullException ("storeName");
+
+ string path = Path.Combine (_storePath, storeName);
+ if (!create && !Directory.Exists (path))
+ return null;
+
+ return new X509Store (path, false);
+ }
+
// names
public class Names {