# Install & configure script for Gemalto TOP IM GX4, mother key

mode_201
gemXpressoPro
enable_trace
establish_context
card_connect

select -AID A000000018434D00
open_sc -security 3 -keyind 0 -keyver 0 -key 47454d5850524553534f53414d504c45

delete -AID 53696d706c65504b4901
delete -AID 53696d706c65504b49

install -file build/classes/SimplePKI/javacard/SimplePKI.cap -sdAID A000000018434D00 -nvCodeLimit 4000 -priv 0

# test selection
select -AID 53696d706c65504b4901

card_disconnect
release_context

