# Install on NXP JCOP 4.1 card, static keys

mode_211 
enable_trace
establish_context
card_connect
select -AID a000000003000000

open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel

delete -AID ${jc.applet.AID_GPShell}
delete -AID ${jc.package.AID_GPShell}

install -file ${build.classes.dir}/${jc.package.path}/javacard/${jc.package.shortName}.cap -sdAID a000000003000000 -nvCodeLimit 4000 -priv 0

# test selection
select -AID ${jc.applet.AID_GPShell}

card_disconnect
release_context

