diff options
author | bschnalzer <bianca.schnalzer@egiz.gv.at> | 2017-04-18 10:22:13 +0200 |
---|---|---|
committer | bschnalzer <bianca.schnalzer@egiz.gv.at> | 2017-04-18 10:22:13 +0200 |
commit | 4b4f234eab385ef22a0355c3027314d772dede03 (patch) | |
tree | 3599d566f5eb14cbc410299b844df23e22b6bd71 /smcc | |
parent | d33997d5be590f0b6b066f25524697bbee101eed (diff) | |
download | mocca-4b4f234eab385ef22a0355c3027314d772dede03.tar.gz mocca-4b4f234eab385ef22a0355c3027314d772dede03.tar.bz2 mocca-4b4f234eab385ef22a0355c3027314d772dede03.zip |
Update SignatureCardFactory
Diffstat (limited to 'smcc')
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java | 21 |
1 files changed, 21 insertions, 0 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 d2d70c05..921b66c2 100644 --- a/smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java +++ b/smcc/src/main/java/at/gv/egiz/smcc/SignatureCardFactory.java @@ -317,6 +317,27 @@ public class SignatureCardFactory { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "at.gv.egiz.smcc.STARCOSCard")); + // a-sign premium (cardos 5.3) + supportedCards.add(new SupportedCard( + // ATR + // (3b:df:18:00:81:31:fe:58:80:31:90:52:41:01:64:05:c9:03:ac:73:b7:b1:d4:44) + new byte[] { (byte) 0x3b, (byte) 0xdf, (byte) 0x18, + (byte) 0x00, (byte) 0x81, (byte) 0x31, (byte) 0xfe, + (byte) 0x58, (byte) 0x80, (byte) 0x31, (byte) 0x90, + (byte) 0x52, (byte) 0x41, (byte) 0x01, (byte) 0x64, + (byte) 0x05, (byte) 0xc9, (byte) 0x03, (byte) 0xac, + (byte) 0x73, (byte) 0xb7, (byte) 0xb1, (byte) 0xd4, + (byte) 0x44 }, + // 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.STARCOSCard")); + // a-sign premium (EPA) supportedCards.add(new SupportedCard( // ATR |