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