+2002-10-12 Sebastien Pouliot <spouliot@videotron.ca>
+
+ * ICryptoTransform.cs: Now inherits from IDisposable
+ * RC2CryptoServiceProvider.cs: Added Dispose() to RC2Impl because it inherits ICryptoTransform
+ * CryptoAPITransform.cs: Added Dispose() to CryptoAPITransform... ICryptoTransform
+ * RijndaelManaged.cs: Added Dispose() to RijndaelController...ICryptoTransform
+ * FromBase64Transform.cs: Added Dispose() to FromBase64Transform...ICryptoTransform
+ * ToBase64Transform.cs: Added Dispose() to ToBase64Transform...ICryptoTransform
+ * DESCryptoServiceProvider.cs: Added Dispose() to DESTransformBase...ICryptoTransform
+
2002-10-11 Duncan Mak <duncan@ximian.com>
* DESCryptoServiceProvider.cs: Removed unnecessary Dispose ().
}\r
}\r
\r
+ [MonoTODO]\r
+ void System.IDisposable.Dispose ()\r
+ {\r
+ }\r
+\r
[MonoTODO]\r
public int TransformBlock(byte[] inputBuffer, int inputOffset, \r
int inputCount, byte[] outputBuffer, int outputOffset)\r
}
}
+ void System.IDisposable.Dispose ()
+ {
+ }
+
private void EncPreprocess (byte [] workBuff)
{
byte [] iv = this.iv;
}
+ void System.IDisposable.Dispose ()
+ {
+ }
+
private int Filter (byte [] buffer, int offset, int count)
{
// Copyright 2001 by Matthew S. Ford.\r
//\r
\r
-\r
using System.Security.Cryptography;\r
\r
namespace System.Security.Cryptography {\r
/// This works by stringing together one or more ICryptoTransform classes with a stream.\r
/// Data is passed from one to the next without the need of outside buffering/intervention.\r
/// </summary>\r
- public interface ICryptoTransform {\r
+ public interface ICryptoTransform : IDisposable {\r
\r
/// <summary>\r
/// Whether the function can transform multiple blocks at a time.\r
}\r
}\r
\r
+ void System.IDisposable.Dispose ()\r
+ {\r
+ }\r
+ \r
public byte[] pitable = {\r
0xd9, 0x78, 0xf9, 0xc4, 0x19, 0xdd, 0xb5, 0xed, \r
0x28, 0xe9, 0xfd, 0x79, 0x4a, 0xa0, 0xd8, 0x9d,\r
}\r
}\r
\r
+ void System.IDisposable.Dispose ()\r
+ {\r
+ }\r
+\r
private void XorInto(byte[] src, byte[] dest) \r
{\r
if (src.Length != dest.Length) {\r
}
+ void System.IDisposable.Dispose ()
+ {
+ }
+
+
/// <summary>
/// </summary>
public int TransformBlock (byte [] inputBuffer,