// Authors:
// Thomas Neidhart (tome@sbox.tugraz.at)
//
-// (C) 2004 Novell (http://www.novell.com)
-//\r
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2006 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
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-using System;
+using System.Runtime.InteropServices;
namespace System.Security.Cryptography {
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public abstract class AsymmetricSignatureDeformatter {
-
+
+#if NET_2_0
+ protected AsymmetricSignatureDeformatter ()
+#else
public AsymmetricSignatureDeformatter ()
+#endif
{
}
if (hash == null)
throw new ArgumentNullException ("hash");
+ SetHashAlgorithm (hash.ToString ());
+
return VerifySignature (hash.Hash, rgbSignature);
}
}