Closed armando-basile closed 4 years ago
Could you please post here your code to generate the signature? Additionally, please post also the mechanisms supported by the device. You get them via the following code:
Mechanism[] mechanisms = slot.getToken().getMechanismList();
Hi xipki, thanks for your response.
this is machanism list https://justpaste.it/3behc and seems that is not present CKM_SHA256_RSA_PKCS_PSS
Since the mechanism CKM_RSA_X_509
is supported, you can use it to generate PSS signature. However, you need to prepare all except the RSA sign by yourself.
Hi Xipki, i trying to generate signature using mechanism PKCS11Constants.CKM_SHA256_RSA_PKCS_PSS and params:
but i receive always CKR_MECHANISM_INVALID
i saw also that RSAPkcsPssParameters was deprecated but i doesn't found any new pattern.
Could you help me ?