summaryrefslogtreecommitdiff
path: root/smcc/src/main/java/at
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-10-17 17:20:38 +0200
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-10-17 17:20:43 +0200
commitd74cd77fd3424ab031dc1d567b35ea6678325b2c (patch)
tree9daa81f76a9b9006a9d6b4f9f16f98ef9bc605ea /smcc/src/main/java/at
parent588eb7526b04c4390df11b5c5a6894d2da32b451 (diff)
downloadmocca-d74cd77fd3424ab031dc1d567b35ea6678325b2c.tar.gz
mocca-d74cd77fd3424ab031dc1d567b35ea6678325b2c.tar.bz2
mocca-d74cd77fd3424ab031dc1d567b35ea6678325b2c.zip
Change ATR according to spec
http://www.id.ee/public/TB-SPEC-EstEID-Chip-App-v3.4.pdf
Diffstat (limited to 'smcc/src/main/java/at')
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java b/smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java
index 21e20fb6..550c961a 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java
@@ -750,13 +750,13 @@ public class SignatureCardFactory {
supportedCards.add(new SupportedCard(
// EstEID v3.0 and v3.4 - Warm ATR
- // (3B:FE:18:00:00:80:31:FE:45:80:31:80:66:40:90:A4:16:2A:00:83:01:90:00:EF)
+ // (3B:FE:18:00:00:80:31:FE:45:80:31:80:66:40:90:A4:16:2A:00:83:0F:90:00:EF)
new byte[] { (byte) 0x3b, (byte) 0xfe, (byte) 0x18,
(byte) 0x00, (byte) 0x00, (byte) 0x80, (byte) 0x31,
(byte) 0xfe, (byte) 0x45, (byte) 0x80, (byte) 0x31,
(byte) 0x80, (byte) 0x66, (byte) 0x40, (byte) 0x90,
(byte) 0xA4, (byte) 0x16, (byte) 0x2A, (byte) 0x00,
- (byte) 0x83, (byte) 0x01, (byte) 0x90, (byte) 0x00,
+ (byte) 0x83, (byte) 0x0F, (byte) 0x90, (byte) 0x00,
(byte) 0xEF },
// historical bytes pattern
new byte[] { (byte) 0x80, (byte) 0x31,