The previous post was about how a smartcard – or any other token – can be accessed from java. But this requires a configuration that is fed into the PKCS#11 API. On changing environments, hardcoding this configuration is most-likely a bad idea, especially for the slot ID. Continue reading Dynamically Creating a PKCS#11 Configuration
Tag: security
Accessing SmartCard Certificates using PKCS#11
Many large corporations require two-factor authentications for their internal applications. This usually starts with the login to the office computer, e.g. using smartcards (or other tokens). In order to reasonably protect applications as well, they need to integrate the smartcard authentication. The following sample shows how to access the certificates located on the inserted smartcard using PKCS#11. Continue reading Accessing SmartCard Certificates using PKCS#11