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