简体   繁体   中英

retrieval of security token upon swipe of CAC card using Java

I am using SCR3310 card reader in Ubuntu, and I have installed the necessary drivers for the smart card reader and it works fine. I have installed pscs_tools to check whether the card/card reader works fine.

I have downloaded few public DoD certificates (.cac) online which consists of the Root CA Certificate and other intermediate certificates.

I have been reading through X.509 certificates, but not sure how to retrieve the X.509 certificate from the above setup. I would also like to know how to authenticate the person using PKI (in Java) and retrieve the unique identifier/security token from the CAC card using the above setup.

Thanks, Ron

You should use PKCS11 provider to access the smart card. The guide for SUN is:
p11 guide
Also check out this post cac auth java

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM