Site Tools

Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcre:9.4.2.2_regular_output_transfers

9.4.2.2 Regular Output Transfers

When the no chaining mode of output transfer is not requested by the applet (meaning, the setOutgoing method is used) any ISO/IEC 7816-3/4 compliant T=1 protocol transfer sequence may be used.

Note - The waitExtension method may be invoked by the applet at any time. The waitExtension method shall send an S-block command with WTX request of INF units, which is equivalent to a request of 1 additional work waiting time in T=0 mode. See ISO/IEC 7816-3:2004.

Chain Abortion by the CAD

If the CAD aborts a chained outbound transfer using an S-block ABORT request (see ISO/IEC 7816-3:2004), the sendBytes or sendBytesLong method shall throw an APDUException with reason code T1_IFD_ABORT.

Calls to sendBytes or sendBytesLong methods from this point on shall result in an APDUException with reason code ILLEGAL_USE. If an ISOException is thrown by the applet after the T1_IFD_ABORT exception is thrown, the Java Card RE shall discard the response status in its reason code. The Java Card RE shall restart APDU processing with the newly received command, and resume APDU dispatching.

javacard/jcre/9.4.2.2_regular_output_transfers.txt · Last modified: 2017/05/13 04:07 (external edit)