Each programmable JavaCard has a pre-loaded applet called CardManager. This applet should be used to download and install new applets.
In most cases, your JavaCardβs SDK comes with libraries that encapsulate the necessary steps to select CardManager (including the necessary authentication), download and install the applet. It is based on the install and download commands defined in the GlobalPlatform standard.
The following steps / commands are described: Installing the AppleCard Applet in a real smart card . However, the specific authentication sequence (CardManager AID, authentication key used) for your card depends on what type of card you have.
source share