Skip to main content

Towards a Full Formal Specification of the JavaCard API

  • Conference paper
  • First Online:
Smart Card Programming and Security (E-smart 2001)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2140))

Included in the following conference series:

Abstract

This paper reports on ongoing work to develop a formal specification of the JavaCard API using the specification language JML. It discusses the specification of the JCSystem class, which deals with the JavaCard firewall, (atomic) transactions and transient objects. The JCSystem class seems to be the hardest class in the API to specify, and it is closely connected with some of the peculiarities of JavaCard as opposed to Java.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. J. van den Berg and B. Jacobs. The LOOP compiler for Java and JML. In T. Margaria and W. Yi, editors, Tools ans Algorithms for the Construction and Analysis of Software (TACAS), number 2031 in LNCS, pages 299–312. Springer, Berlin, 2001.

    Chapter  Google Scholar 

  2. J. van den Berg, B. Jacobs, and E. Poll. Formal Specification and Verification of JavaCard’s Application Identifier Class. In I. Attali and T. Jensen, editors, Proceeding of the first JavaCard Workshop (JCW’2000), LNCS. Springer Verlag, 2001. To appear.

    Google Scholar 

  3. P. H. Hartel, M. J. Butler, E. de Jong, and M. Longley. Transacted memory for smart cards. In 10th Formal Methods for Increasing Software Productivity (FME), LNCS. Springer Verlag, 2001.

    Google Scholar 

  4. P. H. Hartel and L. A. V. Moreau. Formalizing the safety of Java, the Java virtual machine and Java Card. ACM Computing Surveys, 2001. to appear.

    Google Scholar 

  5. The Java Card 2.1.1 Application Programming Interface (API). Sun Microsystems, 2000.

    Google Scholar 

  6. The Java Card 2.1.1 Runtime Environment (JCRE) Specification. Sun Microsystems, 2000.

    Google Scholar 

  7. The Java Card 2.1.1 Virtual Machine (JCVM) Specification. Sun Microsystems, 2000.

    Google Scholar 

  8. G. T. Leavens, A. L. Baker, and C. Ruby. JML: A notation for detailed design. In H. Kilov and B. Rumpe, editors, Behavioral Specifications of Business and Systems, pages 175–188. Kluwer, 1999.

    Google Scholar 

  9. G. T. Leavens, A. L. Baker, and C. Ruby. Preliminary design of JML: A behavioral interface specification language for Java. Techn. Rep. 98-06, Dep. of Comp. Sci., Iowa State Univ. (http://www.cs.iastate.edu/~leavens/JML.html), 1999.

  10. B. Meyer. Object-Oriented Software Construction. Prentice Hall, 2 nd rev. edition, 1997.

    Google Scholar 

  11. Stéphanie Motré. Formal model and implementation of the Java Card dynamic security policy. Technical Report SM-99-09, Gemplus Research Lab, 1999. Presented at AFADL’2000.

    Google Scholar 

  12. Marcus Oestreicher. Transactions in Java Card. In 15th Annual Computer Security Applications Conference (ACSAC’99), pages 291–298. IEEE, 1999.

    Google Scholar 

  13. E. Poll, J. van den Berg, and B. Jacobs. Specification of the JavaCard API in JML. In J. Domingo-Ferrer, D. Chan, and A. Watson, editors, Fourth Smart Card Research and Advanced Application Conference (CARDIS’2000), pages 135–154. Kluwer Acad. Publ., 2000.

    Google Scholar 

  14. E. Poll, J. van den Berg, and B. Jacobs. Formal Specification of the JavaCard API in JML: The APDU class. Computer Networks, 2001. To appear.

    Google Scholar 

  15. Denis Sabatier and Pierre Lartigue. The use of the B formal method for the design and the validation of the transaction mechanism for smart card applications. Formal Method in System Design, 17(3):145–272, 2000. Special issue on FM’99.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Meijer, H., Poll, E. (2001). Towards a Full Formal Specification of the JavaCard API. In: Attali, I., Jensen, T. (eds) Smart Card Programming and Security. E-smart 2001. Lecture Notes in Computer Science, vol 2140. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45418-7_14

Download citation

  • DOI: https://doi.org/10.1007/3-540-45418-7_14

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42610-3

  • Online ISBN: 978-3-540-45418-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics