Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

use import com.oracle.javacard.ams.AMSession to install for personalisation

John NeesonJul 17 2025


// Application Management session used to deploy CAPFile
AMSession deploy = ams.openSession(isdAID)                // select SD & open secure channel
.load(sAID_CAP, appFile.getBytes())                       // load an application file
.install(sAID_CAP, sAID_AppletClass, sAID_AppletInstance) // install application
.close();

Hello All.

I want to modify the above code fragment so that it does Install for personalisation. I know that install has additional parameter for installation parameters. However, I can find any documentation about how this is formatted. Anyone know where this information is located?

Thanks.

Comments
Post Details
Added on Jul 17 2025
2 comments
63 views