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