1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package org.sufficientlysecure.keychain.smartcard; import java.io.IOException; public interface Transport { byte[] sendAndReceive(byte[] data) throws IOException; void release(); boolean isConnected(); boolean allowPersistentConnection(); void connect() throws IOException; }