Examples of waitForCardPresent()


Examples of javax.smartcardio.CardTerminal.waitForCardPresent()

          terminal = list.get(0);
        }
        HBCIUtils.log("using card terminal " + terminal.getName(),HBCIUtils.LOG_DEBUG);

        // wait for card
        if (!terminal.waitForCardPresent(60 * 1000L))
          throw new HBCI_Exception("Keine Chipkarte in Kartenleser " + terminal.getName() + " gefunden");

        // Hier kann man gemaess
        // http://download.oracle.com/javase/6/docs/jre/api/security/smartcardio/spec/javax/smartcardio/CardTerminal.html#connect%28java.lang.String%29
        // auch "T=0" oder "T=1" angeben. Wir wissen allerdings noch nicht, von welchem
View Full Code Here

Examples of javax.smartcardio.CardTerminal.waitForCardPresent()

                terminal = list.get(0);
            }
            HBCIUtils.log("using card terminal " + terminal.getName(), HBCIUtils.LOG_DEBUG);

            // wait for card
            if (!terminal.waitForCardPresent(60 * 1000L))
              throw new HBCI_Exception("Keine Chipkarte in Kartenleser " + terminal.getName() + " gefunden");

            this.smartCard = terminal.connect("T=1");
           
            this.cardService = new RSACardService();
View Full Code Here

Examples of javax.smartcardio.CardTerminal.waitForCardPresent()

            System.out.println("present: " + terminal.isCardPresent());

            //seviceTest();

            // establish a connection with the card
            if(!terminal.waitForCardPresent(500)) {
                System.out.println("no card inserted");
                return;
            }
            Card card = terminal.connect("*");
          
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.