From: Thomas W. <tho...@ia...> - 2007-03-05 06:35:56
|
Hello, > I am currently working on a project where I would like to build a > *simple* custom Java application and be able to use jTPM tools to ensure > that certain features/attributes/aspects etc of that custom application > are "Trustworthy" . The jTpmTools are designed as a set of command line tools not as a library to be used as part of an application. If you develop a TC application I'd suggest to use the jTssWrapper on its own. > What do I need to setup/do in order to be able to "interface/bridge" a > Java application with jTPMTools? 1) You need a TrouSerS TSS that is correctly set up. 2) The libtspiwrapper.so shared library. This lib contains the JNI glue code to interface the TSPI API of TrouSerS. This file has to be placed in your library path. 3) iaik_jtss_wrapper.jar and internal_jtss_wrapper.jar have to be linked to your Java project in NetBeans (however this is done there). > (i.e) Will I have to load jTSSWrapper's source code into NetBeans so > that my Java application and jTPMTools can work together? As I said previously, the jTpmTools are intended to be used as command line utilities. If you want to use the as a "library" you have to do steps 1 to 3 from above and additionally add iaik_jtpmtools.jar to your NetBeans dependencies. Regards, Thomas Winkler |