diff options
Diffstat (limited to 'smcc/src/main/java')
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/ccid/DefaultReader.java | 12 | ||||
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/ccid/ReaderFactory.java | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/ccid/DefaultReader.java b/smcc/src/main/java/at/gv/egiz/smcc/ccid/DefaultReader.java index 682390e3..2004db45 100644 --- a/smcc/src/main/java/at/gv/egiz/smcc/ccid/DefaultReader.java +++ b/smcc/src/main/java/at/gv/egiz/smcc/ccid/DefaultReader.java @@ -467,8 +467,8 @@ public class DefaultReader implements CCID { s.write(getbEntryValidationCondition()); // bNumberMessage s.write(0x02); - // wLangId - s.write(0x0C); + // wLangId English (United States), see http://www.usb.org/developers/docs/USB_LANGIDs.pdf + s.write(0x09); s.write(0x04); // bMsgIndex1 s.write(0x01); @@ -530,8 +530,8 @@ public class DefaultReader implements CCID { s.write(getbEntryValidationCondition()); // bNumberMessage s.write(0x03); - // wLangId - s.write(0x0C); + // wLangId English (United States), see http://www.usb.org/developers/docs/USB_LANGIDs.pdf + s.write(0x09); s.write(0x04); // bMsgIndex1 s.write(0x00); @@ -586,9 +586,9 @@ public class DefaultReader implements CCID { // bEntryValidationCondition s.write(getbEntryValidationCondition()); // bNumberMessage - s.write(0xFF); + s.write(0x01); // wLangId - s.write(0x0C); + s.write(0x09); s.write(0x04); // bMsgIndex s.write(0x00); diff --git a/smcc/src/main/java/at/gv/egiz/smcc/ccid/ReaderFactory.java b/smcc/src/main/java/at/gv/egiz/smcc/ccid/ReaderFactory.java index 5b94de05..e0625a53 100644 --- a/smcc/src/main/java/at/gv/egiz/smcc/ccid/ReaderFactory.java +++ b/smcc/src/main/java/at/gv/egiz/smcc/ccid/ReaderFactory.java @@ -62,7 +62,7 @@ public class ReaderFactory { //old: REINER SCT CyberJack 00 00 //new (CCID): 0C4B/0300 Reiner-SCT cyberJack pinpad(a) 00 00 //display: REINER SCT CyberJack 00 00 - if(name.startsWith("gemplus gempc pinpad")) { + if(name.startsWith("gemplus gempc pinpad") || name.startsWith("gemalto gempc pinpad")) { reader = new GemplusGemPCPinpad(icc, ct); } else if (name.startsWith("omnikey cardman 3621")) { reader = new OMNIKEYCardMan3621(icc, ct); |