1 2004-10-28 Sebastien Pouliot <sebastien@ximian.com>
3 * KeyPairPersistence.cs: Added localization for exceptions messages.
4 Also added more details (type and path) when an exception is thrown.
6 2004-09-29 Sebastien Pouliot <sebastien@ximian.com>
8 * RSAManaged.cs: KeySize is always a multiple of 8 bits (promotion to
9 a bigger size if required) to match MS implementation (and other
12 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
14 * CryptoConvert.cs: Fixed warning (l4) for unused variables.
15 * KeyPairPersistence.cs: Fixed warning (l4) for unused variable.
16 * PKCS1.cs: Added empty {} to fix warning about possible empty stmnt.
18 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
20 * MACAlgorithm.cs: Removed the hardcoded PaddingMode.Zeros as this is
21 now selectable in Fx 2.0.
22 * SymmetricTransform.cs: Throw CryptographicException when CipherMode
23 CTS or OFB is being used (to match MS implementation).
25 2004-06-23 Sebastien Pouliot <sebastien@ximian.com>
27 * SymmetricTransform.cs: Reduce by one the number of block when
28 decrypting. This operation was in CryptoStream before but is only
29 required for decryption (which CryptoStream can't know).
32 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
34 * SymmetricTransform.cs: Fixed possible integer overflow. Added
35 missing exception handling in TransformBlock and TransformFinalBlock.
37 2004-05-01 Sebastien Pouliot <sebastien@ximian.com>
39 * CryptoConvert.cs: Synched with Mono.Security.dll. Fix bug #57941
41 * RSAManaged.cs: Synched with Mono.Security.dll. Fix bug #57941
44 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
46 * CryptoConvert.cs: In sync with Mono.Security.dll version.
47 * CryptoTools.cs: In sync with Mono.Security.dll version.
48 * DSAManaged.cs: Changed delegate to please FxCop.
49 * PKCS1.cs: In sync with Mono.Security.dll version.
50 * RSAManaged.cs: In sync with Mono.Security.dll version.
51 * SymmetricTransform.cs: Fixed a bug when offset > 0 in destination
52 buffer. Changed Array.Copy to Buffer.BlockCopy.
54 2004-04-23 Sebastien Pouliot <sebastien@ximian.com>
56 * KeyPairPersistence.cs: Completed key pair protection for both
57 Linux and Windows (protection done by runtime).
59 2004-04-08 Bernie Solomon <bernard@ugsolutions.com>
61 * PKCS1.cs: Use BitConverterLE
63 2004-04-06 Bernie Solomon <bernard@ugsolutions.com>
65 * CryptoConvert.cs: Add private methods to always
66 handle data as little endian (GetBytesLE, ToInt32LE, ToUInt32LE).
68 2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
70 * CryptoConvert.cs: Added support for public keys preceded by an
71 header like the one generated by "sn -e".
73 2004-03-23 Sebastien Pouliot <sebastien@ximian.com>
75 * CryptoConvert.cs: Added exception for null and bad parameters.
76 * RSAManaged.cs: CryptographicException thrown when trying to export
77 the private key when only the public key is present (CRT aware).
79 2004-03-22 Sebastien Pouliot <sebastien@ximian.com>
81 * CryptoConvert.cs: Added new methods to convert [From|To]Hex. Added
82 new version of FromCapiPublicKeyBlob with an integer offset.
84 2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
86 * DSAManaged.cs: Added an event after key generation (so that
87 DSACryptoServiceProvider can persist the keypair if required). Added
88 PublicOnly property (like 1.2) so we do not have to catch an exception
89 to know if a private key is present or not. Added a Random property so
90 we do not always have to create a RNG instance (not always required).
91 * RSAManaged.cs: Added an event after key generation (so that
92 DSACryptoServiceProvider can persist the keypair if required). Added
93 PublicOnly property (like 1.2) so we do not have to catch an exception
94 to know if a private key is present or not.
95 * SymmetricTransform.cs: This class was split from S.S.C.
96 SymmetricAlgorithm.cs so it could be reused in Mono.Security
97 assembly for other symmetric algorithms transforms.
99 2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
101 * KeyPairPersistence.cs: New. Class to persist keypairs in an XML
102 format to mimic the CryptoAPI key containers.
104 2004-01-12 Sebastien Pouliot <spouliot@videotron.ca>
106 * CryptoConvert.cs: RSA doesn't start with a Q - at least that what
107 a strongname told me. Sorry Ron :(
109 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
111 * MACAlgorithm.cs: Fixed difference between 1.0 and 1.1 framework.
112 The 1.0 framework is adding an additional padding block (empty)
113 to MAC when MACing an exact multiple of the TripleDES block size.
114 * PKCS1.cs: Fixed a typo which prevented "lame" (without OID)
115 signature verification.
117 2003-10-30 Sebastien Pouliot <spouliot@videotron.ca>
119 * CryptoConvert.cs: Fixed strongname generation for small exponents
120 (like 17). Part of the fixed for bug #50341.
122 2003-10-17 Sebastien Pouliot <spouliot@videotron.ca>
124 * CryptoConvert.cs: Added from Mono.Security to support StrongNames.
126 2003-07-05 Sebastien Pouliot <spouliot@videotron.ca>
128 * DSAManaged.cs: Fixed bugs that appeared with the new unit tests.
129 * RSAManaged.cs: Fixed bugs that appeared with the new unit tests.
131 2003-07-02 Zoltan Varga <vargaz@freemail.hu>
133 * PKCS1.cs DSAManaged.cs: Changed strange characters in comments to
134 human-readable ones, since they break XML export in monocov.
136 2003-06-15 Sebastien Pouliot <spouliot@motus.com>
138 * RSAManaged.cs: Now includes CRT (Chinese Remainder Theorem)
139 optimization when using the private key (DecryptValue). This
140 cut more than 5 seconds of nunit on my system (out of 14 sec
141 for complete asymmetric tests). Thanks to Ben Maurer for help!
143 2003-06-11 Sebastien Pouliot <spouliot@motus.com>
145 * DSAManaged.cs: Refactored from DSACryptoServiceProvider.cs. Cannot
146 be reused outside [ms]corlib because DSA constructor is internal :-(
148 * PKCS1.cs: Now support any hash algorithm when encoding PKCS 1.5
149 (i.e. not limited to pre-calculated values for known hashes). Some
150 other API changes to ease the use of other hash algorithms.
152 * RSAManaged.cs: Refactored from RSACryptoServiceProvider.cs. This
153 class is required for custom PKCS#1 padding in SSL (which is not
154 possible using RSACryptoServiceProvider).
156 2003-05-12 Sebastien Pouliot <spouliot@videotron.ca>
158 * PKCS1.cs: Corrected I2OSP to match PKCS#1 v.2.1 test vector
159 and fix the OAEP incompatibility issue.
161 2003-04-01 Sebastien Pouliot <spouliot@videotron.ca>
163 * PKCS1.cs: Corrected fix (partially) for the lame PKCS1 v1.5
164 signatures done without specifying an OID.
166 2003-03-01 Sebastien Pouliot <spouliot@videotron.ca>
168 * PKCS1.cs: Fix for some (lame) PKCS1 v1.5 signatures done
169 without specifying an OID.
171 2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
173 * CryptoTools.cs: Renamed namespace to match new location.
174 * PKCS1.cs: Renamed namespace to match new location.
175 * HMACAlgorithm.cs: New. Generic class to implement HMAC
176 using any hash algorithm (was in S.S.C.HMACSHA1.cs).
177 * MACAlgorithm.cs: New. Generic class to implement MAC
178 using any symmetric algorithm (was in S.S.C.MACTripleDES.cs).