Age | Commit message (Collapse) | Author |
|
* AuthenticodeFormatter.cs: Throw an NotSupportedException if we're
trying to sign a non-PE (portable executable) file. We do not support
signing CAB and MSI files (nor does mono generates them).
[Partial fix for #388602, kept open as Enhancement]
svn path=/trunk/mcs/; revision=103341
|
|
* AuthenticodeBase.cs: Support (strip) COFF symbol table when
calculating the hash value of a PE file.
* AuthenticodeDeformatter.cs: Adapt to changes in base class.
* AuthenticodeFormatter.cs: Reuse more code from base class. Strip
COFF symbol table (if present). Fix alignment (on 8 bytes) for the
signature location.
svn path=/trunk/mcs/; revision=69502
|
|
* AuthenticodeBase.cs: Fix destination offset. Note that this works
under MS but not under Mono.
* AuthenticodeDeformatter.cs: Report a more useful error if the file
hash doesn't match the signed hash.
* AuthenticodeFormatter.cs: Implemented support for Timestamp method.
svn path=/trunk/mcs/; revision=61697
|
|
svn path=/trunk/mcs/; revision=46562
|
|
* AuthenticodeBase.cs: Reworked not to load the entire file into
memory before hashing it (now in 4kb blocks). Splitted code in many
methods to allow "lighter" use by the deformatter.
* AuthenticodeDeformatter.cs: Less memory hungry so it can be used to
create Publisher evidences. No hash instance are created if the file
isn't signed.
* AuthenticodeFormatter.cs: Adapted to API changes.
svn path=/trunk/mcs/; revision=33492
|
|
svn path=/trunk/mcs/; revision=30348
|
|
* AuthenticodeBase.cs: Added missing (overwritten) #if INSIDE_CORLIB
directives to hides type and enum in corlib.
svn path=/trunk/mcs/; revision=26153
|
|
* AuthenticodeBase.cs: FxCop-ized. CLS compliance. Also includes
endian fixes from Bernie Solomon.
* AuthenticodeDeformatter.cs: FxCop-ized. CLS compliance.
* AuthenticodeFormatter.cs: FxCop-ized. CLS compliance.
* PrivateKey.cs: Replaced Array.Copy with Buffer.BlockCopy.
* SoftwarePublisherCertificate.cs: FxCop-ized.
svn path=/trunk/mcs/; revision=25858
|
|
* AuthenticodeBase.cs: New. Base class including how to hash a
PE file.
* AuthenticodeDeformatter.cs: New. Class to decode Authenticode(tm)
signatures.
* AuthenticodeFormatter.cs: New. Class to encode a Authenticode(tm)
signature, and optionally a timestamp, into a PE file.
* SoftwarePublisherCertificate.cs: Now use Mono.Security.X509.
X509Certificate class.
svn path=/trunk/mcs/; revision=17810
|