* CspProviderFlags.cs: Fixed new enums values.
* DSA.cs: Fixed #if for constructor visibility.
* CryptoAPITransform.cs: Removed constructor for NET_2_0 profile.
svn path=/trunk/mcs/; revision=30892
+2004-08-08 Sebastien Pouliot <sebastien@ximian.com>
+
+ * CspProviderFlags.cs: Fixed new enums values.
+ * DSA.cs: Fixed #if for constructor visibility.
+ * CryptoAPITransform.cs: Removed constructor for NET_2_0 profile.
+
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* DES.cs: Fixed FeedbackSizeValue to 8.
m_disposed = false;
}
+#if ! NET_2_0
~CryptoAPITransform ()
{
Dispose (false);
}
+#endif
public bool CanReuseTransform {
get { return true; }
#if NET_2_0
,
NoFlags = 0,
- NoPrompt = 4,
- UseArchivableKey = 8,
- UseExistingKey = 16,
- UseNonExportableKey = 32,
- UseUserProtectedKey = 64
+ NoPrompt = 64,
+ UseArchivableKey = 16,
+ UseExistingKey = 8,
+ UseNonExportableKey = 4,
+ UseUserProtectedKey = 32
#endif
}
}
public abstract class DSA : AsymmetricAlgorithm {
-#if (NET_1_0 || NET_1_1)
+#if NET_2_0
+ // Constructor visibility fixed in Fx 2.0
+ protected DSA ()
+#else
// LAMESPEC: It says to derive new DSA implemenation from DSA class.
// Well it's aint gonna be easy this way.
// RSA constructor is public
internal DSA ()
-#else
- // Constructor visibility fixed in Fx 2.0
- protected DSA ()
#endif
{
}