Usage: swisscom.com.ais.itext.SignPDF [OPTIONS]
Options:
-v - set verbose output
-d - set debug mode
-config=VALUE - custom path to properties file which will overwrite default path
-type=VALUE - signature type, values: timestamp, sign
-infile=VALUE - source PDF file to be signed
-outfile=VALUE - target PDF file that will be signed
-reason=VALUE - signing reason
-location=VALUE - signing location
-contact=VALUE - signing contact
-dn=VALUE - distinguished name for OnDemand certificate signing
-msisdn=VALUE - Mobile ID step up MSISDN (requires -dn -msg -lang)
-msg=VALUE - Mobile ID step up message (requires -dn -msg -lang)
-lang=VALUE - Mobile ID step up language, values: en, de, fr, it (requires -dn -msg -lang)
Examples:
java swisscom.com.ais.itext.SignPDF -v -type=timestamp -infile=sample.pdf -outfile=signed.pdf
java swisscom.com.ais.itext.SignPDF -v -config=/tmp/signpdf.properties -type=sign -infile=sample.pdf -outfile=signed.pdf -reason=Approved -location=CH -contact=alice@example.com
java swisscom.com.ais.itext.SignPDF -v -type=sign -infile=sample.pdf -outfile=signed.pdf -dn='cn=Hans Muster,o=ACME,c=CH'
java swisscom.com.ais.itext.SignPDF -v -type=sign -infile=sample.pdf -outfile=signed.pdf -dn='cn=Hans Muster,o=ACME,c=CH' -msisdn=41792080350 -msg='service.com: Sign?' -lang=en
Mobile ID step up related help text should be:
-msisdn=VALUE - Mobile ID step up MSISDN (requires -dn -msg -lang)
-msg=VALUE - Mobile ID step up message (requires -dn -msisdn -lang)
-lang=VALUE - Mobile ID step up language, values: en, de, fr, it (requires -dn -msisdn -msg)
iText help text shows:
Mobile ID step up related help text should be: