Search in sources :

Example 11 with CardApplicationDisconnect

use of iso.std.iso_iec._24727.tech.schema.CardApplicationDisconnect in project open-ecard by ecsec.

the class TCTokenHandler method disconnectHandle.

public static void disconnectHandle(Dispatcher dispatcher, ConnectionHandleType connectionHandle) {
    // disconnect card after authentication
    CardApplicationDisconnect appDis = new CardApplicationDisconnect();
    appDis.setConnectionHandle(connectionHandle);
    appDis.setAction(ActionType.RESET);
    dispatcher.safeDeliver(appDis);
}
Also used : CardApplicationDisconnect(iso.std.iso_iec._24727.tech.schema.CardApplicationDisconnect)

Aggregations

CardApplicationDisconnect (iso.std.iso_iec._24727.tech.schema.CardApplicationDisconnect)9 ConnectionHandleType (iso.std.iso_iec._24727.tech.schema.ConnectionHandleType)8 CardApplicationConnect (iso.std.iso_iec._24727.tech.schema.CardApplicationConnect)5 CardApplicationConnectResponse (iso.std.iso_iec._24727.tech.schema.CardApplicationConnectResponse)5 CardApplicationDisconnectResponse (iso.std.iso_iec._24727.tech.schema.CardApplicationDisconnectResponse)5 CardApplicationPath (iso.std.iso_iec._24727.tech.schema.CardApplicationPath)5 CardApplicationPathResponse (iso.std.iso_iec._24727.tech.schema.CardApplicationPathResponse)5 CardApplicationPathType (iso.std.iso_iec._24727.tech.schema.CardApplicationPathType)5 Disconnect (iso.std.iso_iec._24727.tech.schema.Disconnect)3 DisconnectResponse (iso.std.iso_iec._24727.tech.schema.DisconnectResponse)3 IOException (java.io.IOException)3 ThreadTerminateException (org.openecard.common.ThreadTerminateException)3 BeginTransaction (iso.std.iso_iec._24727.tech.schema.BeginTransaction)2 BeginTransactionResponse (iso.std.iso_iec._24727.tech.schema.BeginTransactionResponse)2 ChannelHandleType (iso.std.iso_iec._24727.tech.schema.ChannelHandleType)2 Connect (iso.std.iso_iec._24727.tech.schema.Connect)2 ConnectResponse (iso.std.iso_iec._24727.tech.schema.ConnectResponse)2 DIDAuthenticate (iso.std.iso_iec._24727.tech.schema.DIDAuthenticate)2 DIDAuthenticateResponse (iso.std.iso_iec._24727.tech.schema.DIDAuthenticateResponse)2 DestroyChannel (iso.std.iso_iec._24727.tech.schema.DestroyChannel)2