The new versions of IAIK PAdES, IAIK PKCS#11 wrapper and IAIK PKCS#11 provider are finally available. Some mayor changes have been implemented, which transform IAIK PAdES to IAIK [CP]AdES and greatly reduces the worries about the IAIK PKCS#11 wrapper's native part.
One day before Christmas we have released a new version of our core crypto toolkit IAIK-JCE!
Please also have a look at the toolkits we have released during the last months. Especially we want to point your attention to the new versions of our SSL/TLS library iSaSiLk which supports TLS 1.2 now, and our Elliptic Curve provider Eccelerate TM !
When running some of the samples which try to generate keys, I get an iaik.pkcs.pkcs11.wrapper.PKCS11Exception: CKR_TEMPLATE_INCOMPLETE. What is wrong?
Your specified key template seems to miss some attributes. For example an AES template must have set the attribute valueLen (cka_value_length).
When running some of the samples which try to generate keys, I get an iaik.pkcs.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_VALUE_INVALID. What is wrong?
Some PKCS#11 modules restrict changing of certain attributes or setting of certain combinations (e.g. key value and key length). Please consult your module's documentation for further details.
When running some of the samples which try to generate keys, I get an
. What is wrong?
Some PKCS#11 modules do not support certain attributes or modifying certain attributes (e.g. object class or key type). As workaround you can try to set the class and key-type attributes as not present. This may look like this:
maybe the driver accepts the key template if you try this.
It seems that you do not have the pkcs11wrapper.dll (or libpkcs11wrapper.so under Unix) in you search path. You can provide such a path directly to the Java™ VM setting the java.library.path system property like:
where ../bin/<windows|unix>/<platform>/release is the path where the pkcs11wrapper.dll (or libpkcs11wrapper.so under unix) file is. You can also place the file in the folder for binary files of you Java™ Runtime Environment; e.g. the jre/bin folder. Alternatively, you can also place the file pkcs11wrapper.dll in the system directory of Windows. On Unix systems you can place the libpkcs11wrapper.so in a lib directory of the system.