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