PC as Smart Card Terminal |
|
||||
[
|
last modified: 3. Dec. 2006 |
||||
Content |
||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
Examples for Java on PC |
||||||||||||||||||||||||||||||
|
The following paragraphs contains a set of source text examples for Java on PCs and in connection with smart cards. NOTE: The execution of one of the following source texts can kill your smart card under some circumstances. I don't take over any responsibility for the execution of one of the following source texts. Therefore the serious-common advice: in the case of doubt only have a look at the source code and use for all experiments with smart cards only trial worthless test cards. The technical background why one with the execution one of the following source texts the smart card to make useless can is multilayered. Some of the following programs start a PIN verification as the first to get some files access rights. If one has now forgotten those PINs in the source code accordingly too change, then depending upon application of smart cards of the error counter the PIN ran off after three program executions. When other deterring example in this connection could for example the command scanner depending upon operating system a not documented instruction of the smart card calls, which the deletion of the entire EEPROM of the smart card has as a consequence (DELETES COMPLETION). So improbably this sounds, it to me already twice passed, however with worthless test cards. |
||||||||||||||||||||||||||||||
Simple Applet
Data transmission by means of OCF and PC/SC to a smart card
File read and write with OCF
File Searcher
Command Searcher
Reading random numbers from a smart card
Reading abbreviated dialling numbers and short messages from a SIM
Controlling a mobile phone from a PC Java applet (SMS Transceiver)
EEPROM Life Time Test
|
||||||||||||||||||||||||||||||