diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2011-08-12 14:09:00 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2011-08-12 14:09:00 +0000 |
commit | 3670fc616e1822162719ec02ac5108301b86bca8 (patch) | |
tree | c3055f0023ff80134ce210463421cb7d243390f8 /smcc/src/main/java | |
parent | c3f7a5961084635939762089e2c351deccf9f125 (diff) | |
download | mocca-3670fc616e1822162719ec02ac5108301b86bca8.tar.gz mocca-3670fc616e1822162719ec02ac5108301b86bca8.tar.bz2 mocca-3670fc616e1822162719ec02ac5108301b86bca8.zip |
Update for SuisseID Card
Accept most characters from a german keyboard as PIN
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@953 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/main/java')
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java b/smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java index 6dcf9184..bce9153c 100644 --- a/smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java +++ b/smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java @@ -33,7 +33,6 @@ import java.io.IOException; import java.io.InputStream; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; -import javax.smartcardio.ATR; import javax.smartcardio.CardChannel; import javax.smartcardio.CardException; @@ -84,7 +83,7 @@ public class SuisseIDCard extends AbstractSignatureCard implements SignatureCard atr[18] == 'g' && atr[19] == 'n') { name = "SwissSign SuisseID"; - pinInfo = new PinInfo(5, 12, "[0-9]", + pinInfo = new PinInfo(5, 12, "[0-9a-zA-Z^°!\"§$%&/()=?`´{}\\[\\]äöüÄÖÜß+*~#',;\\.:\\-_@<>|]", //"[\\p{Print}]" "at/gv/egiz/smcc/SwissSignIDCard", "pin", KID, AID_SIG, PinInfo.UNKNOWN_RETRIES); } else { |