java - Read smart card information without PIN? -


i have java app can read certificates smart cards , use them log in user. app can track failed login attempts using other login methods (user name , password).

i want know if possible read user information smart card without pin? mark failed pin entry failed login attempt, because need pin read alias certificate, can't know user attempting login. there anyway read information without pin in java?

i tried loading keystore object based on suggestion thread: getting certificates pkcs11 smartcard without pin/password have no luck. don't know if possible.

i can seen information activclient agent without entering pin, don't know if java can somehow retrieve this. how loading keystore:

keystore keytest = keystore.getinstance("pkcs11",pkcs11provider); keytest.load(null,null); 

the above still asks pin though have not specified callback handler. pkcs11provider cfg containing activclient dll. load keystore using pin callback handler.

after investigation, depends heavily on type of card using , pkcs11 library use. there no 1 answer fits all.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -