smartcard

Smart Card Get Response Returns Status 6D00

荒凉一梦 提交于 2019-12-24 17:44:11
问题 I am developing a C++ application (on Windows 7) which interfaces with PC/SC card readers to perform some authentication operations. This application is the child process of another application (I don't know if that's relevant, but it might be). I also have a simple standalone test application which performs all the interactions with the smart card that I need and does so successfully. However I have run into some odd behavior when integrating the code from this utility into my main

Java Smart Card - Reading Scosta Smart Card

被刻印的时光 ゝ 提交于 2019-12-24 11:09:31
问题 I am trying to read Indian Governments Standard 'Scosta' smart card through java smartcardio the code I am using is package com.example.smartcardreader; import java.util.List; import javax.smartcardio.ATR; import javax.smartcardio.Card; import javax.smartcardio.CardChannel; import javax.smartcardio.CardException; import javax.smartcardio.CardTerminal; import javax.smartcardio.CommandAPDU; import javax.smartcardio.ResponseAPDU; import javax.smartcardio.TerminalFactory; public class

PC/SC Functions for Digital Signature

感情迁移 提交于 2019-12-24 11:04:03
问题 I am trying to sign an XML document with the Micrisift API for the smart cards... So far I can list the card readers, connect to the right card and establish the context but after that I am not sure what is next...... What PC/SC Functions Do I need to call to sign a document with a private smartcard key? thanks in advance Javier 回答1: If you have a middleware installed you can use the Windows CAPI for cryptographic functions. Some middlewares also ship a PKCS#11 library you can use. If you don

Reading phantom NFC tags via javax.smartcardio

十年热恋 提交于 2019-12-24 08:39:20
问题 I have an an old NFC reader for the tikitag web service (which was later renamed touchatag, and finally abandoned around 2012). Since the website is no longer available, I could no longer find the original tikitag/touchatag drivers. After some searching, I found this NFC reader is a generic ACS ACR122U USB reader, and installed a suitable driver from here. My system is Windows 7 (64-bits). First, I tried the NFC Tools library for high-level read and write access to NFC tags. I got an error

How to check that smart card is working on linux?

人走茶凉 提交于 2019-12-24 03:44:13
问题 I've a PKCS-11 supported smartcard? I just want to check that my the smartcard is working fine or not. How can check it on Ubuntu? Please guide me. what software I can use? how what steps should I follow? 回答1: It is important to understand that PKCS#11 standard just defines the C language API to access smartcards and other types of cryptographic hardware (or even software). It is usually hardware vendor who provides software library (.dll for windows, .so for unix etc.) that implements PKCS

Secure Box in JCOP card

痞子三分冷 提交于 2019-12-24 02:21:48
问题 JCOP V2.4.2 Revision 3 Security Target: Page 11-12 A Secure Box concept is implemented within JCOP 2.4.2 R3. The Secure Box is a construct which allows to run non certified third party native code and ensures that this code cannot harm, influence or manipulate the JCOP 2.4.2 R3 operating system or any of the applets executed by the operating system.The separation of the native code in the Secure Box from other code and/or data residing on the hardware is ensured by the Hardware MMU which has

Access certificate and private key from pkcs#11 token or smart-card

允我心安 提交于 2019-12-24 00:57:32
问题 I am making an application, in C#4, that has to sign a XML file. I'd no great problems, until I bumped into this: accessing a smart-card/token to get its certificates and private keys. Nothing really out of the box, just get the certificate and key, based in a password. Does anyone know how to do it without any paid framework? 回答1: The Microsoft Crypto API's support the ability to interact with hardware devices out of the box. This will require that your card have a driver provided by the

Difference between WIN32 and x86 in smart card project

◇◆丶佛笑我妖孽 提交于 2019-12-23 22:51:24
问题 I have smart card related project.In smart card field x86 and win32 has any difference.Because I have to create 32bit application in vc++.So what solution platform,Should I choose in MS visual studio 2008. 回答1: x86 is for Intel/AMD specific code generation, while Win32 is a general 32bit target. My guess is that the smart card reader has an ARM chip-set, so Win32 should be right choice. 来源: https://stackoverflow.com/questions/7709942/difference-between-win32-and-x86-in-smart-card-project

EMV CAPK Selection

梦想与她 提交于 2019-12-23 04:22:13
问题 I'm working with a mobile payment terminal and a testing tool for testing EMV transactions. Part of the setup of the terminal involves loading a number of CAP keys into the terminal for use with different types of cards. I'm curious, how does the terminal go about selecting an appropriate CAP key? Is there any information I could obtain from the APDU logs that would indicate to me which CAP key will be used? The specific problem I'm running into is I have a demo project that is processing

How to work with SCOSTA smart card, create MF, DF, EF and write/read data, …etc?

被刻印的时光 ゝ 提交于 2019-12-23 03:07:09
问题 I am new to world of ISO 7816 smart-card programming, I have good knowledge about contactless programming, I have SCOSTA card and I tried my best to read/write data on it but always it response to me with Error 6986. 回答1: You first need to select a file or indicate a file within the READ BINARY command before you can read data from these kind of cards. You currently get an exception that means that you haven't selected a file yet. Memory cards commonly have a single interface and a default