APDU(2)
-
Response APDU structure
Command APDU의 응답으로 Response APDU를 반환해야 한다. Response APDU는 아래와 같이 구성된다. Contents of Response APDU Code Length Description M/O Data Lr Response data string Optional SW1 1 Status byte 1 Mandatory SW2 1 Status byte 2 Mandatory SW1, SW2를 Status Word라 부르며, 다음과 같은 응답값을 가진다. Normal processing SW1 SW2 Description 90 00 - Normal ending of the command 91 XX - Normal ending of the command, with extra inform..
2011.09.28 -
Command APDU structure
Contents of command APDU Code Length Description Grouping CLA 1 Class of instruction Header INS 1 Instruction code P1 1 Instruction parameter 1 P2 1 Instruction parameter 2 Lc 0 or 1 Number of bytes in the command data field Body Data Lc Command data string Le 0 or 1 Maximum number of data bytes expected in response of the command 일반적으로 Command APDU는 위 표와 같이 구성된다. 특히 Header 부분은 mandatory이며, Body..
2011.09.28