[Mono-list] ICryptoTransform

Sebastien Pouliot Sebastien Pouliot <spouliot@videotron.ca>
Fri, 11 Oct 2002 23:35:26 -0400


The current definition of ICryptoTransform isn't correct as it doesn't
inherit from IDisposable. I've not commited the modification because it will
break many classes unless they are all patched at the same time. The
affected classes are:

RC2CryptoServiceProvider.cs(50,17): error CS0535:
        'System.Security.Cryptography.RC2Impl' does not implement interface
        member 'System.IDisposable.Dispose()'
HashAlgorithm.cs(14,24): error CS0535:
        'System.Security.Cryptography.HashAlgorithm' does not implement
        interface member 'System.IDisposable.Dispose()'
CryptoAPITransform.cs(14,22): error CS0535:
        'System.Security.Cryptography.CryptoAPITransform' does not implement
        interface member 'System.IDisposable.Dispose()'
RijndaelManaged.cs(84,17): error CS0535:
        'System.Security.Cryptography.RijndaelController' does not implement
        interface member 'System.IDisposable.Dispose()'
FromBase64Transform.cs(19,15): error CS0535:
        'System.Security.Cryptography.FromBase64Transform' does not
implement
        interface member 'System.IDisposable.Dispose()'
ToBase64Transform.cs(14,15): error CS0535:
        'System.Security.Cryptography.ToBase64Transform' does not implement
        interface member 'System.IDisposable.Dispose()'
DESCryptoServiceProvider.cs(18,17): error CS0535:
        'System.Security.Cryptography.DESTransformBase' does not implement
        interface member 'System.IDisposable.Dispose()'

Andrew, are you still working on RC2 or Rijndael ? If so then we could sync
the modification with your next commit. If not then I could make the change
before my next one (for HashAlgorithm/KeyedHashAlgorithm/HMACSHA1).

Anyone else working on one (or more) of those classes ?

Note: Duncan, sorry I forgot to remove the extra Dispose on my previous
commit :-(


Sebastien Pouliot
Security Architect, Motus Technologies, http://www.motus.com/
work: spouliot@motus.com
home: spouliot@videotron.ca