org.globalplatform
Interface Application

All Superinterfaces:
javacard.framework.Shareable

public interface Application
extends javacard.framework.Shareable

This defines the interface that represents an applet method accessible through the OPEN to the application's associated Security Domain. This interface must be implemented by the Applet class that will use the additional functionality allowing a Security Domain to pass data to the applet.


Method Summary
 void processData(byte[] baBuffer, short sOffset, short sLength)
          This method processes application specific data received from another entity on the card.
 

Method Detail

processData

public void processData(byte[] baBuffer,
                        short sOffset,
                        short sLength)
This method processes application specific data received from another entity on the card. If this other entity is the Application's associated Security Domain, this data is the APDU buffer.

Notes:

Parameters:
baBuffer - the source byte array containing the data expected by the applet. This buffer must be global.
sOffset - starting offset of data within source byte array.
sLength - length of data.


Copyright (c) 2004 GlobalPlatform Inc. All Rights Reserved. The technology provided or described herein is subject to updates, revisions, and extensions by GlobalPlatform. Use of this information is governed by the GlobalPlatform license agreement and any use inconsistent with that agreement is strictly prohibited.