PKCS11 How to authenticate when token has the flag CKF_PROTECTED_AUTHENTICATION_PATH
I’m using OpenJDK 11 to authenticate via PKCS11 with a HSM server. The token info received from the server has the flag CKF_PROTECTED_AUTHENTICATION_PATH so the authentication can’t be done with a pin. How to implement the authentication in this case? I can’t find details about this scenario in the documentation.
How to authenticate over PKCS11 in Java 11 when token has flag CKF_PROTECTED_AUTHENTICATION_PATH
I was able to connect and interact with an HSM server using PKCS11 from Java 8 – using the method PKCS11#C_Login(sessionHandle, CKU_USER, pin)
But I have problems to connect to the same server using Java 11 (OpenJDK 11.0.2)