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