2 .\" signcode manual page.
3 .\" Copyright 2003 Motus Technologies
4 .\" Copyright 2004 Novell
6 .\" Sebastien Pouliot (sebastien@ximian.com)
10 signcode \- Digitally sign an PE executable using an X.509 certificate.
13 .B signcode [options] filename
15 Digitally sign an PE executable (CLR assembly, Win32 EXE or DLL) using an
16 X.509 certificate and it's associated private key. The signature is compatible
17 with Authenticode(r) and can be validated with chktrust (either on Windows or
18 on any platform supported by Mono).
22 The Software Publisher File (spc) that contains the X.509 certificate chain
23 used to digitally sign the PE executable.
26 The Private Key File (pvk) that contains the private key used to digitally
27 sign the PE executable. This private key must match the public key inside the
28 publisher X.509 certificate.
31 The hash algorithm used in the digital signature of the PE executable. The
32 default algorithm is SHA1.
34 .I "-$ individual | commercial"
35 Add information about the publisher, i.e. if the signature is generated by an
36 individual or a commercial entity.
39 Add a textual description of the signed file.
42 Add a URL associated to the publisher or the signed file.
45 URL to a timestamp service to countersign the PE executable. Countersignature
46 is required if you want the PE executable signature to be valid after the
47 publisher certificate expires. The countersignature proves that the publisher
48 had a valid (non-expired) certificate when the PE executable was signed.
51 Number of retries to get a timestamp for the countersignature.
54 Delay (in seconds) between the retries to get a timestamp for the countersignature.
57 CryptoAPI key container name (when not using -v).
60 CryptoAPI provider name (when not using -v).
63 CryptoAPI provider type (when not using -v or -p).
65 .I "-ky signature | exchange | #"
66 CryptoAPI key type (when not using -v).
68 .I "-r localMachine | currentUser"
69 CryptoAPI key location (when not using -v).
71 .I "-help", "-h", "-?", "/?"
72 Display help about this tool.
73 .SH OTHER CODE SIGNING TECHNOLOGIES
74 Assemblies are PE files that can also be strongnamed using the sn.exe tool. The
75 order of code signature is important if a file requires both an Authenticode
76 and a strongname signature. Strongname must be applied before the Authenticode
77 signature. Applying a strongname after the Authenticode signature, like
78 re-signing an assembly (e.g. delay-sign), will invalidate the Authenticode
80 .SH KNOWN RESTRICTIONS
81 signcode cannot generate Authenticode signatures for CAB files.
83 Written by Sebastien Pouliot
85 Copyright (C) 2003 Motus Technologies.
86 Copyright (C) 2004 Novell.
87 Released under BSD license.
89 Visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details.
91 Visit http://www.mono-project.com for details
93 .BR chktrust(1), makecert(1), cert2spc(1)