diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-10-02 10:26:43 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-10-02 10:26:43 +0000 |
commit | 4f1d3a5341e8ca6d67fef79650ad9914d21619ae (patch) | |
tree | 68685d936072ca0eafbb01d08a6ec489765732df | |
parent | 3ab32f61c2cf425aef94dd1974937a6a9bc58e1d (diff) | |
download | mocca-4f1d3a5341e8ca6d67fef79650ad9914d21619ae.tar.gz mocca-4f1d3a5341e8ca6d67fef79650ad9914d21619ae.tar.bz2 mocca-4f1d3a5341e8ca6d67fef79650ad9914d21619ae.zip |
[#477] Activate PIN fails
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@517 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java | 2 | ||||
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/ccid/ReaderFactory.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java b/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java index 2e6dd5d6..a0c2391d 100644 --- a/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java +++ b/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java @@ -596,7 +596,7 @@ public class STARCOSCard extends AbstractSignatureCard implements PINMgmtSignatu NewReferenceDataAPDUSpec apduSpec = new NewReferenceDataAPDUSpec( new byte[] { - (byte) 0x00, (byte) 0x20, (byte) 0x01, pinSpec.getKID(), (byte) 0x08, + (byte) 0x00, (byte) 0x24, (byte) 0x01, pinSpec.getKID(), (byte) 0x08, (byte) 0x20, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff }, 1, VerifyAPDUSpec.PIN_FORMAT_BCD, 7, 4, 4); 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 32a9ce9f..43949f42 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 @@ -67,7 +67,7 @@ public class ReaderFactory { reader = new GemplusGemPCPinpad(icc, ct); } else if (name.startsWith("omnikey cardman 3621")) { reader = new OMNIKEYCardMan3621(icc, ct); - } else if (name.startsWith("scm microsystems inc. sprx32 usb smart card reader")) { + } else if (name.startsWith("scm spr 532") || name.startsWith("scm microsystems inc. sprx32 usb smart card reader")) { reader = new SCMMicrosystemsSPRx32(icc, ct); } else if (name.startsWith("cherry smartboard xx44")) { reader = new CherrySmartBoardXX44(icc, ct); |