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