2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Wed, 24 Mar 2004 18:40:57 +0000 (18:40 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Wed, 24 Mar 2004 18:40:57 +0000 (18:40 -0000)
* xmldsig.cs : Ok, time to test phaos collection ;-)

svn path=/trunk/mcs/; revision=24535

mcs/class/System.Security/Test/standalone_tests/ChangeLog
mcs/class/System.Security/Test/standalone_tests/xmldsig.cs

index 245471b6cbb2d40184c8b0316504a7ba6f367f90..1a6faf6a2db713fb6ed15d647538622f8b2f0a37 100755 (executable)
@@ -1,3 +1,7 @@
+2004-03-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * xmldsig.cs : Ok, time to test phaos collection ;-)
+
 2004-03-20  Sebastien Pouliot  <sebastien@ximian.com>
 
        * .cvsignore: Ignore Phaos test suite files.
index eace6934ea68c80d7b1a7c8a57f433564bcbd8bd..58b1a883024b6e4d881b074f5628b2a8b68189b1 100755 (executable)
@@ -32,9 +32,10 @@ public class MyClass {
                        Console.WriteLine ("MERLIN");
                        Merlin ();
                        Console.WriteLine ();
-/* Non working - even on MS runtime ?!?
- *                     Console.WriteLine ("PHAOS");
-                       Phaos ();*/
+                       // Non working on MS runtime;
+                       // they have insufficient support for namespaces.
+                       Console.WriteLine ("PHAOS");
+                       Phaos ();
                }
                catch (Exception ex) {
                        Console.WriteLine (ex);
@@ -209,6 +210,10 @@ DumpSignedXml (s);
                byte[] key = Encoding.ASCII.GetBytes ("test");  
 
                foreach (FileInfo fi in new DirectoryInfo ("phaos-xmldsig-three").GetFiles ("signature-*.xml")) {
+                       if (fi.Name.IndexOf ("exclusive") >= 0) {
+                               Console.WriteLine ("NOT RUN: " + fi.Name + " : System.Security.dll cannot validate exclusive-c14n.");
+                               continue;
+                       }
                        if (fi.Name.IndexOf ("hmac") >= 0) {
                                Symmetric (fi.FullName, key);
                        }