Package uk.co.nimp.scard

Examples of uk.co.nimp.scard.PcScTerminalManager.loadConfiguration()


final static int SCARD_ATTR_DEVICE_SYSTEM_NAME  = 0x7FFF0006;
final static int SCARD_ATTR_ICC_PRESENCE  = 0x00090300;
final static int SCARD_ATTR_CHANNEL_ID = 0x00020110;
    public static void main(String[] args) throws ScardException, IOException, CardNotPresentException, Exception {
        PcScTerminalManager manager = new PcScTerminalManager();
        manager.loadConfiguration(Main.getDefaultConfFolder(), "PcScTest");

        List<GenericTerminal> terminals = manager.list();
        if (0 == terminals.size()) {
            System.out.println("PcSc terminal not detected.");
            return;
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.