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