smartcard

what is secure box in smart card and what is role?

若如初见. 提交于 2019-12-11 02:34:55
问题 What is secure box in smart card? And any smart card have secure box? What is secure box access control policy? And how do I check the TOE shall explicitly deny access of subjects to objects based on the following additional rules: For S.SBNative Code it shall not be possible to perform OP.SB_ACCESS to O.NON_SB_CONTENT OP.SB_ACCESS : Any read, write or execution access to a memory area S.SBNative : Is the native code library residing in the Secure Box O.NON_SB_CONTENT : Any code and data

Checking for the accessibility of Smart Card Private Keys in Windows 10

天涯浪子 提交于 2019-12-11 02:20:01
问题 So Windows change the way it handles Smart Cards in Windows 10. I have an application that remembers the last selected certificate the user logged into the web application with. If the smart card was inserted, we'd give the user the X509Certificate2UI.SelectFromCollection With a collection built from scanning the personal stores for certs with the private key's value of CspKeyContainerInfo.Accessible was true. While technically, everything still works, whenever Windows 10 attempts to see if

eVRC smart cards

不想你离开。 提交于 2019-12-11 01:36:13
问题 Does anyone have experience with reading eVRC (Electronic Vehicle Eegistration Cards), and APD U commands in JAVA? Any example will be useful. Thanks in advance. 回答1: I would strongly suggest you would go with the javax.smartcardio libraries. Note that there are some availability issues, such as for 64 bit and access conditions for 32 bits in the later Java runtime environments. That said, the APDU and CardTerminal interface is pretty neat compared to many other API's dealing with APDU's.

Do we need root certificate installed on the machine always?

旧巷老猫 提交于 2019-12-11 01:03:51
问题 I am using smart card to authenticate the user. I have a authentication service (SecurityTokenService) which handles the authentication logic on the server. I am using X509Certificate2.Verify() to validate the certificate. Since this API can check if the certificate is valid/revoked by going online and contacting Certification Authority (CA), do I need root certificate on the server? Can we avoid having root certificate on our local computer? Or root certificate is always mandatory? 回答1: I

authentication error for mifare card “6982:Security status not satisfied”

天涯浪子 提交于 2019-12-10 21:35:36
问题 I have pc/sc reader and Contactless card(mifare card), I can connect to the card and also I execute getdate command successfully, but when I want to authenticate I see this error "6982:Security status not satisfied" I've tried these 3 different commands for authentication but I get the same error for all of them. FF 88 00 00 06 FF FF FF FF FF FF FF 88 00 00 60 12 FF 88 00 00 05 01 00 12 60 00 how can I fix this error?what is my mistake? 回答1: I've find the answer ,I used this command and it

How to get SAK to Identify smart card type using JAVA?

笑着哭i 提交于 2019-12-10 20:10:18
问题 I am using Java Smart Card API to access. I have NXP Mifare desfire 4K , 1K , Ultra light smart cards with me & trying to find out its type programically in JAVA. I referred to document AN10833 from NXP site (http://www.nxp.com/documents/application_note/AN10833.pdf). I have following queries related: How to get SAK using JAVA? what is APDU to execute REQA command? 回答1: Find out the ATR of the card and ATR contain the the information of card type. Here I am uploading image See the structure

Smartcard reader ACR122U has no unique serial number

浪子不回头ぞ 提交于 2019-12-10 18:34:00
问题 I am using the PCSC driver and the javax.smartcardio library as the wrapper to the driver. I have 3 ACR122U devices plugged into a Linux (debian) system. I have ran udevadm info on the devices and they all have a serial number of 0. I need to identify which reader is which in my class. I can check which topological usb port is used by parsing the /sys/devices folder but I still cant "select" a device in the Java api. Does anyone know a way to modify the PCSC device stack order or something.

How to make php application to require smart card authentication

限于喜欢 提交于 2019-12-10 14:55:11
问题 I can make browser to force authentication with smart card eg ID-card when php file is protected with SSLVerifyClient in apache conf. Now i need to display index.php usually without requiring smart card authentication and sometimes this same page must get user authenticated. doStuff(); if ($needed==1) authenticateUser(); doMoreStuff(); What must authenticateUser() contain so that calling it causes browser to ask smart card pin code? 回答1: You're mixing the things a tiny bit. authenticateUser()

remove and insert smartcard using sunpkcs#11 and tomcat

做~自己de王妃 提交于 2019-12-10 13:46:05
问题 I have a web application running on Tomcat . My application uses a web service which signs (via smartcard ) and sends email. The web service itself adds the sunpkcs#11 provider automatically during the first call and before sending email, then can sign in and send emails if smartcard is not removed and inserted. If removed and inserted, in order to send email I must restart the tomcat server or it will give several errors depending on my code: result= api.signAndSend(to, cc, bcc, subject,

Read Large data from Smart card With Error tag was lost

断了今生、忘了曾经 提交于 2019-12-10 12:23:43
问题 I want to Read/write large data in smart card via nfc in Android App. according link Send more than 261 bytes to Java Card with Android NFC I can write large apdu block by block. but when I want to read large data I have problem: I wrote this code for read large data in android app public byte[] ReadCertificate(int keyindex) { byte ReadCertAPDU[]=new byte[5]; byte Read_Cert_CLA = AppletCLA; byte Read_Cert_INS = (byte)0x26; byte Read_Cert_P1 = (byte)0x00; byte Read_Cert_P2 = (byte)keyindex;