0

I have a fresh java card and two .cap file! one of them successfully installed on the card (and deleted successfully!) and the another one failed to upload and install. I put the output of "GPJ" in the below. what's wrong with the .cap file? and how I can fix it?

I made cap file with Eclipse and its source code is in this link. and this is output of 'gpj'

enter image description here

thank you.

Michael Roland
  • 39,663
  • 10
  • 99
  • 206
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113

1 Answers1

2

there is a wide range of possiblities for this error, as smartcard return codes are not vvery specific, my thoughts would be:

  • check for correct JavaCard Version(cap file must be compiled for the version supported by your card)
  • your code uses an api call that is nit supported by your card(its manufacturers decision which algorithms he supports or not)

try read Global Platform Specification for these detailed questions

Paul Bastian
  • 2,597
  • 11
  • 26