pdfsig - Online Linux Manual PageSection : 1
Updated : 28 October 2015

NAMEpdfsig − Portable Document Format (PDF) digital signatures tool

SYNOPSISpdfsig [options] [PDF-file] [Output-file]

DESCRIPTIONpdfsig verifies the digital signatures in a PDF document. It also displays the identity of each signer (commonName field and full distinguished name of the signer certificate), the time and date of the signature, the hash algorithm used for signing, the type of the signature as stated in the PDF and the signed ranges with a statement wether the total document is signed. It can also sign PDF documents (options -add-signature or -sign). pdfsig uses the trusted certificates stored in the Network Security Services (NSS) Database. pdfsig also uses the Online Certificate Status Protocol (OCSP) (refer to http://en.wikipedia.org/wiki/Online_Certificate_Status_Protocol) to look up the certificate online and check if it has been revoked (unless -no-ocsp has been specified). The NSS Database is searched for in the following locations: • If the −nssdir option is specified, the directory specified by this option. • The NSS Certificate database in the default Firefox profile. i.e. $HOME/.mozilla/firefox/*.default. • The NSS Certificate database in /etc/pki/nssdb.

OPTIONS−nssdir "[prefix]directory"  Specify the database directory containing the certificate and key database files. See certutil(1) -d option for details of the prefix. If not specified the other search locations described in DESCRIPTION are used. −nss-pwd "password"  Specify the password needed to access the NSS database (if any). −nocert  Do not validate the certificate. −no-ocsp  Do not perform online OCSP certificate revocation check (local Certificate Revocation Lists (CRL) are still used). −aia  Enable the use of Authority Information Access (AIA) extension to fetch missing certificates to build the certificate chain. −dump  Dump all signatures into current directory. −add-signature  Add a new signature to the document. −new-signature-field-name " name"  Specifies the field name to be used when adding a new signature. A random ID will be used by default. −sign " field"  Sign the document in the specified signature field present in the document (must be unsigned). Field can be specified by field name (string) or the n-th signature field in the document (integer). −nick " nickname"  Use the certificate with the given nickname for signing. If nickname starts with pkcs11:, it's treated as PKCS#11 URI. −kpw " password"  Use the given password for the signing key (this might be missing if the key isn't password protected). −digest " algorithm"  Use the given digest algorithm for signing (default: SHA256). −reason " reason"  Set the given reason string for the signature (default: no reason set). −etsi  Create a signature of type ETSI.CAdES.detached instead of adbe.pkcs7.detached. −list-nicks  List available nicknames in the NSS database. −v  Print copyright and version information. −h  Print usage information. (−help and −−help are equivalent.)

EXAMPLESpdfsig signed_file.pdf  Displays signature info for signed_file.pdf. pdfsig input.pdf output.pdf -add-signature -nss-pwd password -nick my-cert -reason 'for fun!'  Creates a new pdf named output.pdf with the contents of input.pdf signed by the 'my-cert' certificate. pdfsig input.pdf output.pdf -add-signature -nss-pwd password -nick 'pkcs11:token=smartcard0;object=Second%20certificate;type=cert'  Same, but uses a PKCS#11 URI as defined in IETF RFC 7512 to select the certificate to be used for signing. pdfsig input.pdf output.pdf -sign 0 -nss-pwd password -nick my-cert -reason 'for fun!'  Creates a new pdf named output.pdf with the contents of input.pdf signed by the 'my-cert' certificate. input.pdf must have an already existing un-signed signature field.

AUTHORThe pdfsig software and documentation are copyright 1996-2004 Glyph & Cog, LLC and copyright 2005-2015 The Poppler Developers - http://poppler.freedesktop.org

SEE ALSOpdfdetach(1), pdffonts(1), pdfimages(1), pdfinfo(1), pdftocairo(1), pdftohtml(1), pdftoppm(1), pdftops(1), pdftotext(1) pdfseparate(1), pdfunite(1) certutil(1)
0
Johanes Gumabo
Data Size   :   14,888 byte
man-pdfsig.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 200,525
Visitor ID   :     :  
Visitor IP   :   18.216.253.84   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.