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