1 2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
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
10 2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
12 * AuthenticodeDeformatter.cs: Return (find) the SigningCertificate
13 even if the signature isn't verifiable. This is the behaviour required
16 2006-06-14 Sebastien Pouliot <sebastien@ximian.com>
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.
24 2005-04-18 Sebastien Pouliot <sebastien@ximian.com>
26 * AuthenticodeFormatter.cs: Commented unused private constants to
27 remove compiler warnings.
29 2005-04-08 Sebastien Pouliot <sebastien@ximian.com>
31 * AuthenticodeDeformatter.cs: In synch with corlib version.
33 2004-11-05 Sebastien Pouliot <sebastien@ximian.com>
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.
40 2004-10-29 Sebastien Pouliot <sebastien@ximian.com>
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).
48 2004-10-22 Sebastien Pouliot <sebastien@ximian.com>
50 * AuthenticodeFormatter.cs: Fixed case where Url is null (broken since
51 we switched from string to Uri). Now use "using" for FileStream.
53 2004-09-17 Sebastien Pouliot <sebastien@ximian.com>
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.
60 2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
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
68 * AuthenticodeFormatter.cs: Adapted to API changes.
70 2004-05-11 Sebastien Pouliot <sebastien@ximian.com>
72 * PrivateKey.cs: Better exception reporting. Added globalization to
74 * SoftwarePublisherCertificate.cs: Better exception reporting. Added
75 globalization to exceptions.
77 2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
79 * AuthenticodeBase.cs: Added missing (overwritten) #if INSIDE_CORLIB
80 directives to hides type and enum in corlib.
82 2004-04-22 Sebastien Pouliot <sebastien@ximian.com>
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.
91 2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
93 * PrivateKey.cs: Adjusted to catch exceptions from CryptoConvert.
94 FromCapiPrivateKeyBlob when dealing with weakly encrypted keys.
96 2004-02-20 Sebastien Pouliot <sebastien@ximian.com>
98 * AuthenticodeDeformatter.cs: Updated to use the new X509Chain syntax.
100 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
102 * AuthenticodeDeformatter.cs: Now throw a COMException for invalid
103 signature. Added a SigningCertificate property (to be independant of
104 the certificate collection ordering).
106 2003-09-01 Sebastien Pouliot <spouliot@videotron.ca>
108 * AuthenticodeBase.cs: New. Base class including how to hash a
110 * AuthenticodeDeformatter.cs: New. Class to decode Authenticode(tm)
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.
117 2003-06-19 Nick Drochak <ndrochak@gol.com>
119 * PrivateKey.cs: Work around for mcs? bug 45127.
121 2003-03-15 Sebastien Pouliot <spouliot@videotron.ca>
123 * PrivateKey.cs: New. Class to load or create PVK (PriVate Key)
124 files (a Microsoft specific file format for private keys).
126 2003-03-06 Sebastien Pouliot <spouliot@videotron.ca>
128 * SoftwarePublisherCertificate.cs: New. Class to load or create
129 SPC files (which are PKCS#7 files containing only certificates