Logical Channel(2)
-
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 -
Logical Channel
UICC(USIM)가 단말기와 통신을 하기 위해서 사용되는 Logical Channel이라는 것이 있다. 기본적으로 Logical Channel은 4개(0~3번)가 제공이 된다. Logical Channel이 4개라는 것은 동시에 4개의 단말기 어플들이 USIM과 통신을 할 수 있다는 의미를 가진다. 이중 0번은 Basic Channel이라고 명칭하며, USIM(UICC) Applet과 통신을 한다. 또한 Logical Channel을 모두 사용을 하고 있다면 5번째 어플은 USIM과 통신을 할 수 없다. 즉, 단말기 어플들은 반드시 USIM과 통신을 할 때 Channel을 Open하고 사용이 끝나면 반드시 Close하도록 프로그래밍이 되어야 한다. 추가적으로 USIM에는 EF_DIR(MF 하위에 존재)..
2011.09.16