Merge pull request #2237 from xmcclure/container-owner
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.Xml / SignedInfo.cs
index 2bdf46313688122c0f61449716e4ec18a8578ef6..f9d6d9f0048610ece2aeac44f9a0d08b4f625ad1 100644 (file)
@@ -7,9 +7,7 @@
 //
 // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com)
 // Copyright (C) Tim Coleman, 2004
-// (C) 2004 Novell (http://www.novell.com)
-//
-
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -32,6 +30,7 @@
 //
 
 using System.Collections;
+using System.Runtime.InteropServices;
 using System.Xml;
 
 namespace System.Security.Cryptography.Xml { 
@@ -45,17 +44,10 @@ namespace System.Security.Cryptography.Xml {
                private string signatureLength;
                private XmlElement element;
 
-#if NET_2_0
-               XmlDsigC14NTransform canonicalizationMethodObject;
-#endif
-
                public SignedInfo() 
                {
                        references = new ArrayList ();
                        c14nMethod = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315";
-#if NET_2_0    
-                       canonicalizationMethodObject = new XmlDsigC14NTransform ();
-#endif
                }
 
                public string CanonicalizationMethod {
@@ -66,11 +58,11 @@ namespace System.Security.Cryptography.Xml {
                        }
                }
 
-#if NET_2_0
+               [ComVisible (false)]
+               [MonoTODO]
                public Transform CanonicalizationMethodObject {
-                       get { return canonicalizationMethodObject; }
+                       get { throw new NotImplementedException (); }
                }
-#endif
 
                // documented as not supported (and throwing exception)
                public int Count {