|
1 | 1 | # PDFSign
|
2 |
| -Command line tool for signing PDF Files using itextsharp library |
| 2 | +Basic command line tool for signing PDF Files using itextsharp library |
3 | 3 |
|
4 | 4 | ## Notes
|
5 | 5 | This is a command line tool that allows signing of pdf files using certificates.
|
6 | 6 | the actual PDF manipulation is performed using the itextsharp library v5.5
|
| 7 | +This tool was originaly published on [codeplex](https://archive.codeplex.com/?p=pdfsign) |
| 8 | + |
7 | 9 |
|
8 | 10 | The signing certificate can can either be provided as a pkcs12 file or it can come from
|
9 | 11 | the windows certificate store. In order to use a certificate from the windows store,
|
10 | 12 | the certificate must
|
11 | 13 | - be have the private key marked as exportable
|
12 | 14 | - the user running pdfsign must have read access to the private key
|
13 | 15 |
|
| 16 | +In Addition to nuget packages, the build process uses Microsofts [ILMerge](http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17630) |
| 17 | +tool to produce a consolidated single binary including all dlls. |
| 18 | + |
| 19 | +Currently, the signatures created are not LTV capable, i.e they expire with the validity of the signing certificate |
| 20 | + |
14 | 21 | ## usage
|
15 |
| -```pdfsign v1.2.0, (c) 2019 icomedias GmbH |
| 22 | +``` |
| 23 | +pdfsign v1.2.0, (c) 2019 icomedias GmbH |
16 | 24 | powered by iTextSharp 5.5 Copyright (C) 1999-2018 by iText Group NV
|
17 | 25 | Usage: pdfsign [OPTIONS]
|
18 | 26 | Sign a PDF file using a signing certificate
|
@@ -53,7 +61,8 @@ Return Values:
|
53 | 61 | -4: Error getting certificate chain
|
54 | 62 | -5: Error processing input file
|
55 | 63 | -6: Error opening output file
|
56 |
| - -7: Error generating signature``` |
| 64 | + -7: Error generating signature |
| 65 | +``` |
57 | 66 |
|
58 | 67 | ## multiple signatures
|
59 | 68 |
|
|
0 commit comments