Patent ID: 7076800

Claim:
An IC card terminal unit comprising: communication means for communicating data between two IC cards; first key setting means for storing a plurality of second keys for encoding or decoding a first key in the two IC cards respectively by transmitting a key setting instruction to which the plurality of second keys are added to the two IC cards through the communication means; confirmation means for confirming whether setting of the second key by the first key setting means properly ends; key generation means for generating the first key for encoding or decoding data in the former IC card by transmitting a key generation instruction to one of the two IC cards through the communication means when it is confirmed by the confirmation means that setting of the second key properly ends; key takeout means for taking out the first key generated in the former IC card generating the first key by the key generation means through the communication means by transmitting a key takeout instruction to the former IC card through the communication means, the generated first key being encoded by said plurality of second keys in the former IC card; and second key setting means for storing the first key in the latter IC card, the first key being decoded by said plurality of second keys, by transmitting an encoding-key setting instruction to which the encoded first key taken out of the former IC card by the key takeout means is added to the latter IC card of the two IC cards.