摘要 |
PURPOSE: A device and method for conducting electronic transactions using a SAM card directly processing electronic transaction details are provided to enable the easy implementation of terminal software by processing information for electronic transactions in a SAM card. CONSTITUTION: A method for conducting electronic transactions using a SAM card directly managing electronic transaction details is as follows. It is determined whether a transmitted data unit is a data unit containing transaction detail information for electronic transactions (710). An operation command for a SAM card is generated based on the determined results and the data unit transferred by a push command (720). The transaction detail information is processed according to the operation command (730), and the data unit containing the processed transaction detail information is generated (740). [Reference numerals] (710) Determine a command; (730) Execute the command; (AA) Transmit ATR; (BB) Receive the command; (CC) Start command; (DD) Push command; (EE) Random-number generation; (FF) APDU for initializing a card; (GG) Verify MAC with a PROJECT APDU structure; (HH) Decode encoded data; (II) Verify a TLV structure and extract the command; (JJ) Extract the next command APDU; (KK) Restructure the APDU to the TLV structure; (LL) Encode TLV data; (MM) Restructure to a structure for MAC generation; (NN) Generate MAC to the whole data; (OO) Transmit the command |