merged Sys.Web.Services 2.0 support in my branch:
[mono.git] / mcs / class / Mono.Security / Mono.Security.Authenticode / ChangeLog
1 2006-12-14  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * AuthenticodeBase.cs: Support (strip) COFF symbol table when 
4         calculating the hash value of a PE file.
5         * AuthenticodeDeformatter.cs: Adapt to changes in base class.
6         * AuthenticodeFormatter.cs: Reuse more code from base class. Strip
7         COFF symbol table (if present). Fix alignment (on 8 bytes) for the
8         signature location.
9
10 2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>
11
12         * AuthenticodeDeformatter.cs: Return (find) the SigningCertificate 
13         even if the signature isn't verifiable. This is the behaviour required
14         for 2.0.
15
16 2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
17
18         * AuthenticodeBase.cs: Fix destination offset. Note that this works 
19         under MS but not under Mono.
20         * AuthenticodeDeformatter.cs: Report a more useful error if the file
21         hash doesn't match the signed hash.
22         * AuthenticodeFormatter.cs: Implemented support for Timestamp method.
23
24 2005-04-18  Sebastien Pouliot  <sebastien@ximian.com>
25
26         * AuthenticodeFormatter.cs: Commented unused private constants to 
27         remove compiler warnings.
28
29 2005-04-08  Sebastien Pouliot  <sebastien@ximian.com>
30
31         * AuthenticodeDeformatter.cs: In synch with corlib version.
32
33 2004-11-05  Sebastien Pouliot  <sebastien@ximian.com>
34
35         * AuthenticodeFormatter.cs: Now use BitConverterLE for explicit 
36         little-endian convertion.
37         * PrivateKey.cs: Now use BitConverterLE for explicit little-endian
38         convertion for PVK files.
39
40 2004-10-29  Sebastien Pouliot  <sebastien@ximian.com>
41
42         * AuthenticodeFormatter.cs: Fixed spcSpOpusInfo attribute (it wasn't 
43         added) and contentType attribute (was added 2 times). Also fixed the
44         case where we signed an already Authenticode signed file (re-signing).
45         * SoftwarePublisherCertificate.cs: Support for base64 encoded ASN.1 
46         files (either Unicode or ASCII).
47
48 2004-10-22  Sebastien Pouliot  <sebastien@ximian.com>
49
50         * AuthenticodeFormatter.cs: Fixed case where Url is null (broken since
51         we switched from string to Uri). Now use "using" for FileStream.
52
53 2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
54
55         * AuthenticodeDeformatter.cs: In synch with corlib version. Fixed all 
56         level 4 compilation warnings.
57         * AuthenticodeFormatter.cs: Fixed all level 4 compilation warnings.
58         * PrivateKey.cs: Fixed all level 4 compilation warnings.
59
60 2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>
61
62         * AuthenticodeBase.cs: Reworked not to load the entire file into 
63         memory before hashing it (now in 4kb blocks). Splitted code in many
64         methods to allow "lighter" use by the deformatter.
65         * AuthenticodeDeformatter.cs: Less memory hungry so it can be used to
66         create Publisher evidences. No hash instance are created if the file
67         isn't signed.
68         * AuthenticodeFormatter.cs: Adapted to API changes.
69
70 2004-05-11  Sebastien Pouliot  <sebastien@ximian.com>
71
72         * PrivateKey.cs: Better exception reporting. Added globalization to 
73         exceptions.
74         * SoftwarePublisherCertificate.cs: Better exception reporting. Added 
75         globalization to exceptions. 
76
77 2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>
78
79         * AuthenticodeBase.cs: Added missing (overwritten) #if INSIDE_CORLIB
80         directives to hides type and enum in corlib.
81
82 2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
83
84         * AuthenticodeBase.cs: FxCop-ized. CLS compliance. Also includes
85         endian fixes from Bernie Solomon.
86         * AuthenticodeDeformatter.cs: FxCop-ized. CLS compliance.
87         * AuthenticodeFormatter.cs: FxCop-ized. CLS compliance.
88         * PrivateKey.cs: Replaced Array.Copy with Buffer.BlockCopy.
89         * SoftwarePublisherCertificate.cs: FxCop-ized.
90
91 2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>   
92
93         * PrivateKey.cs: Adjusted to catch exceptions from CryptoConvert.
94         FromCapiPrivateKeyBlob when dealing with weakly encrypted keys.
95
96 2004-02-20  Sebastien Pouliot  <sebastien@ximian.com>   
97
98         * AuthenticodeDeformatter.cs: Updated to use the new X509Chain syntax. 
99
100 2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>  
101
102         * AuthenticodeDeformatter.cs: Now throw a COMException for invalid 
103         signature. Added a SigningCertificate property (to be independant of
104         the certificate collection ordering).
105
106 2003-09-01  Sebastien Pouliot  <spouliot@videotron.ca>  
107
108         * AuthenticodeBase.cs: New. Base class including how to hash a
109         PE file.
110         * AuthenticodeDeformatter.cs: New. Class to decode Authenticode(tm)
111         signatures.
112         * AuthenticodeFormatter.cs: New. Class to encode a Authenticode(tm)
113         signature, and optionally a timestamp, into a PE file.
114         * SoftwarePublisherCertificate.cs: Now use Mono.Security.X509.
115         X509Certificate class.
116
117 2003-06-19  Nick Drochak <ndrochak@gol.com>
118
119         * PrivateKey.cs: Work around for mcs? bug 45127.
120
121 2003-03-15  Sebastien Pouliot  <spouliot@videotron.ca>
122
123         * PrivateKey.cs: New. Class to load or create PVK (PriVate Key)
124         files (a Microsoft specific file format for private keys).
125
126 2003-03-06  Sebastien Pouliot  <spouliot@videotron.ca>
127
128         * SoftwarePublisherCertificate.cs: New. Class to load or create
129         SPC files (which are PKCS#7 files containing only certificates 
130         and CRL).
131