Is it possible to add a custom mechanism to pkcs11j? #161
Unanswered
tstiemerling
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I want to use pkcs11j with an HSM which has pre PKCS11 2.40 mechanisms, in particuler AES_WRAP and AES_WRAP_PAD are using:
#define CKM_AES_KEY_WRAP 0x00001090
#define CKM_AES_KEY_WRAP_PAD 0x00001091
and in pkcs11j we see:
#define CKM_AES_KEY_WRAP 0x00002109UL /* WAS: 0x00001090 /
#define CKM_AES_KEY_WRAP_PAD 0x0000210AUL / WAS: 0x00001091 */
I would like to know if I can add a custom mechanism to pkcs11j which would use the older numbers, and if so how we can go about doing that?
Beta Was this translation helpful? Give feedback.
All reactions