smartcard

Do smart-card readers support all smart-cards models?

馋奶兔 提交于 2019-12-13 17:40:31
问题 Do smart-cards require a different kind of reader depending on the model or do all readers support all kinds of smart-cards? Assuming I have a specific card model in mind, how do I find out what kind of reader I need? 回答1: Depends on the chip used, have a look at: Smart Card Readers and Terminals ISO/IEC 7816 Standard 回答2: The main difference with contact cards is synchronous memory cards vs asynchronous microprocessor cards. Most "interesting" smart cards are asynchronous microprocessor

is it possible to return some data along with the status word 9000 on selecting an applet in javacard?

情到浓时终转凉″ 提交于 2019-12-13 14:34:47
问题 i was wondering if i could send back some data from the javacard applet when it is selected. since select() method returns a boolean value i don't know how to return data bytes from it. can anyone help me with this? i want the applet to return a simple byte array along with the status word 9000 (which is default for success), when i send the select command to the card. ie, when i send the following command 00A4040006010203040506 i want a response like, 010203049000 (first four bytes are the

Writing a text file to smart card c#

孤街浪徒 提交于 2019-12-13 09:14:24
问题 What I want to do is write a text file to a smart card and read it. WindSCard is the dll to be used but but it's functions are very cryptic. Is there any FREE wrapper available over it and is there any tutorial that does what I want to do. 回答1: What card do you use Are you sure you can write to the card? Do you have the APDU manual for the card? After you find a basic example of SCard* you need to know the right APDU-s to send to the card with SCardTransmit 来源: https://stackoverflow.com

Unable to compile a c application that reads smartcard

好久不见. 提交于 2019-12-13 07:52:30
问题 I am trying to compile an example c application that is using pkcs#11 to finds all the private keys on the token, and print their label and id, but getting following errors /tmp/ccAqQ7UI.o: In function initialize': pkcs11_example1.c:(.text+0x8e5): undefined reference to C_Initialize' /tmp/ccAqQ7UI.o: In function `get_slot': The example is taken from here compilling by using following command; `gcc pkcs11_example1.c -o slots -L /usr/lib/opensc-pkcs11.so` I am not sure which library i should

Get Sharepoint user details for currently logged in user? (SOAP API)

醉酒当歌 提交于 2019-12-13 05:52:33
问题 Is there a way to get the results of UserGroup.GetUserInfo but without having to specify the user I'm querying for, such as with UserGroup.GetRolesAndPermissionsForCurrentUser ? In particular, I'm trying to get the User ID (so that I can tell if a Document is checked out to the currently logged in user, or not). Unfortunately, I am using a SmartCard to provide credentials -- there is no username or password entered for the actual document library -- So I can't use domain\username for

Emulate Mifare smart card on NFC device (with NXP chip)

半城伤御伤魂 提交于 2019-12-13 05:19:34
问题 I'm struggling to find out how to emulate a Mifare smart card on an Android NFC device with NXP chip. Is it possible? At http://www.mifare.net/en/micommunity/qa/ question number 4, they say there are ways to do it. Does anyone know how, in more detail? I've been trying to ask them without any answer. And do you know whether devices using the NXP chip normally are equipped with an embedded secure element (eSE) with Mifare capabilities and where I can find info about it? 回答1: You can't emulate

Load a smart card or other private certificate in CryptoServiceProvider for signature

邮差的信 提交于 2019-12-13 01:17:31
问题 I'm trying to develop a simple C# signature API to be used by a web intranet procedure. This signature API must allow a subject connected to the web application to use his certificate (on a smart card or on a USB stick) to sign a document (a PDF file). When I try to initialize an RSACryptoServiceProvider as suggested here: http://msdn.microsoft.com/en-us/library/ms229931.aspx: // Create a new CspParameters object that identifies a // Smart Card CryptoGraphic Provider. // The 1st parameter

User login with Smart Card for Windows UWP app

最后都变了- 提交于 2019-12-12 17:20:04
问题 This seems like such a simple thing but I have been trying to figure this out for over a week now and cannot seem to figure it out. We are creating a Windows UWP app using WinJS and would like the user to login to the app with a PIV (smart card)/PIN combination. Essentially, when the app starts it will verify that there is a smart card inserted into the device and then prompt the user for the PIN. If the PIN is validated against the smart card the app will log the user in. We do have Windows

Mark Javacard applet as implicit selectable (default applet) after install

£可爱£侵袭症+ 提交于 2019-12-12 15:11:21
问题 I'm looking for a way to mark an applet as the implicit selectable/"selected by default" applet after it already has been uploaded and installed on a Global Platform/JCOP 2.4.2 R1 system (for starters in the NXP JCOP Tools Java Card Simulation). The applet has been installed without the -d parameter in the JCOP shell: cm> install -i a000100201100001 -q C9#() a000100201100000 a000100201100001 => 80 E6 [...] 90 00 after that the state is Card Manager AID : A000000003000000 Card Manager state :

Can't use winscard.h in a UWP app due to WINAPI_PARTITION_DESKTOP blocks

一笑奈何 提交于 2019-12-12 14:32:45
问题 I'm developing in C++ a Universal Windows Platform app. I have a working project in C++ which can communicate with smart cards. For this communication it uses the winscard.h library. I'd like to use in the UWP app this functions provided by the winscard.h , but I can't compile it in the UWP. After some research I found that in this header file there is a condition: #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) So this is the reason the compiler doesn't found the methods. Going forward