I create an an ISO 7816-4 case 3 APDU command as an ExtendendeCommandAPDU
object:

command = new
ExtendedCommandAPDU(APDUBuffer[0],APDUBuffer[1],APDUBuffer[2],APDUBuffer[3],
DataBuffer,LEBuffer[0]);

Then i send this command to the card but is thrown this exception:





opencard.core.terminal.CardTerminalException:

opencard.opt.terminal.protocol.T1IOException: block too long - chaining is
not supported!

at
opencard.opt.util.PassThruCardService.sendCommandAPDU(PassThruCardService.ja
va:150)

at it.ssb.intesi.pkcs11PCSC.pkcs11PCSC.Transmit(pkcs11PCSC.java:551)

at
it.ssb.intesi.pkcs11PCSC.pkcs11PCSCa.C_CreateObject(pkcs11PCSCa.java:1096)

at it.ssb.intesi.pkcs11PCSC.pkcs11PCSCa.main(pkcs11PCSCa.java:1739)






The DataBuffer length is 255 byte. If DataBuffer is too long, which is the
maximum length of DataBuffer?

If the DataBuffer length is correct, how can i risolve this problem?

I work with Gemplus GCR4190 reader.

Thanks

Alessandro Matti



---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to