Hi all,
I am using a smart card reader to store keys for encryption/decryption. My application is running in tomcat and it is working fine. But each time I access the keys sotred in the smartcard, I have to restart the Tomcat service, otherwise it is showing a Provider exception. Can anybody tell me how I can find an alternative way to solve this problem as I can't ask the users of my software to restart the service manually.
The exception which I get is,
java.security.InvalidKeyException:No installed provider supports this key PKCS11$PKCS11 .......
With regards,
Meera.
I am using a smart card reader to store keys for encryption/decryption. My application is running in tomcat and it is working fine. But each time I access the keys sotred in the smartcard, I have to restart the Tomcat service, otherwise it is showing a Provider exception. Can anybody tell me how I can find an alternative way to solve this problem as I can't ask the users of my software to restart the service manually.
The exception which I get is,
java.security.InvalidKeyException:No installed provider supports this key PKCS11$PKCS11 .......
With regards,
Meera.