|
From: Till B. <ti...@on...> - 2007-07-22 16:09:31
|
Hello,
I create a new key with the following code based on the examples:
--
TcIRsaKey signingKey = context.createRsaKeyObject(
TcTssConstants.TSS_KEY_SIZE_2048 | TcTssConstants.TSS_KEY_TYPE_SIGNING
| TcTssConstants.TSS_KEY_MIGRATABLE);
keyUsagePolicy.assignToObject(signingKey);
keyMigrationPolicy.assignToObject(signingKey);
signingKey.createKey(srk, null);
signingKey.loadKey(srk);
--
This seems to work. But how can I make this key to appear in the list of
loaded keys of my TPM. Also this key always has the Uuid
00000000-0000-0000-0000-000000000000. Is that correct? It seems somehow
strange...
--
MfG
Till
**********************************************
Der Benutzer ist eine nicht zu
tolerierende Quelle der Unsicherheit
**********************************************
|