smartcard

Stop Screensaver programmatically

不问归期 提交于 2019-12-06 05:57:26
How can I stop the screensaver while it's running? without moving the mouse or pressing a key on the keyboard. My applications input is from a card reader, if the screen saver is running my application is still working fine but the screen saver doesn't stop when an input is received on the card reader. I've tried this http://www.codeproject.com/Articles/17067/Controlling-The-Screen-Saver-With-C , doesn't seem to work for me. I tried faking a mouse movement like on this thread How do I turn off the windows screen saver if it is running using C#? and as mentioned in the thread, it doesn't seem

PCSC.InvalidContextException when running as a Windows service

戏子无情 提交于 2019-12-05 20:10:38
I've been working on a small smart card scanner application using the pcsc-sharp library. The application works fine when running as a console application, the code is as follows: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using System.IO; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Text; using System.Drawing.Printing; using System.Net; using System.Net.Sockets; using System.Data.SqlClient; using System.Threading; using System.IO.Ports; using System.Text.RegularExpressions; using System.Speech

Sending Extended APDU to Javacard

谁说胖子不能爱 提交于 2019-12-05 18:23:43
I have a ACR38 samrt-card-reader and a number of Javacard [2.1.1] compliant with GP Spec [02]. As I know, there is two kind of APDU, Short-APDU [APDU with LC or/and LE shorter than 255 ] and Extended-APDU [APDU with LC or/and LE greater than 255 ]. is that right? We send Short-APDU in T=0 protocol and send Extended-APDU in T=1 protocol. is that right? I sent Short-APDU to my card successfully. [via GPJ , GPShell , OpenSC-Tool ]. And now, I want to know: 1: if I want to use Extended APDU, my card must support it? or my Reader must support it? or both!? or all the cards and all the readers

EMV Tag 91 Issuer Authentication Data - How to Determine Format of Tag in Response

心不动则不痛 提交于 2019-12-05 18:06:47
If present, EMV Tag 91 Issuer Authentication Data can have several different formats when returned in a transaction response. From my (limited) understanding, this may be determined by the card brand. For example MasterCard Tag 91 includes Card Status Update as part of Tag 91 data Visa Tag 91 includes the Authorization Response Code as the last two bytes of Tag 91 data. I need to solve a problem where Tag 8A Authorization Response Data is not returned as part of the EMV tag data in the case of a non approval response. The payment platform has advised to take the last 2 bytes of tag 91 and

Integrating POS application with VeriFone terminal [closed]

北城以北 提交于 2019-12-05 14:54:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 months ago . Currently I'm working in a team creating a custom POS solution. We came to a point were we'd like to integrate with a IC/Credit Card terminal (like VeriFone which we have, i.e. Vx510). I think the simplest mode is to allow Cashier to manually enter into the terminal the amount a client has to pay. In more

PGP data encryption for use with Yubico OpenPGP Smart Card

徘徊边缘 提交于 2019-12-05 14:27:31
问题 I'm trying to implement PGP encryption based on Yubikey NEO OpenPGP Smart Card applet in a Java application. It seems to be a dark art and is not easy to google this stuff but here is where I got so far: The card is initialized, keys are generated using gpg tool. It generally works. I have my public key in .asc format and managed to load it into org.bouncycastle.openpgp Connect to the smart card in the USB dongle using javax.smartcardio APIs. Select the OpenPGP applet val pgpAID = bytes(0xD2,

Java concurrency pattern for external shared resource (smartcards)

谁说我不能喝 提交于 2019-12-05 10:26:04
问题 I have a web server service where clients request a smartcard computation and get their result. Available smartcard number can decrease or increase during the server uptime, for example I can add or remove physically the smartcard from the reader (or many other events... like exception and so on). A smartcard computation can take a while, so I have to optimize these jobs to use all available smartcards if there are concurrent requests to the web server. I thought to work with a smartcard

What is the meaning of 6E 00 when I send a command to a SmartCard

て烟熏妆下的殇ゞ 提交于 2019-12-05 09:27:41
I try to access a SmartCard via C++. I got already the Connection and the CardHandle. But when I send an APDU Command via SCardTransmit, i'll get 6E 00 as the answer from the card. No matter which APDU Command i send. Everytime 6E 00. For Example: FF CA FA 00 00 (Card's ATR - Answer To Reset) or FF CA FF 82 00 (Product name in ASCII) The same thing when i send the Command with an PC/SC Testtootl like "PC/SC Diag". Has anybody an Idea what the meaning of this Error-Code and how to solve the problem? Please help me !!!! ;-) According to ISO 7816-4 0x6E00 means "Class not supported". Are you

Overwriting OffHostApduService to route APDU to SIM Card

隐身守侯 提交于 2019-12-05 08:08:05
问题 I'm working on a project to emulate a transport card on an Android phone, I've read through the Android Kitkat documentation and found that in order to emulate a card with a secure element I need to inherit from OffHostApduService. How ever after spending a lot of time on Google I couldn't find what to write on the onBind function to redirect APDU from the other NFC device to my mobile device SIM card. The card is NFC A & B compatible does it means I can send commands to it using the NfcA or

How to Access Remote USB Smartcard during RDP

允我心安 提交于 2019-12-05 06:10:49
问题 [My set up] RDP Client (Win7) ------------------RDP------------------------> Remote Server (Win2k8R2) with SmartCard I've found countless answers that would suggest this is not possible. Alot of answers indicate that RDP was designed this way for security. The smartcards are locked which do not allow the device to be seen when connecting remotely with Remote desktop connection (RDP). However I've found a useful link which appears to work for some but not all. http://lifayk.blogspot.co.uk/2012