pdfsig version 26.11.0 Copyright 2005-2026 The Poppler Developers - http://poppler.freedesktop.org Copyright 1996-2011, 2022 Glyph & Cog, LLC Usage: pdfsig [options] <PDF-file> [<output-file>] -nssdir <string> : path to directory of libnss3 database -nss-pwd <string> : password to access the NSS database (if any) -nss-pwds <int> <string>... : passwords to access named NSS stores (if any) -nocert : don't perform certificate validation -no-ocsp : don't perform online OCSP certificate revocation check -no-appearance : don't add appearance information when signing existing fields -aia : use Authority Information Access (AIA) extension for certificate fetching -assert-signer <string> : This option checks whether the signature covering the full document been made with the specified key. The key is either specified as a fingerprint or a file listing fingerprints. The fingerprint must be given or listed in compact format (no colons or spaces in between). If fpr_or_file specifies a file, empty lines are ignored as well as all lines starting with a hash sign. Only available for GnuPG backend. -dump : dump all signatures into current directory -add-signature : adds a new signature to the document -new-signature-field-name <string>: field name used for the newly added signature. A random ID will be used if empty -sign <string> : sign the document in the given signature field (by name or number) -etsi-cades-b : create a signature of type ETSI.CAdES.detached type B instead of adbe.pkcs7.detached -backend <string> : use given backend for signing/verification -enable-pgp : Enable pgp signatures in the GnuPG backend. Only available for GnuPG backend -nick <string> : use the certificate with the given nickname/fingerprint for signing -kpw <string> : password for the signing key (might be missing if the key isn't password protected) -digest <string> : name of the digest algorithm (default: SHA256) -reason <string> : reason for signing (default: no reason given) -list-nicks : list available nicknames in the NSS database -list-backends : print cryptographic signature backends -opw <string> : owner password (for encrypted files) -upw <string> : user password (for encrypted files) -v : print copyright and version info -h : print usage information -help : print usage information --help : print usage information -? : print usage information
Options (28)
| Option | Description | Source |
|---|---|---|
-nssdir string | : path to directory of libnss3 database | help |
-nss-pwd string | Specify the password needed to access the NSS database (if any). | help + man |
-nss-pwds int | Specify the passwords needed to access named NSS stores. | help + man |
-nocert | : don't perform certificate validation | help + man |
-no-ocsp | Do not perform online OCSP certificate revocation check (local Certificate Revocation Lists (CRL) are still used). | help + man |
-no-appearance | Do not add appearance information when signing existing fields (signer name and date). | help + man |
-aia | Enable the use of Authority Information Access (AIA) extension to fetch missing certificates to build the certificate chain. | help + man |
-assert-signer string | : This option checks whether the signature covering the full document been made with the specified key. | help + man |
-dump | Dump all signatures into current directory in their native format. | help + man |
-add-signature | : adds a new signature to the document | help + man |
-sign string | Sign the document in the specified signature field present in the document (must be unsigned). | help + man |
-etsi-cades-b | : create a signature of type ETSI.CAdES.detached type B instead of adbe.pkcs7.detached | help + man |
-backend string | Use the specified backeng for cryptographic signatures | help + man |
-enable-pgp | : Enable pgp signatures in the GnuPG backend. | help + man |
-nick string | Use the certificate with the given nickname for signing (NSS backend). | help + man |
-kpw string | Use the given password for the signing key (this might be missing if the key isn't password protected). | help + man |
-digest string | Use the given digest algorithm for signing (default: SHA256). | help + man |
-reason string | Set the given reason string for the signature (default: no reason set). | help + man |
-list-nicks | : list available nicknames in the NSS database | help + man |
-list-backends | List available backends for cryptographic signatures | help + man |
-opw string | : owner password (for encrypted files) | help |
-upw string | : user password (for encrypted files) | help |
-v | Print copyright and version information. | help + man |
-h | : print usage information | help + man |
-help | : print usage information | help |
--help | : print usage information | help |
-? | : print usage information | help |
-new-signature-field-name name | Specifies the field name to be used when adding a new signature. (in the manual page but not in --help) | man |