How to use javacardx.apdu.ExtendedLength

Hi,I want to know how to use javacardx.apdu.ExtendedLength, any sample code or example on that?
[116 byte] By [m.rafiqa] at [2007-10-3 1:23:32]
# 1

I think the JavaDoc description makes it quite clear how to use the Extended length interface.

From the JavaCard API spec JavaDoc:

"The ExtendedLength interface serves as a tagging interface to indicate that the applet supports extended length APDU. If this interface is implemented by the applet instance, the applet may receive and send up to 32767 bytes of APDU data.

The APDU command header in the APDU buffer will use the variable length header defined in ISO7816-4 with a 3 byte Lc value when the Lc field in the incoming APDU header is 3 bytes long. The incoming data in that case will begin at APDU buffer offset 7."

Jan

JPJavaa at 2007-7-14 18:20:48 > top of Java-index,Java Mobility Forums,Consumer and Commerce...