0 Replies Latest reply: Jul 9, 2014 10:36 AM by 752c1b06-26db-4485-acb3-1c9b77bc1d38 RSS

    Reading CAP class component

    752c1b06-26db-4485-acb3-1c9b77bc1d38

      I have been trying to make sense of the CAP file structure using this Hello World example: Java Card “Hello World” Applet | Java Card

       

      The class component of its CAP file is given as:

      06 00 0c 00 80 03 00 ff 00 07 01 00 00 00 1c

       

      From the JCVM specification, 06 is the tag and 00 0c gives the size.

       

      How can the signature_pool_length be 00 80 = 128 when there clearly aren't enough bytes in the component?

       

      Thank you.