Hello,
I am working on a program where a user is going to have to sign several pieces of data over the course of the time they are logged in. I am trying to find out the best way to use OpenSC-java where I can manage pin usage. For example the user logs in with there pin, then they make changes to a profile and need to enter there pin again to verify it was that person who made the change. Of course when they log out I need to destroy the keystore, provider etc. My question is what is the best way about entering the pin over and over again with out it being cached? I looked into using the PKCS11Session and PKCS11SessionStore and I can login but then when I go to load the keystore I get CKR_USER_ALREADY_LOGGED_IN, but then if I send the pin to the PKCS11LoadStoreParm it is cached once I open the keystore and the only way to clear it is to reload the applet. Not the best for performance. I tried searching for some general examples but couldn't really find anything to solve my problem. I figured I just ask and see if anyone had some support to offer. Thanks, Harry
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel