diff options
author | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-01-17 11:50:08 +0000 |
---|---|---|
committer | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-01-17 11:50:08 +0000 |
commit | 5b84f917310477b035a51f6a2e466504359ac48e (patch) | |
tree | 0199e076f2673e66065f0f11449ad46885e9f2b7 /smcc/src/main | |
parent | 050d499f8136d711a2fb4856adc3083c61b5b12f (diff) | |
download | mocca-5b84f917310477b035a51f6a2e466504359ac48e.tar.gz mocca-5b84f917310477b035a51f6a2e466504359ac48e.tar.bz2 mocca-5b84f917310477b035a51f6a2e466504359ac48e.zip |
Added ATR of Master Card (MCA).
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@574 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/main')
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java | 18 |
1 files changed, 17 insertions, 1 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 54abf913..9165a7d8 100644 --- a/smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java +++ b/smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java @@ -188,7 +188,7 @@ public class SignatureCardFactory { }, "at.gv.egiz.smcc.STARCOSCard")); - // a-sign premium + // a-sign premium (EPA) supportedCards.add(new SupportedCard( // ATR (3b:bf:11:00:81:31:fe:45:45:50:41:00:00:00:00:00:00:00:00:00:00:00:00:00) new byte[] { @@ -204,6 +204,22 @@ public class SignatureCardFactory { }, "at.gv.egiz.smcc.ACOSCard")); + // a-sign premium (MCA) + supportedCards.add(new SupportedCard( + // ATR (3b:bf:11:00:81:31:fe:45:45:50:41:00:00:00:00:00:00:00:00:00:00:00:00:00) + new byte[] { + (byte) 0x3b, (byte) 0xbf, (byte) 0x11, (byte) 0x00, (byte) 0x81, (byte) 0x31, (byte) 0xfe, (byte) 0x45, + (byte) 0x4D, (byte) 0x43, (byte) 0x41, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, + (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 + }, + // mask (ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:00:00:00:00:00:00:00:00:00:00:00:00:00) + new byte[] { + (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, + (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, + (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 + }, + "at.gv.egiz.smcc.ACOSCard")); + // BELPIC supportedCards.add(new SupportedCard( // ATR (3b:98:13:40:0A:A5:03:01:01:01:AD:13:11) |