Closed vlcinsky closed 2 years ago
The docs http://jsignpdf.sourceforge.net/uploads/JSignPdf.pdf in section Using hardware tokens for signing is proposing content of pkcs11.cfg file as follows:
pkcs11.cfg
name=Test library=/path/to/your/PKCSDriver.so
optionally adding a line
slotIndex=1
JDK 8 PKCS#11 Reference Guide as referenced from the JSignPdf docs does not contain string slotIndex.
slotIndex
It seems the proper name shall be:
slotListIndex=1
or only the shorter version:
slot=1
Thanks for the report. Could you also send a pull request with the suggested fix?
The source for PDF is this AsciiDoc file: https://github.com/intoolswetrust/jsignpdf/blob/master/distribution/doc/JSignPdf.adoc
Problem
The docs http://jsignpdf.sourceforge.net/uploads/JSignPdf.pdf in section Using hardware tokens for signing is proposing content of
pkcs11.cfg
file as follows:optionally adding a line
JDK 8 PKCS#11 Reference Guide as referenced from the JSignPdf docs does not contain string
slotIndex
.Proposed change
It seems the proper name shall be:
or only the shorter version: