Package uk.co.nimp.scard

Examples of uk.co.nimp.scard.NimpPcScTerminalManager


        }else*/
        apdu.setResponse(responseBytes);
    }

    public static void main(String[] args) throws ScardException, IOException, CardNotPresentException, Exception {
        NimpPcScTerminalManager manager = new NimpPcScTerminalManager();
        manager.loadConfiguration(Main.getDefaultConfFolder(), "PcScTest");

        List<GenericTerminal> terminals = manager.list();
        if (0 == terminals.size()) {
            System.out.println("PcSc terminal not detected.");
            return;
        }
        GenericTerminal terminal = terminals.get(0);
View Full Code Here

TOP

Related Classes of uk.co.nimp.scard.NimpPcScTerminalManager

Copyright © 2018 www.massapicom. 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.