From: Simon M. <sim...@in...> - 2009-08-18 10:50:38
|
On 18 Aug 2009, at 11:46, Martin Pirker wrote: > Simon Mittelberger wrote: >> Does this mean my tpm doesnt support the whole funciton of loading an >> extern key to it? >> I did not find the right class or piece of code which has an >> example of >> that in it. > > There is one in jTssWrapper where public and private part is imported, > see directory src_tsp_tests, TestKeys.java, method testWrapKeys() > > jTSS and jTSSwrapper use the same top-level API, so this should > be portable - however I do not remember why this hasn't been ported > to the jTSS testsuite (yet?). On the key.wrapKey(parentKey, null); i get an TSS ERROR. TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x06 error code (full): 0x3006 error message: Not implemented. I also tried to load the key by context_.loadKeyByBlob(unwrappingKey, blob). But this needs a wrapping key. Is there another possibility to load an unwrapped key into the TPM? Regards, Simon |