UPDATED (07/01/08): Fixed compilation bugs. UPDATED (20/12/11): Fixed the “public” thing. In this first installment, we will focus on the data structure that will contain the sensitive data, as well as the identifiers. We’ll first look at the basic design, and then we’ll consider the implementation.
Category Archives: Tutorial
JC101-3C: A real application
The previous application, the counter, is interesting because we can make it evolve into some kind of an electronic purse, i.e., a real-life application. This is very nice, but the problem with this kind of real-life application (a payment application) is rather useless if you are not (at least) a bank. I therefore decide to […]
JC101-2C: A simple counter (for smart card developers)
UPDATED (05/05/07): Fixed some bugs in the code. UPDATED (22/12/11): Fixed more bugs in the code. The Hello World program is a first program, but it doesn’t do anything interesting. The next step is to have a program that actually does something simple. We will here manage a simple counter with the following operations: Get […]
JC101-1c: Hello World (for smart card developers)
UPDATED (04/05/07): Fixed some bugs, added reference to source code and CAP file Java Card is intended for smart cards. The Java language has been adapted to smart cards, keeping only the most important things for smart card applications. Since the char type and the String class have not been deemed useful for smart cards, […]
JC101-1j: Hello World (for Java developers)
UPDATED (03/10/08): Fixed some more bugs … UPDATED (05/05/07): Fixed some bugs; added a few explanations. “Hello world” seems easy in most languages, but there are several reasons that make it cumbersome to write in Java Card. First, Java Card only supports a subset of the Java language, and this subset includes neither the char […]
Java Card tutorial
I have hesitated a bit about this: is there room for another Java Card tutorial? I looked on Internet, and I found a few interesting things. However, I still have the feeling that there is room for a tutorial that, without giving away trade secrets and other cryptographer tricks, would focus a bit more on […]