A Java Card CAP converter in PVS

Abstract The Java Card language is a trimmed down dialect of Java aimed at programming smart cards. Java Card specifies its own class file format (the Java Card Converted APplet (CAP) format) that is optimised with respect to the limited space resources of smart cards. This paper deals with the certified development of algorithms necessary for the conversion of ordinary Java class files into the CAP format. More precisely, these algorithms are concerned with constructing and compressing method tables and constant pools. The main contribution of this paper is to specify and prove the correctness of these algorithms using the theorem prover PVS.

[1]  Frank Yellin,et al.  The Java Virtual Machine Specification , 1996 .

[2]  Natarajan Shankar,et al.  PVS: A Prototype Verification System , 1992, CADE.

[3]  Ewen Denney,et al.  Correctness of Java card method lookup via logical relations , 2002, Theor. Comput. Sci..

[4]  Ewen Denney The synthesis of a Java card tokenisation algorithm , 2001, Proceedings 16th Annual International Conference on Automated Software Engineering (ASE 2001).