Java and security bits

Tuesday Jul 18, 2006

Public Review of JSR 268 (Smart Card I/O)

The JCP Public Review draft of JSR 268 (Smart Card I/O API for Java SE) was posted on the JCP web site this evening. You can download the specification here.

There are a significant number of clarifications and a few API changes in this version compared to the JCP early draft last year, which is what is currently shipping as part of Sun's Mustang implementation. Probably the most significant API change is the introduction of a new CardTerminals class to support a simpler "wait for card insertion/removal" model. The full set of changes listed in the draft is:

  • Added ATR.getHistoricalBytes()
  • Described how implementations should open and close logical channels
  • Described how implementations should handle GET RESPONSE
  • Moved methods from TerminalFactory to a new CardTerminals class
  • Added CardTerminals.waitForChange() to replace TerminalFactory.waitForCardPresent()
  • Removed INS_* constants from CommandAPDU
  • Changed types from byte to int in CommandAPDU and ResponseAPDU (CLA, SW1, etc.)
  • Clarified that Properties should be used as configuration parameters if possible
  • Numerous Doc clarifications

As mentioned, the docs are available for review on the JCP web site now. The integration of these spec changes and corresponding updates to the SunPCSC provider implementation is scheduled for Mustang b95, which should be posted on the Mustang java.net site by August 11. If you have any comments about this draft, please send them to jsr-268-comments@jcp.org. This draft includes several changes in response to such earlier feedback.

Looking forward, the plan of the expert group is to discuss the remaining open issues and any additional feedback we receive so that we can move towards final release as part of Sun's JDK 6 implementation later this fall. At this point, I also want to express my thanks to all expert group members for their valuable comments, often under a tight schedule. Their insights have led to many improvements to the spec, which will benefit the entire Java community! Thanks!

Comments:

Post a Comment:
Comments are closed for this entry.

Calendar

Feeds

Links

Recent Posts

Referers