Reputation: 890
While trying to personalize a card whith a DGI of 256 bytes (including DGI label), tried to split DGI in 2 STORE DATA commands but receive the following error:
Exception in thread "main" javax.smartcardio.CardException: sun.security.smartcardio.PCSCException: Unknown error 0x8010002f
at java.smartcardio/sun.security.smartcardio.ChannelImpl.doTransmit(ChannelImpl.java:225)
at java.smartcardio/sun.security.smartcardio.ChannelImpl.transmit(ChannelImpl.java:89)
APDU sent is as follows:
80 E2 08 00 FF 0201FE7081FB9081F8 ... and 246 bytes more to complete 255 bytes of the first STORE command.
Also tried with P1 as 00 with the same results , and also tried with smaller message (100 or 200 bytes) with the same results.
I'm using a PC/SC terminal Identiv uTrust 4701 reader on windows 10.
The program works fine for dgi that fit into 1 message.
My card does not support extended APDU :(.
Any suggestion? Thanks
Upvotes: 0
Views: 589