1 Reply Latest reply: Mar 8, 2012 6:15 AM by 801926 RSS

    Javacard 3.0 compatibility

    917095
      Hi,


      I would like to insert 256-bit EC keys over prime fields (Fp) on a JCOP. I saw 2 versions of the Keybuilder:

      http://www.win.tue.nl/pinpasjc/docs/apis/jc222/javacard/security/KeyBuilder.html#buildKey%28byte,%20short,%20boolean%29

      and

      http://javacard.kenai.com/javadocs/connected/javacard/security/KeyBuilder.html

      The first one is clearly Java Card 2.2.2. The second one I think is Java Card 3.0. Am I right?

      The thing is that I need the second version to be able to work with 256-bit keys.


      Knowing this, are there JCOP which are Java Card 3.0 compatible? I read Java Card 3.0 maintains backwards compatibility with Java Card 2.2.2. Does this mean the JCOP which are Java Card 2.2.2 compatible are also Java Card 3.0 compatible?


      Thanks
      Guillaume
        • 1. Re: Javacard 3.0 compatibility
          801926
          The latest released JCOP version is v2.4.2 R1, supporting JC 3.0.1 classic. But it was released some weeks ago so I doubt you can get your hands on yet. With JCOP v2.4.1 R3 the 256 bit key is also possible (as mentioned in previous post). Instead of the constant you just use the short primitive for the length: (short)256.

          Cheers
          Alex