|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Personalization
This interface defines a method through which an Application may forward input data to another Application and retrieve output data from that Application.
This interface shall be implemented by an Application that wishes to receive
personalization data forwarded by its associated Security Domain and request
outputting response data. In such a scenario, if the Application implements
both the Application
and the Personalization
interface, then
the Security Domain shall use the Personalization
interface.
Application
Method Summary | |
---|---|
short |
processData(byte[] inBuffer,
short inOffset,
short inLength,
byte[] outBuffer,
short outOffset)
Processes application specific data received from another on-card entity. |
Method Detail |
---|
short processData(byte[] inBuffer, short inOffset, short inLength, byte[] outBuffer, short outOffset)
If the Application invoking this method is a Security Domain then it shall be assumed that:
inBuffer
and outBuffer
byte arrays
are global byte arrays;
sOffset
parameter locates the class byte of the command and
the sLength
parameter indicates the length of the entire
command (i.e. header + data field).
outBuffer
.
ISOException
, then
the status word will be the reason code of that exception. Otherwise, a
status word of '6F00' will be returned.
Notes:
CLEAR_ON_DESELECT
during the processing of this method.
inBuffer
- byte array containing input data. Must be a global
byte array.inOffset
- offset of input data within inBuffer
.inLength
- length of input data.outBuffer
- byte array where output data shall be written. Must be a
global byte array.outOffset
- offset where output data shall be written within
inBuffer
.
outBuffer
.
java.lang.SecurityException
- if inBuffer
or
outBuffer
is not a global byte array.
java.lang.NullPointerException
- if inBuffer
or
outBuffer
is null
.
java.lang.ArrayIndexOutOfBoundsException
- if reading intput data or writing
output data would cause access of data outside array bounds.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |