Category Archives: API

Topics about the Java Card API, and in particular about its use in actual programs.

Should we deprecate DESKey.getKey() ?

The DESKey.getKey(byte[], short) method definitely is one of the most controversial methods of the Java Card 2.1 API. This method is quite simple; as stated in its description, it “Returns the Key data in plain text”. This definition is of course a nightmare for smart card security people: not only does it access the value […]