From: Tiago L. <tia...@gm...> - 2007-08-08 19:20:35
|
Hi, I'm having difficulties do understand how do someone uses the wrapper on a java project. I was using the jTSS_0.1 on my project using eclipse IDE, and basically the only thing I did was adding both the "iaik_jtss_tcs.jar" and "iaik_jtss_tsp.jar" to my project referenced libraries. Everything compiled and the TPM emulator worked fine. I've created RSA keys and used them to bind and seal data, so the next step was to made those keys persistent, so they could be "saved" somewhere. Using the jTSS_0.1 I've found that some methods like "context.registerKey()" are NOT implemented on jTSS_0.1, but they are on the wrapper_0.3. So now I'm trying to work with this wrapper... I've compiled it and now I don't have a clue how to add this to my java project. I'm supposed to add the "iaik_jtss_tsp.jar" on the ext_libs folder, and the "iaik_jtss_wrapper.jar" on output/jar folder to my project? I have to make any alterations to my java code? On the documentation there is a reference saying that all interfaces remained the same, but I can't find any of them on these libraries..... :( Thanks for your help. Tiago Lopes |