smartcard

Are there any Android phones which support extended APDUs?

我只是一个虾纸丫 提交于 2019-12-09 06:28:34
问题 I am developing an Android app which has function to read data from a smart card. By default, NFC Controllers support APDU command with maximum transceive length is 261 bytes in single command. Because of large data need to be read on the card, the speed of reading is very slow. Are there any Android phones which support extended APDUs allow to send more than 261 bytes in single APDU ? Or are there any ways to modify the maximum transceive length by calling Android API to allow to do that? I

How to write smart card with pyscard

拥有回忆 提交于 2019-12-09 00:27:51
问题 I'm using reader/writer acr38f and my smart card is SLE4418. How do I read and write text to my smart card? For example: Hello World! apdu = [0XFF, 0X20,0x00,0x00,0x02, 0x00, 0x00] response, sw1, sw2 = cardservice.connection.transmit( apdu ) apdu = [0XFF,0xA4,0x00,0x00,0x01,0x05] response, sw1, sw2 = cardservice.connection.transmit( apdu ) apdu = [0XFF,0XB2,0X00,0xA7,0X09] response, sw1, sw2 = cardservice.connection.transmit( apdu ) print response apdu = [0XFF, 0XD0,0x00,0xA7,0x09,0xA7,0x02

Using SAM modules for storing secure keys

旧街凉风 提交于 2019-12-08 15:29:23
问题 As i understand SAM modules are kind of SMART Cards which connect to the MCU via ISO 7816 protocol. Is there any other application for them except storing secure keys? Can I used usual mobile sim-cards instead of SAM module to storing keys? As i know when we store keys in the SAM module ,it is almost impossible to retrieve the keys, & SAM used a sequence of random challenge & polyphase authentication to verify the card.Then how SAM send this verification to MCU?is there direct access between

Smartcard reader naming: when removing any reader, the name of the rest changes

我只是一个虾纸丫 提交于 2019-12-08 14:37:42
问题 I am writting a smartcard application. This application connects card in reader and sometimes works with it. I need to watch when reader is no longer available (either card is ejected or reader is removed from USB). Readers are watched using SCardStatusChange. This function requires reader name to watch. I insert two readers with cards into USB slots. They are recognized as "USB Smart Card Reader 0" and "USB Smart Card Reader 1". I remove one reader. Windows says, "USB Smart Card Reader 1" is

smartcard probing with different SC families : command to clean the SC state

╄→гoц情女王★ 提交于 2019-12-08 14:00:24
问题 I wish to read some basic info from a bunch of smartcard from different vendors, different usage, different APDUs. For example : national identification smartcard, EMV (payment), cellphone SIM, javacard, etc ... I wrote a Java application. Let me call the SC families A B C D E and with the same names the 5 subroutines, each one with the correct APDUs to read the basic info for one specific family of SC. Unfortunately the order I issue the routines biases the successful results. Example : with

reading multiple cards/tags using smartcard.rb on ACR122U

点点圈 提交于 2019-12-08 12:15:56
问题 I am using the smartcard ruby gem to read nfc cards on an ACR122U nfc reader. I understand the ACR122U can in principle read multiple tags, but it's by default using an "anti-collision" algorithm to only come back with one. Any ideas how to read multiple cards in the reader using the smartcard gem? 回答1: This might be a misunderstanding. You communicate always with one tag only, there is no possibility for a broadcast. Anticollision is the process, to select the the correct one of several tags

Can I access a Prox card from within a web page?

醉酒当歌 提交于 2019-12-08 11:06:38
问题 I have an internal web based utility that we use to keep track of employee training. Currently, in order to indicate that training has been completed, the employee being trained has to input their employee number and a PIN. Then, the person conducting the training has to do the same. This utility runs on dedicated touch screen computers that run Chrome in kiosk mode. Everybody in the company already carries a Prox Card. I also have a 5025CL reader. Getting the information about which employee

Smart Card Removal policy is not enforced when performing SSO using Custom Credential Provider

泄露秘密 提交于 2019-12-08 09:12:01
问题 I have created a EFI Pre-Boot Application were in I enter the user credentials which are passed to windows to logon (Single Sign On) using my credential provider. I have a Group policy "Interactive logon: Smart card removal behavior" set to "Lock Workstation: The workstation is locked when the smart card is removed, allowing users to leave the area, take their smart card with them, and still maintain a protected session." So if I reboot the machine and use login using my credential provider,

Why I can't receive APDU buffer contents?

笑着哭i 提交于 2019-12-08 07:42:49
问题 I wrote the following program to return all the APDU buffer contents on reception of each APDU command: package testPack; import javacard.framework.APDU; import javacard.framework.Applet; import javacard.framework.ISOException; public class BufferReturner extends Applet { private BufferReturner() { } public static void install(byte bArray[], short bOffset, byte bLength) throws ISOException { new BufferReturner().register(); } public void process(APDU arg0) throws ISOException { if

How do I sign a PDF with a Smart Card in a web context using iText?

家住魔仙堡 提交于 2019-12-08 07:39:09
问题 Read through the following references: iText Digital signature white paper, and C# examples. (specifically chapter 4) For those interested, another great and concise summary of the PDF signing process. CAPICOM documentation. Online examples / questions here and on iText mailing list archives, such as here and here. Hashing code: BouncyCastle.X509Certificate[] chain = Utils.GetSignerCertChain(); reader = Utils.GetReader(); MemoryStream stream = new MemoryStream(); using (var stamper =