1pdfsig(1) General Commands Manual pdfsig(1)
2
3
4
6 pdfsig - Portable Document Format (PDF) digital signatures tool
7
9 pdfsig [options] [PDF-file] [Output-file]
10
12 pdfsig verifies the digital signatures in a PDF document. It also dis‐
13 plays the identity of each signer (commonName field and full distin‐
14 guished name of the signer certificate), the time and date of the sig‐
15 nature, the hash algorithm used for signing, the type of the signature
16 as stated in the PDF and the signed ranges with a statement wether the
17 total document is signed. Moreover, with option -sign it can sign a
18 PDF document.
19
20 The signer certificate validation uses the trusted certificates stored
21 in the Network Security Services (NSS) Database. The NSS Database is
22 searched for in the following locations:
23
24 • If the -nssdir option is specified, the directory specified by
25 this option.
26
27 • The NSS Certificate database in the default Firefox profile.
28 i.e. $HOME/.mozilla/firefox/*.default.
29
30 • The NSS Certificate database in /etc/pki/nssdb.
31
33 -nssdir [prefix]directory
34 Specify the database directory containing the certificate and
35 key database files. See certutil(1) -d option for details of the
36 prefix. If not specified the other search locations described in
37 DESCRIPTION are used.
38
39 -nocert
40 Do not validate the certificate.
41
42 -dump Dump all signatures into current directory.
43
44 -sign number
45 Sign the document in the signature field with the given number.
46
47 -nick nickname
48 Use the certificate with the given nickname for signing.
49
50 -kpw password
51 Use the given password for the signing key (this might be miss‐
52 ing if the key isn't password protected).
53
54 -digest algorithm
55 Use the given digest algorithm for signing (default: SHA256).
56
57 -reason reason
58 Set the given reason string for the signature (default: no rea‐
59 son set).
60
61 -etsi Create a signature of type ETSI.CAdES.detached instead of
62 adbe.pkcs7.detached.
63
64 -v Print copyright and version information.
65
66 -h Print usage information. (-help and --help are equivalent.)
67
69 The pdfsig software and documentation are copyright 1996-2004 Glyph &
70 Cog, LLC and copyright 2005-2015 The Poppler Developers - http://pop‐
71 pler.freedesktop.org
72
74 pdfdetach(1), pdffonts(1), pdfimages(1), pdfinfo(1), pdftocairo(1),
75 pdftohtml(1), pdftoppm(1), pdftops(1), pdftotext(1) pdfseparate(1),
76 pdfunite(1) certutil(1)
77
78
79
80 28 October 2015 pdfsig(1)