This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / class / Mono.Security / Mono.Security.Cryptography / ChangeLog
1 2004-09-29  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * RSAManaged.cs: KeySize is now always a multiple of 8 bits. 
4         Fix #66929.
5
6 2004-06-23  Sebastien Pouliot  <sebastien@ximian.com>
7
8         * SymmetricTransform.cs: Reduce by one the number of block when 
9         decrypting. This operation was in CryptoStream before but is only
10         required for decryption (which CryptoStream can't know). 
11         Fix bug #60573.
12
13 2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>
14
15         * ARC4Managed.cs: Added missing exception handling in TransformBlock 
16         and TransformFinalBlock.
17         * SymmetricTransform.cs: Fixed possible integer overflow. Added 
18         missing exception handling in TransformBlock and TransformFinalBlock.
19
20 2004-05-10  Sebastien Pouliot  <sebastien@ximian.com>
21
22         * PKCS8.cs: Fixed negative Version check.
23         * MD2Managed.cs: Added readonly to static array constants.
24         * MD4Managed.cs: Removed unrequired memory allocation in MD4Transform.
25
26 2004-05-01  Sebastien Pouliot  <sebastien@ximian.com>
27
28         * CryptoConvert.cs: Added support for truncated, but still valid, RSA
29         private key blob. Fix #57941 (couldn't sign with nunit key).
30         * RSAManaged.cs: Normalized the size of D when not present. This 
31         allows us to output a compatible base64 representation of 1024bits 0.
32
33 2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>
34
35         * SymmetricTransform.cs: Fixed bug when offset > 0 in destination 
36         buffer.
37
38 2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
39
40         * CryptoConvert.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy.
41         * CryptoTools.cs: FxCop-ized. Sealed KeyBuilder class. Delay creation
42         of RNG object. Use Buffer.BlockCopy.
43         * DiffieHellman.cs: FxCop-ized. Removed public constructor.
44         * DiffieHellmanManaged.cs: FxCop-ized. Actualized with changes from
45         BigInteger.
46         * KeyPairPersistance.cs: FxCop-ized. Updated version for management
47         of keypairs.
48         * MD2Managed.cs: Use Buffer.BlockCopy instead of Array.Copy.
49         * PKCS1.cs: FxCop-ized. Sealed class. Use Buffer.BlockCopy instead of
50         Array.Copy. Also includes endian patches from Bernie Solomon.
51         * PKCS8.cs: FxCop-ized. Sealed class. 
52         * RSAManaged.cs: FxCop-ized. Actualized with changes from BigInteger.
53         * SymmetricTransform.cs: Use Buffer.BlockCopy instead of Array.Copy.
54
55 2004-04-20  Sebastien Pouliot  <sebastien@ximian.com>
56
57         * CryptoConvert.cs: Synched with corlib version to get endian fixes 
58         from Bernie Solomon.
59
60 2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>
61
62         * CryptoConvert.cs: Added exception for null and bad parameters.
63         * RSAManaged.cs: CryptographicException thrown when trying to export
64         the private key when only the public key is present (CRT aware).
65
66 2004-03-22  Sebastien Pouliot  <sebastien@ximian.com>
67
68         * CryptoConvert.cs: Added new methods to convert [From|To]Hex. Added
69         new version of FromCapiPublicKeyBlob with an integer offset.
70
71 2004-03-10  Sebastien Pouliot  <sebastien@ximian.com>
72
73         * PKCS8.cs: Added EncodeRSA, EncodeDSA and completed GetBytes() so it
74         is now possible to encode PKCS8 files (this is required to encode 
75         PKCS12 files).
76
77 2004-02-15  Sebastien Pouliot  <sebastien@ximian.com>
78
79         * ARC4Managed.cs: Removed all % 256 (modulo) because typecasting to 
80         byte already ensure the result would be correct (as suggested by 
81         Technoboy). Now use KeyBuilder to create new keys.
82
83 2004-02-13  Sebastien Pouliot  <sebastien@ximian.com>
84
85         * DHKeyGeneration.cs: New. Enumuration of possible key generation for
86         Diffie-Hellman. Contributed by Pieter Philippaerts (mentalis.org).
87         * DHParameters.cs: New. Structure to hold the different elements of a
88         Diffie-Hellman key. Contributed by Pieter Philippaerts (mentalis.org).
89         * DiffieHellman.cs: New. Astract class as base for all Diffie-Hellman
90         implementations. Contributed by Pieter Philippaerts (mentalis.org).
91         * DiffieHellmanManaged.cs: New. Managed implementation of the Diffie-
92         Hellman key agreement algorithm. Contributed by Pieter Philippaerts.
93
94 2004-02-09  Sebastien Pouliot  <sebastien@ximian.com>
95
96         * PKCS1.cs: New. Copied from corlib. Required for RSAManaged.
97         * RSAManaged.cs: New. Copied from corlib. Required for TLS - some
98         parts (MD5SHA1) cannot work with the default RSACryptoServiceProvider.
99
100 2004-02-06  Sebastien Pouliot  <sebastien@ximian.com>
101
102         * CryptoTools.cs: New. Copied from corlib to offer the sames services
103         to symmetric algorithms in Mono.Security assembly.
104         * KeyPairPersistance.cs: Provides a similar to CryptoAPI persistence 
105         mechanism for keypairs (based on CspParameters).
106         * SymmetricTransform.cs: New. Copied from corlib to offer the sames 
107         services to symmetric algorithms in Mono.Security assembly.
108
109 2004-01-12  Sebastien Pouliot  <spouliot@videotron.ca>
110
111         * CryptoConvert.cs: RSA doesn't start with a Q - at least that what
112         a strongname told me. Sorry Ron :(
113
114 2003-11-27  Sebastien Pouliot  <spouliot@videotron.ca>
115
116         * MD4.cs: New. Asbtract class for all MD4 implementations. WARNING:
117         The MD4 algorithm is BROKEN (collisions) and SHOULDN'T be used in 
118         NEW designs. However some higher level algorithms (like NTLM) requires 
119         MD4 (and may even be secure using it). YOU'RE WARNED!
120         * MD4Managed.cs: New. Managed implementation of MD4 (RFC1320).
121         * PKCS8.cs: New. Added Private-Key Information Syntax Standard as a 
122         building block for PKCS12.
123
124 2003-10-30  Sebastien Pouliot  <spouliot@videotron.ca>
125
126         * CryptoConvert.cs: Fixed strongname generation for small exponents 
127         (like 17). Part of the fixed for bug #50341.
128
129 2003-06-19  Nick Drochak <ndrochak@gol.com>
130
131         * CryptoConvert.cs: Work around for mcs? bug 45127.
132
133 2003-03-07  Sebastien Pouliot  <spouliot@videotron.ca>
134
135         * ARC4Managed.cs: New. Implementation of the Alleged RC4(tm)
136         stream cipher in managed code (required for SSL/TLS).
137         * CryptoConvert.cs: New. Helper class to help convert between
138         Windows crypto structures and .NET crypto classes (required
139         for security tools).
140         * MD2.cs: New. Abstract class for all MD2 hash implementations.
141         * MD2Managed.cs: New. Managed implementation of the MD2 hash
142         algorithm (required for old, but still valid, X.509 certificates).
143         * RC4.cs: New. Abstract class for all RC4 stream cipher 
144         implementations.