From: Thomas W. <tho...@ia...> - 2007-02-07 11:46:01
|
Hi, > There are good APIs for Java PGP but all of these APIs > use the key structure of the java.security. Therefore > I should change the TcIRsaKey to java.security > objects. Are there any resources or samples about this > subject? Have a look at the jUnit tests included with jTSS. What you need is demonstrated as part of the TestIdentityCreation and - maybe easier to find - in TestKeys in the method testVerifySigningKey. There a TPM key (TcIRsaKey) is converted into a Java (RSA)PublicKey. hth, Thomas |