Site Tools


Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcre:8.4.2_invoke_command

8.4.2 INVOKE Command

TABLE 8-2 lists the format required for the Invoke command for a remote method invocation request.

Field

Value

Description

CLA

%b1000 yycc or

%b1010 yycc or

%b11y0 dddd

The cc in bits (b2,b1) denotes the origin logical channel number in the range 1-3. The yy in bits (b4,b3) of the type 4 formats denote secure messaging.

The dddd in bits (b4-b1) denote the origin logical channel number in the range 4-19 using 0 origin notation. The y in bit b6 of the type 16 format denotes secure messaging.

See TABLE 4-2 for CLA field encoding formats.

INS

value of invoke_ins

invoke_ins returned in the previous select_response

P1

02

RMI major version #

P2

02

RMI minor version #

Data

As described below

As described below

Following is the structure of the data part of the request command:

The object_id is the remote object identifier of the object whose remote method is to be invoked. The method to be invoked is specified by the method_id item, and each parameter is specified by a param structure.

The response format uses the return_response structure as described in Section 8.3.5, Return Value Encoding.

javacard/jcre/8.4.2_invoke_command.txt · Last modified: 2017/05/13 04:06 (external edit)