Site Tools

Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcre:9.4.4_extended_length_apdu_specifics

9.4.4 Extended Length APDU Specifics

The card may support extended length APDU exchanges with the CAD as described in the ISO 7816-3 Specification. If the implementation does not support extended length APDU formats and an APDU with extended length is received by the card or an APDU with extended length value greater than 32767 is requested, the Java Card RE shall respond to the CAD with the error response status SW_WRONG_LENGTH.

If the implementation supports extended length APDU formats, extended length semantics shall be enabled at the APDU class methods only if the currently selected applet implements the javacardx.apdu.ExtendedLength interface. If an APDU is received by the card that requires extended length semantics at the APDU class methods, but the currently selected applet does not the implement the tagging interface, the Java Card RE shall respond to the CAD with the error response status SW_WRONG_LENGTH.

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