From 3670fc616e1822162719ec02ac5108301b86bca8 Mon Sep 17 00:00:00 2001 From: tkellner Date: Fri, 12 Aug 2011 14:09:00 +0000 Subject: 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 --- smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'smcc/src/main/java') 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 { -- cgit v1.2.3