From: Sebastian L. <seb...@gm...> - 2011-01-24 15:12:20
|
Hi Thomas, > I'm not sure if jTSS has seen a re-design but I'd say that the TCS layer of > jTSS has been designed to work with one single TPM instance. If you have > multiple TPMs you most likely will end up with one TCS instance per TPM. You, > however, should be able to open connections to several different TCS (and hence > TPM) instances at the TSP level. > > If you really want to follow your approach of handling mutliple TPMs with one > single TCS, this likely will result in a (partial) rewrite of the jTSS TCS > layer. That's exactly what I want. I have one Java application (equals one TSP) running on one JVM and there I want to instantiate several TCS, each with one TDDL connection to one TPM. The problem is: How can I pass different configuration options to each TCS? I can create multiple contexts (connection between TSP and TCS) with TcIContext context0 = new TcTssContextFactory().newContextObject(); but when they accessing TcTcsProperties from inside (i.e. inside TDDL) they all will get the same property values because it is singleton. To summarize: I need a possibility to pass different values to each TCS (TDDL) instance. Regards, Sebastian. |