pkcs11

Using a hardware token for login

I am new to the topic of cryptography and am studying PKI and PKCS etc. I understand the basic concept of PKI and how it is used for encryption/decryption. I am confused however about how a hardware token like a USB token or a smartcard is used for secure login to your computer. Here are steps as I understand them and the part I am confu...

SunPKCS11 glassfish

Hi all, I have a application that running ok over tomcat 6.20, I use in my app a token A3 smart card reader. Everthing looks fine. Now, I want migrate my application to Glassfish v2.1, then, my nightmare begins! Can I use de same code to load the Provider? In Tomcat works good, but not luck with glassfish v2. String configName = "C:\\pk...

How to access a smartcard in Java on Linux?

I'm trying to access a smartcard on a linux system on a VM. The USB device is mapped to the VM and can be listed via lsusb (ID 076b:3021 OmniKey AG CardMan 3121). I can access the smartcard via pkcs11-tool and pkcs15-tool. Also firefox can access the token via the /usr/lib/opensc-pkcs11.so library. But when I try to access the smartcar...