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