devnied / EMV-NFC-Paycard-Enrollment

A Java library used to read and extract data from NFC EMV credit cards (Android/PCSC).
Apache License 2.0
1.5k stars 601 forks source link

Create EMV-NFC Paycard #84

Open Landlordway opened 1 year ago

Landlordway commented 1 year ago

sample-pcsc/src/main/java/com/github/devnied/emvpcsccard/EMV-NFC Paycard

Landlordway commented 1 year ago

https://github.com/devnied/EMV-NFC-Paycard-Enrollment/pull/84#issue-1610048429 e8c7b5365d4d20ca8b35651aa82a151b716395cb Mon Sep 17 00:00:00 2001 From: Landlordway 126978865+Landlordway@users.noreply.github.com Date: Sun, 5 Mar 2023 05:12:45 +0100 Subject: [PATCH] Create EMV-NFC Paycard


.../devnied/emvpcsccard/EMV-NFC Paycard | 127 ++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 sample-pcsc/src/main/java/com/github/devnied/emvpcsccard/EMV-NFC Paycard

diff --git a/sample-pcsc/src/main/java/com/github/devnied/emvpcsccard/EMV-NFC Paycard b/sample-pcsc/src/main/java/com/github/devnied/emvpcsccard/EMV-NFC Paycard new file mode 100644 index 0000000..e436e3e --- /dev/null +++ b/sample-pcsc/src/main/java/com/github/devnied/emvpcsccard/EMV-NFC Paycard
@@ -0,0 +1,127 @@ +package com.github.devnied.emvpcsccard; + +import java.nio.ByteBuffer; + +import javax.smartcardio.CardChannel; + +import javax.smartcardio.CardException; + +import org.slf4j.Logger; + +import org.slf4j.LoggerFactory; + +import com.github.devnied.emvnfccard.enums.SwEnum; + +import com.github.devnied.emvnfccard.exception.CommunicationException; + +import com.github.devnied.emvnfccard.parser.IProvider; + +import com.github.devnied.emvnfccard.utils.TlvUtil; + +import fr.devnied.bitlib.BytesUtils; + +public class PcscProvider implements IProvider { +