List certificates
krefects opened this issue · 2 comments
krefects commented
How can I list certificate names and keys via command.
example:
java -jar ./Jsigner/JSignPdf.jar -kst WINDOWS-MY -list-keys
krefects commented
Another question is how to use a specific key.
example:
java -jar ./Jsigner/JSignPdf.jar ./arquivo.pdf -kst WINDOWS-MY -ka ELTON OLIVEIRA 09028327
krefects commented
Solved.
For certificate listing:
java -jar ./Jsigner/JSignPdf.jar -kst WINDOWS-MY --list-keys
To sign with a specific key:
(The key name must be in quotes)
java -jar ./Jsigner/JSignPdf.jar ./archive.pdf -kst WINDOWS-MY -ka "KeyName"'