Port of the 'coolkey' java applet to the GlobalPlatform API.