Command line#
Every feature is available from the terminal as atick (or python -m atick).
atick sign sign with a .pfx / .p12
atick sign-token sign with a PKCS#11 token / smart-card / HSM
atick sign-winstore sign with a certificate from the Windows store
atick list-token list certificates on a PKCS#11 token
atick esign-prepare eSign step 1: prepare a PDF + print the InputHash
atick esign-embed eSign step 2: embed the ESP response XML
atick doctimestamp add a document timestamp (B-LTA) to a signed PDF
atick metadata set /Info metadata on an unsigned PDF
atick decrypt decrypt a password-protected PDF
atick version show the version
Run atick <command> -h for every option.
atick sign#
atick sign in.pdf out.pdf --pfx my.pfx --password ••• \
--cn "Aniket Chaturvedi" --org "Acme Corp" --reason Approved \
--timestamp --ltv \
--page 1 --rect 300,55,575,175
Key options:
Option |
Meaning |
|---|---|
|
the signing certificate |
|
RFC-3161 timestamp |
|
long-term validation / document timestamp |
|
plain CMS instead of PAdES |
|
digest algorithm |
|
certification level |
|
lock fields ( |
|
pre-sign checks |
|
encryption |
|
disable the revocation cache |
Appearance |
|
Placement |
|
Examples#
# CN on the left + distinguished name, always-green tick
atick sign in.pdf out.pdf --pfx my.pfx --password ••• --cn "Aniket Chaturvedi" \
--cn-left --dn "CN=Aniket, O=Personal, C=IN" --always-check
# custom-text-only appearance (\n = new line, *x* = bold)
atick sign in.pdf out.pdf --pfx my.pfx --password ••• --body "*APPROVED*\nby *Aniket*"
# sign an already-signed PDF (incremental — existing signatures stay valid)
atick sign signed.pdf signed2.pdf --pfx my.pfx --password ••• --timestamp --ltv