The dash should work. What error do you see?
I've tried following:
~/jsignpdf-1.6.1$ keytool -genkey -alias demo -keyalg RSA -keystore
/tmp/demo.keystore -dname "CN=demo" -storepass -mykeystore -keypass
-mykeystore
~/jsignpdf-1.6.1$ java -Duser.language=en -jar JSignPdf.jar -ksf
/tmp/demo.keystore -ksp -mykeystore ~/test.pdf
DEBUG Relaxing SSL security.
INFO Checking input and output PDF paths.
INFO Getting key alias
INFO Used key alias: demo
INFO Loading private key
INFO Getting certificate chain
INFO Opening input PDF file: /home/kwart/test.pdf
INFO Creating output PDF file: ./test_signed.pdf
INFO Creating signature
INFO Setting certification level
INFO Processing (it may take a while) ...
INFO Closing result PDF stream
INFO Finished: Signature succesfully created.
-- jc
> --
> You received this message because you are subscribed to the Google Groups
> "JSignPdf" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
jsignpdf+u...@googlegroups.com.
> To post to this group, send email to
jsig...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/jsignpdf.
> For more options, visit
https://groups.google.com/d/optout.