2008-09-12 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / Mono.Security / Mono.Security / ChangeLog
1 2008-09-12  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * ASN1.cs: Use File.Create instead of OpenWrite to make sure nothing
4         else if left at the end of the file.
5
6 2008-04-25  Sebastien Pouliot  <sebastien@ximian.com>
7
8         * StrongName.cs: Add support for verifying strongnames on a stream.
9         Patch from Dave Hillier <daveh@lindenlab.com>
10
11 2007-05-09  Sebastien Pouliot  <sebastien@ximian.com>
12
13         * ASN1Convert.cs: Synch with corlib (remove warnings)
14
15 2007-02-12  Sebastien Pouliot  <sebastien@ximian.com>
16
17         * ASN1Convert.cs: Add support for decoding ASN.1 dates with an UTC 
18         offset (e.g. 990630000000+1000) as some certificates use this format.
19
20 2007-01-05  Sebastien Pouliot  <sebastien@ximian.com>
21
22         * ASN1Convert.cs: Added comment to FromDateTime to specify that, under
23         1.x, the DateTime must be a local (not UTC) date time. Fixed ToDateTime
24         to return a DateTimeKind.Utc DateTime under 2.0.
25
26 2006-08-17  Sebastien Pouliot  <sebastien@ximian.com>
27
28         * StrongName.cs: Fix the (very unlikely) case where an MD5 public key
29         token is requested (part of the spec, never seen in the wild).
30
31 2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
32
33         * ASN1.cs: Switch condition not to use the cached data if there is a
34         collection being used. Skip extra 0 at the end of the byte[] buffer.
35
36 2006-01-04  Sebastien Pouliot  <sebastien@ximian.com>
37
38         * ASN1Convert.cs: Fix convertion of integer 0 to ASN.1.
39
40 2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>
41
42         * StrongName.cs: Added new constructor to specify the strongname key 
43         size (which can vary from 384 bits to 16384 bits in 2.0). Fixed 
44         PublicKey property not to assume a 1024 bits public key. Verification
45         was *already* working for any key length (so *much* older version of 
46         Mono can verify new assemblies signatures without problem :-).
47
48 2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>
49
50         * ASN1Convert.cs: Better handle big integer than cannot be interpreted
51         as a negative number (don't extend). Fix bug #75778.
52
53 2005-10-03  Sebastien Pouliot  <sebastien@ximian.com>
54
55         * PKCS7.cs: Ensure that attributes (authenticated and unauthenticated)
56         are sorted as required in ASN.1 SET with DER encoding. Kind of hackish
57         because this should be done in the ASN.1 encoder - but it solves
58         interop problems with BouncyCastle. Patch (modified) from Daniel 
59         Granath <dgranath#gmail.com>.
60
61 2004-10-29  Sebastien Pouliot  <sebastien@ximian.com>
62
63         * ASN1.cs: Throw an NotSupportedException when "undefined length 
64         encoding" is used (#68903 but it's not a fix ;-). Fixed GetBytes to
65         encode structures bigger than 64k (fix #68907). Simplified ToString
66         and added Length to help debugging.
67         * PKCS7.cs: Added a flag to avoid resigning a structure (which was
68         duplicating some attributes).
69
70 2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
71
72         * ASN1.cs: In synch with corlib version. Fixed all level 4 compilation
73         warnings.
74         * PKCS7.cs: In synch with corlib version. Fixed all level 4 
75         compilation warnings.
76
77 2004-06-08  Sebastien Pouliot  <sebastien@ximian.com>
78
79         * StrongName.cs: Synch with corlib (the new code isn't even compiled)
80         in Mono.Security assembly.
81
82 2004-05-19  Jesper Pedersen  <jep@itplus.dk>
83
84         * PKCS7.cs: Added SignedData.VerifySignature(AsymmetricAlgorithm aa).
85         Added support for calculating signature from SignedData content (i.e.
86         when UseAuthenticatedAttributes is false). Added contentType to 
87         AuthenticatedAttributes (when SignedData.UseAuthenticatedAttributes 
88         is true).
89
90 2004-05-11  Sebastien Pouliot  <sebastien@ximian.com>
91
92         * ASN1Convert.cs: Added better exceptions. Fixed bugs found by new
93         unit tests.
94         * StrongName.cs: Fixed GetBytes() when creating a new strongname. 
95         Removed unrequired :base() from a constructor. Removed debugging 
96         Console.WriteLine.
97
98 2004-05-03  Sebastien Pouliot  <sebastien@ximian.com>
99
100         * ASN1.cs: Fixed NullReferenceException in xmldsig standalone tests.
101
102 2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
103
104         * ASN1.cs: FxCop-ized. CLS compliance.
105         * ASN1Convert.cs: FxCop-ized. CLS compliance.
106         * PKCS7.cs: FxCop-ized. CLS compliance.
107         * StrongName: FxCop-ized. CLS compliance.
108
109 2004-04-20  Sebastien Pouliot  <sebastien@ximian.com>
110
111         * ASN1.cs: Added SaveToFile for easier debugging. Patch from
112         Jesper Pedersen.
113         * BitConverterLE.cs: New. Added Little-Endian BitConverter from 
114         Bernie Solomon to sync versions with corlib.
115         * StrongName.cs: Synched with corlib version. Adds ECMA key fixes,
116         endian fixes from Bernie Solomon and removed compilation warning.
117
118 2004-03-31  Sebastien Pouliot  <sebastien@ximian.com>
119
120         * StrongName.cs: Update to include new static method that can be 
121         called from the runtime to validate strongname signatures. 
122         Refactored the existing class to reduce code duplication.
123
124 2004-03-24  Sebastien Pouliot  <sebastien@ximian.com>
125
126         * StrongName.cs: Added CanSign property for AssemblyBuilder. Current
127         Fx design requires an exception to know if the private key is present
128         in an RSA instance. In some case (inside corlib) we can do without...
129
130 2004-03-23  Sebastien Pouliot  <sebastien@ximian.com>
131
132         * StrongName.cs: Added exceptions for null or invalid keys.
133
134 2004-03-17  Jesper Pedersen  <jep@itplus.dk>
135
136         * ASN1.cs: Implemented ASN1::ToString (byte dump)
137         * ASN1Convert.cs: Fixed engine problem in ASN1Convert::FromInt32
138
139 2003-12-07  Sebastien Pouliot  <spouliot@videotron.ca>
140
141         * PKCS7.cs: Implemented EncryptedData, EnvelopedData and updated 
142         SignedData for v3 SubjectKeyIdentifier.
143         
144 2003-11-06  Sebastien Pouliot  <spouliot@videotron.ca>
145
146         * StrongName.cs: Now supports MZ headers bigger than 128 bytes.
147
148 2003-10-11  Sebastien Pouliot  <spouliot@videotron.ca>
149
150         * StrongName.cs: Added Hash, Sign and Verify.
151
152 2003-09-01  Sebastien Pouliot  <spouliot@videotron.ca>
153
154         * PKCS7.cs: Updated to use Mono.Security.X509.X509Certificate and to
155         support countersignatures.
156
157 2003-06-19  Nick Drochak <ndrochak@gol.com>
158
159         * StrongName.cs: Work around for mcs? bug 45127.
160
161 2003-03-08  Sebastien Pouliot  <spouliot@videotron.ca>
162
163         * StrongName.cs: New. Partial implementation for StrongNames.
164
165 2003-03-06  Sebastien Pouliot  <spouliot@videotron.ca>
166
167         * ASN1.cs: Updated ASN1 class (from corlib). This file will,
168         eventually, be automagically synched with corlib.
169         * ASN1Convert.cs: New. Helper class to convert from and to
170         ASN1 structures.
171         * PKCS7.cs: New. Basic implementation of CMS (Cryptographic 
172         Message Syntax Standard).
173  
174