smartcard

java keytool with opensc pkcs#11 provider only works with debug option enabled

别等时光非礼了梦想. 提交于 2019-11-26 16:11:43
问题 I have the latest opensc 0.12.2 running on ubuntu 11.10 with OpenJDK ( java version "1.6.0_22") I can read my smartcard (a Feitian ePass PKI) with pkcs15-tool --dump Now i try to use my smartcard with keytool: keytool -providerClass sun.security.pkcs11.SunPKCS11 \ -providerArg /etc/opensc/opensc-java.cfg \ -keystore NONE -storetype PKCS11 -list which results in an error: keytool error: java.security.KeyStoreException: PKCS11 not found java.security.KeyStoreException: PKCS11 not found at java

Common Access Card (CAC) Authentication Using Java

亡梦爱人 提交于 2019-11-26 12:11:32
问题 I\'m bascially looking for someplace to start learning how to interface with a government CAC card using java. Ultimately, my goal is to find out how to use CAC card authentication (by PIN number) to authorize access to a website hosted using a Tomcat/J2EE server. But I\'ll need somewhere to start. So I figure I\'d start by writing a small java program to simply read the CAC card information from the CAC card which is inserted into a card reader on my keyboard (DELL keyboard with CAC reader

Architectures to access Smart Card from a generic browser? Or: How to bridge the gap from browser to PC/SC stack?

最后都变了- 提交于 2019-11-26 07:58:47
问题 What are the possible client-side architectures to access a local Smart Card from a generic browser (connected to a server through http(s)), preferably from Javascript, with the minimum installation hassle for the end user? The server needs to be able to at least issue APDUs of its choice to the card (or perhaps delegate some of that to client-side code that it generates). I am assuming availability on the client side of a working PC/SC stack, complete with Smart Card reader. That\'s a

User Authentication from Browser using Digital Signature Certificate on USB Token or Smart Card

删除回忆录丶 提交于 2019-11-26 07:47:43
问题 I would like to know JavaScript code for user authentication from browser with digital signature on client’s USB Token or Smart Card. But I don’t understand how to digitally sign login request, say authtoken, or UserID and Passwrd from browser using USB Token. I need a popup on browser to select certificate form USB Token. My user have USB tokens of various makes and respective driver installed on their PC. I need a solution where user don\'t have to select tokken driver. 回答1: Methods like